Package arc.assets.loaders
Class ShaderProgramLoader.ShaderProgramParameter
java.lang.Object
arc.assets.AssetLoaderParameters<Shader>
arc.assets.loaders.ShaderProgramLoader.ShaderProgramParameter
- Enclosing class:
- ShaderProgramLoader
public static class ShaderProgramLoader.ShaderProgramParameter
extends AssetLoaderParameters<Shader>
-
Nested Class Summary
Nested classes/interfaces inherited from class arc.assets.AssetLoaderParameters
AssetLoaderParameters.LoadedCallback
-
Field Summary
Modifier and TypeFieldDescriptionFile name to be used for the fragment program instead of the default determined by the file name used to submit this asset to AssetManager.boolean
Whether to log (at the error level) the shader's log if it fails to compile.Code that is always added to the fragment shader code.Code that is always added to the vertex shader code.File name to be used for the vertex program instead of the default determined by the file name used to submit this asset to AssetManager.Fields inherited from class arc.assets.AssetLoaderParameters
loadedCallback
-
Constructor Summary
-
Method Summary
-
Field Details
-
vertexFile
File name to be used for the vertex program instead of the default determined by the file name used to submit this asset to AssetManager. -
fragmentFile
File name to be used for the fragment program instead of the default determined by the file name used to submit this asset to AssetManager. -
logOnCompileFailure
public boolean logOnCompileFailureWhether to log (at the error level) the shader's log if it fails to compile. Default true. -
prependVertexCode
Code that is always added to the vertex shader code. This is added as-is, and you should include a newline (`\n`) if needed. Shader.prependVertexCode is placed before this code. -
prependFragmentCode
Code that is always added to the fragment shader code. This is added as-is, and you should include a newline (`\n`) if needed. Shader.prependFragmentCode is placed before this code.
-
-
Constructor Details
-
ShaderProgramParameter
public ShaderProgramParameter()
-