Enum Class UniformBinding

java.lang.Object
java.lang.Enum<UniformBinding>
com.jme3.shader.UniformBinding
All Implemented Interfaces:
Serializable, Comparable<UniformBinding>, Constable

public enum UniformBinding extends Enum<UniformBinding>
  • Enum Constant Details

    • WorldMatrix

      public static final UniformBinding WorldMatrix
      The world matrix. Converts Model space to World space. Type: mat4
    • ViewMatrix

      public static final UniformBinding ViewMatrix
      The view matrix. Converts World space to View space. Type: mat4
    • ProjectionMatrix

      public static final UniformBinding ProjectionMatrix
      The projection matrix. Converts View space to Clip/Projection space. Type: mat4
    • WorldViewMatrix

      public static final UniformBinding WorldViewMatrix
      The world view matrix. Converts Model space to View space. Type: mat4
    • NormalMatrix

      public static final UniformBinding NormalMatrix
      The normal matrix. The inverse transpose of the worldview matrix. Converts normals from model space to view space. Type: mat3
    • WorldViewProjectionMatrix

      public static final UniformBinding WorldViewProjectionMatrix
      The world view projection matrix. Converts Model space to Clip/Projection space. Type: mat4
    • ViewProjectionMatrix

      public static final UniformBinding ViewProjectionMatrix
      The view projection matrix. Converts World space to Clip/Projection space. Type: mat4
    • WorldMatrixInverseTranspose

      public static final UniformBinding WorldMatrixInverseTranspose
      The world matrix inverse transpose. Converts a normals from Model space to world space. Type: mat3
    • WorldMatrixInverse

      public static final UniformBinding WorldMatrixInverse
    • ViewMatrixInverse

      public static final UniformBinding ViewMatrixInverse
    • ProjectionMatrixInverse

      public static final UniformBinding ProjectionMatrixInverse
    • ViewProjectionMatrixInverse

      public static final UniformBinding ViewProjectionMatrixInverse
    • WorldViewMatrixInverse

      public static final UniformBinding WorldViewMatrixInverse
    • NormalMatrixInverse

      public static final UniformBinding NormalMatrixInverse
    • WorldViewProjectionMatrixInverse

      public static final UniformBinding WorldViewProjectionMatrixInverse
    • ViewPort

      public static final UniformBinding ViewPort
      Contains the four viewport parameters in this order: X = Left, Y = Top, Z = Right, W = Bottom. Type: vec4
    • FrustumNearFar

      public static final UniformBinding FrustumNearFar
      The near and far values for the camera frustum. X = Near Y = Far. Type: vec2
    • Resolution

      public static final UniformBinding Resolution
      The width and height of the camera. Type: vec2
    • ResolutionInverse

      public static final UniformBinding ResolutionInverse
      The inverse of the resolution, 1/width and 1/height. Type: vec2
    • Aspect

      public static final UniformBinding Aspect
      Aspect ratio of the resolution currently set. Width/Height. Type: float
    • CameraPosition

      public static final UniformBinding CameraPosition
      Camera position in world space. Type: vec3
    • CameraDirection

      public static final UniformBinding CameraDirection
      Direction of the camera. Type: vec3
    • CameraLeft

      public static final UniformBinding CameraLeft
      Left vector of the camera. Type: vec3
    • CameraUp

      public static final UniformBinding CameraUp
      Up vector of the camera. Type: vec3
    • Time

      public static final UniformBinding Time
      Time in seconds since the application was started. Type: float
    • Tpf

      public static final UniformBinding Tpf
      Time in seconds that the last frame took. Type: float
    • FrameRate

      public static final UniformBinding FrameRate
      Frames per second. Type: float
    • LightDirection

      public static final UniformBinding LightDirection
      The light direction when rendering in multi pass mode Type: vec4
    • LightPosition

      public static final UniformBinding LightPosition
      The light position when rendering in multi pass mode Type: vec4
    • AmbientLightColor

      public static final UniformBinding AmbientLightColor
      Ambient light color Type: vec4
    • LightColor

      public static final UniformBinding LightColor
      The light color when rendering in multi pass mode Type: vec4
    • WorldNormalMatrix

      public static final UniformBinding 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

      public static UniformBinding[] 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

      public static UniformBinding valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getGlslType

      public String getGlslType()