Class ParticleShader.Config
- java.lang.Object
-
- com.badlogic.gdx.graphics.g3d.particles.ParticleShader.Config
-
- Enclosing class:
- ParticleShader
public static class ParticleShader.Config extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description ParticleShader.AlignModealignintdefaultCullFaceSet to 0 to disable cullingintdefaultDepthFuncSet to 0 to disable depth testjava.lang.StringfragmentShaderThe uber fragment shader to use, null to use the default fragment shader.booleanignoreUnimplementedParticleShader.ParticleTypetypejava.lang.StringvertexShaderThe uber vertex shader to use, null to use the default vertex shader.
-
Constructor Summary
Constructors Constructor Description Config()Config(ParticleShader.AlignMode align)Config(ParticleShader.AlignMode align, ParticleShader.ParticleType type)Config(ParticleShader.ParticleType type)Config(java.lang.String vertexShader, java.lang.String fragmentShader)
-
-
-
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.
-
ignoreUnimplemented
public boolean ignoreUnimplemented
-
defaultCullFace
public int defaultCullFace
Set to 0 to disable culling
-
defaultDepthFunc
public int defaultDepthFunc
Set to 0 to disable depth test
-
align
public ParticleShader.AlignMode align
-
type
public ParticleShader.ParticleType type
-
-
Constructor Detail
-
Config
public Config()
-
Config
public Config(ParticleShader.AlignMode align, ParticleShader.ParticleType type)
-
Config
public Config(ParticleShader.AlignMode align)
-
Config
public Config(ParticleShader.ParticleType type)
-
Config
public Config(java.lang.String vertexShader, java.lang.String fragmentShader)
-
-