Package gaiasky.util.gdx.shader
Class DefaultIntShader.Config
java.lang.Object
gaiasky.util.gdx.shader.DefaultIntShader.Config
- Direct Known Subclasses:
DepthIntShader.Config
,TessellationShaderProvider.Config
- Enclosing class:
- DefaultIntShader
-
Field Summary
Modifier and TypeFieldDescriptionint
Set to 0 to disable culling, -1 to inherit fromDefaultIntShader.defaultCullFace
int
Set to 0 to disable depth test, -1 to inherit fromDefaultIntShader.defaultDepthFunc
The uber fragment shader to use, null to use the default fragment shader.File with the fragment shader, if anyboolean
int
The number of bones to useint
The number of directional lights to useint
The number of point lights to useint
The number of spot lights to useThe uber vertex shader to use, null to use the default vertex shader.File with the vertex shader, if any -
Constructor Summary
-
Method Summary
-
Field Details
-
vertexShaderFile
File with the vertex shader, if any -
fragmentShaderFile
File with the fragment shader, if any -
vertexShaderCode
The uber vertex shader to use, null to use the default vertex shader. -
fragmentShaderCode
The uber fragment shader to use, null to use the default fragment shader. -
numDirectionalLights
public int numDirectionalLightsThe number of directional lights to use -
numPointLights
public int numPointLightsThe number of point lights to use -
numSpotLights
public int numSpotLightsThe number of spot lights to use -
numBones
public int numBonesThe number of bones to use -
ignoreUnimplemented
public boolean ignoreUnimplemented -
defaultCullFace
public int defaultCullFaceSet to 0 to disable culling, -1 to inherit fromDefaultIntShader.defaultCullFace
-
defaultDepthFunc
public int defaultDepthFuncSet to 0 to disable depth test, -1 to inherit fromDefaultIntShader.defaultDepthFunc
-
-
Constructor Details
-
Config
public Config() -
Config
-
Config
-