Class DefaultShader.Config
- java.lang.Object
-
- com.badlogic.gdx.graphics.g3d.shaders.DefaultShader.Config
-
- Direct Known Subclasses:
DepthShader.Config
- Enclosing class:
- DefaultShader
public static class DefaultShader.Config extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description intdefaultCullFaceSet to 0 to disable culling, -1 to inherit fromDefaultShader.defaultCullFaceintdefaultDepthFuncSet to 0 to disable depth test, -1 to inherit fromDefaultShader.defaultDepthFuncjava.lang.StringfragmentShaderThe uber fragment shader to use, null to use the default fragment shader.booleanignoreUnimplementedintnumBonesThe number of bones to useintnumBoneWeightsThe number of bone weights to use (up to 8 with default vertex shader), default is 4.intnumDirectionalLightsThe number of directional lights to useintnumPointLightsThe number of point lights to useintnumSpotLightsThe number of spot lights to usejava.lang.StringvertexShaderThe uber vertex shader to use, null to use the default vertex shader.
-
-
-
Field Detail
-
vertexShader
public java.lang.String vertexShader
The uber vertex shader to use, null to use the default vertex shader.
-
fragmentShader
public java.lang.String fragmentShader
The uber fragment shader to use, null to use the default fragment shader.
-
numDirectionalLights
public int numDirectionalLights
The number of directional lights to use
-
numPointLights
public int numPointLights
The number of point lights to use
-
numSpotLights
public int numSpotLights
The number of spot lights to use
-
numBones
public int numBones
The number of bones to use
-
numBoneWeights
public int numBoneWeights
The number of bone weights to use (up to 8 with default vertex shader), default is 4.
-
ignoreUnimplemented
public boolean ignoreUnimplemented
-
defaultCullFace
public int defaultCullFace
Set to 0 to disable culling, -1 to inherit fromDefaultShader.defaultCullFace
-
defaultDepthFunc
public int defaultDepthFunc
Set to 0 to disable depth test, -1 to inherit fromDefaultShader.defaultDepthFunc
-
-