Package com.jme3.shader
Enum Class UniformBinding
- All Implemented Interfaces:
Serializable
,Comparable<UniformBinding>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAmbient light color Type: vec4Aspect ratio of the resolution currently set.Direction of the camera.Left vector of the camera.Camera position in world space.Up vector of the camera.Frames per second.The near and far values for the camera frustum.The light color when rendering in multi pass mode Type: vec4The light direction when rendering in multi pass mode Type: vec4The light position when rendering in multi pass mode Type: vec4The normal matrix.The projection matrix.The width and height of the camera.The inverse of the resolution, 1/width and 1/height.Time in seconds since the application was started.Time in seconds that the last frame took.The view matrix.Contains the four viewport parameters in this order: X = Left, Y = Top, Z = Right, W = Bottom.The view projection matrix.The world matrix.The world matrix inverse transpose.The normal matrix in world space for World space lighting.The world view matrix.The world view projection matrix. -
Method Summary
Modifier and TypeMethodDescriptionstatic UniformBinding
Returns the enum constant of this class with the specified name.static UniformBinding[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WorldMatrix
The world matrix. Converts Model space to World space. Type: mat4 -
ViewMatrix
The view matrix. Converts World space to View space. Type: mat4 -
ProjectionMatrix
The projection matrix. Converts View space to Clip/Projection space. Type: mat4 -
WorldViewMatrix
The world view matrix. Converts Model space to View space. Type: mat4 -
NormalMatrix
The normal matrix. The inverse transpose of the worldview matrix. Converts normals from model space to view space. Type: mat3 -
WorldViewProjectionMatrix
The world view projection matrix. Converts Model space to Clip/Projection space. Type: mat4 -
ViewProjectionMatrix
The view projection matrix. Converts World space to Clip/Projection space. Type: mat4 -
WorldMatrixInverseTranspose
The world matrix inverse transpose. Converts a normals from Model space to world space. Type: mat3 -
WorldMatrixInverse
-
ViewMatrixInverse
-
ProjectionMatrixInverse
-
ViewProjectionMatrixInverse
-
WorldViewMatrixInverse
-
NormalMatrixInverse
-
WorldViewProjectionMatrixInverse
-
ViewPort
Contains the four viewport parameters in this order: X = Left, Y = Top, Z = Right, W = Bottom. Type: vec4 -
FrustumNearFar
The near and far values for the camera frustum. X = Near Y = Far. Type: vec2 -
Resolution
The width and height of the camera. Type: vec2 -
ResolutionInverse
The inverse of the resolution, 1/width and 1/height. Type: vec2 -
Aspect
Aspect ratio of the resolution currently set. Width/Height. Type: float -
CameraPosition
Camera position in world space. Type: vec3 -
CameraDirection
Direction of the camera. Type: vec3 -
CameraLeft
Left vector of the camera. Type: vec3 -
CameraUp
Up vector of the camera. Type: vec3 -
Time
Time in seconds since the application was started. Type: float -
Tpf
Time in seconds that the last frame took. Type: float -
FrameRate
Frames per second. Type: float -
LightDirection
The light direction when rendering in multi pass mode Type: vec4 -
LightPosition
The light position when rendering in multi pass mode Type: vec4 -
AmbientLightColor
Ambient light color Type: vec4 -
LightColor
The light color when rendering in multi pass mode Type: vec4 -
WorldNormalMatrix
The normal matrix in world space for World space lighting. The inverse transpose of the world matrix. Converts normals from model space to world space. Type: mat3
-
-
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
-
getGlslType
-