@Command(shortDescription = "Reloads a shader")
public String reloadShader(@CommandParam("shader") String shader) {
AssetUri uri = new AssetUri(AssetType.SHADER, shader);
ShaderData shaderData = CoreRegistry.get(AssetManager.class).loadAssetData(uri, ShaderData.class);
if (shaderData != null) {
CoreRegistry.get(AssetManager.class).generateAsset(uri, shaderData);
return "Success";
} else {
return "Unable to resolve shader '" + shader + "'";