Package gaiasky.util.gdx.shader.provider
Class ShaderProgramProvider.ShaderProgramParameter
java.lang.Object
com.badlogic.gdx.assets.AssetLoaderParameters<ExtShaderProgram>
gaiasky.util.gdx.shader.provider.ShaderProgramProvider.ShaderProgramParameter
- Enclosing class:
- ShaderProgramProvider
public static class ShaderProgramProvider.ShaderProgramParameter
extends com.badlogic.gdx.assets.AssetLoaderParameters<ExtShaderProgram>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.badlogic.gdx.assets.AssetLoaderParameters
com.badlogic.gdx.assets.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.Name of the shader.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 com.badlogic.gdx.assets.AssetLoaderParameters
loadedCallback
-
Constructor Summary
-
Method Summary
-
Field Details
-
name
Name of the shader. Optional. -
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. ExtShaderProgram.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. ExtShaderProgram.prependFragmentCode is placed before this code.
-
-
Constructor Details
-
ShaderProgramParameter
public ShaderProgramParameter()
-