Package com.jme3.shader
Enum Class Shader.ShaderType
- All Implemented Interfaces:
Serializable
,Comparable<Shader.ShaderType>
,Constable
- Enclosing class:
- Shader
Type of shader. The shader will control the pipeline of its type.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionControl fragment rasterization.Control geometry assembly.Controls tessellation factor (e.g.Controls tessellation transform (e.g.Control vertex processing. -
Method Summary
Modifier and TypeMethodDescriptionstatic Shader.ShaderType
Returns the enum constant of this class with the specified name.static Shader.ShaderType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Fragment
Control fragment rasterization. (e.g. color of pixel). -
Vertex
Control vertex processing. (e.g. transform of model to clip space) -
Geometry
Control geometry assembly. (e.g. compile a triangle list from input data) -
TessellationControl
Controls tessellation factor (e.g. how often an input patch should be subdivided) -
TessellationEvaluation
Controls tessellation transform (e.g. similar to the vertex shader, but required to mix inputs manual)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getExtension
-