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
public static class DefaultIntShader.Config
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description int
defaultCullFace
Set to 0 to disable culling, -1 to inherit fromDefaultIntShader.defaultCullFace
int
defaultDepthFunc
Set to 0 to disable depth test, -1 to inherit fromDefaultIntShader.defaultDepthFunc
java.lang.String
fragmentShaderCode
The uber fragment shader to use, null to use the default fragment shader.java.lang.String
fragmentShaderFile
File with the fragment shader, if anyboolean
ignoreUnimplemented
int
numBones
The number of bones to useint
numDirectionalLights
The number of directional lights to useint
numPointLights
The number of point lights to useint
numSpotLights
The number of spot lights to usejava.lang.String
vertexShaderCode
The uber vertex shader to use, null to use the default vertex shader.java.lang.String
vertexShaderFile
File with the vertex shader, if any -
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
vertexShaderFile
public java.lang.String vertexShaderFileFile with the vertex shader, if any -
fragmentShaderFile
public java.lang.String fragmentShaderFileFile with the fragment shader, if any -
vertexShaderCode
public java.lang.String vertexShaderCodeThe uber vertex shader to use, null to use the default vertex shader. -
fragmentShaderCode
public java.lang.String fragmentShaderCodeThe 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
public Config(java.lang.String vertexShaderFile, java.lang.String fragmentShaderFile, java.lang.String vertexShaderCode, java.lang.String fragmentShaderCode) -
Config
public Config(java.lang.String vertexShaderCode, java.lang.String fragmentShaderCode)
-