com.aspose.threed

Interfaces

Classes

Enums

Exceptions

com.aspose.threed

Enum VariableSemantic

  • java.lang.Object
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<VariableSemantic>


    public enum VariableSemantic
    extends java.lang.Enum<VariableSemantic>
    Shader variable semantic Renderer will automaticly initialize correct values for shader's variables with correct semantic before rendering.
    • Enum Constant Detail

      • MATRIX_WORLD

        public static final VariableSemantic MATRIX_WORLD
        Matrix for world transformation
      • MATRIX_VIEW

        public static final VariableSemantic MATRIX_VIEW
        Matrix for view transformation
      • MATRIX_PROJ

        public static final VariableSemantic MATRIX_PROJ
        Matrix for projection transformation
      • MATRIX_VIEW_PROJ

        public static final VariableSemantic MATRIX_VIEW_PROJ
        Matrix for view and projection transformation
      • MATRIX_WORLD_VIEW_PROJ

        public static final VariableSemantic MATRIX_WORLD_VIEW_PROJ
        Matrix for world view and projection transformation
      • MATRIX_LIGHT_SPACE

        public static final VariableSemantic MATRIX_LIGHT_SPACE
        Matrix for light space transformation
      • MATERIAL_DIFFUSE

        public static final VariableSemantic MATERIAL_DIFFUSE
        Diffuse color
      • MATERIAL_DIFFUSE_TEXTURE

        public static final VariableSemantic MATERIAL_DIFFUSE_TEXTURE
        Diffuse texture
      • MATERIAL_EMISSIVE

        public static final VariableSemantic MATERIAL_EMISSIVE
        Emissive color
      • MATERIAL_EMISSIVE_TEXTURE

        public static final VariableSemantic MATERIAL_EMISSIVE_TEXTURE
        Emissive texture
      • MATERIAL_AMBIENT

        public static final VariableSemantic MATERIAL_AMBIENT
        Ambient color
      • MATERIAL_SPECULAR

        public static final VariableSemantic MATERIAL_SPECULAR
        Specular color
      • MATERIAL_SPECULAR_FACTOR

        public static final VariableSemantic MATERIAL_SPECULAR_FACTOR
        Specular factor
      • MATERIAL_SPECULAR_TEXTURE

        public static final VariableSemantic MATERIAL_SPECULAR_TEXTURE
        Specular texture
      • MATERIAL_SHININESS

        public static final VariableSemantic MATERIAL_SHININESS
        Shininess
      • MATERIAL_NORMAL_TEXTURE

        public static final VariableSemantic MATERIAL_NORMAL_TEXTURE
        Normal texture
      • ENABLE_NORMAL_MAP

        public static final VariableSemantic ENABLE_NORMAL_MAP
        Normal texture
      • MATERIAL_TEXTURE_TRANSFORM

        public static final VariableSemantic MATERIAL_TEXTURE_TRANSFORM
        Texture coordinate transform
      • MATERIAL_METALLIC

        public static final VariableSemantic MATERIAL_METALLIC
        Metalness value
      • MATERIAL_ROUGHNESS

        public static final VariableSemantic MATERIAL_ROUGHNESS
        Roughness value
      • MATERIAL_METALLIC_ROUGHNESS_TEXTURE

        public static final VariableSemantic MATERIAL_METALLIC_ROUGHNESS_TEXTURE
        Texture that contains metallic and roughness in R/G channel, B/A are ignored.
      • ENABLE_METALLIC_ROUGHNESS_TEXTURE

        public static final VariableSemantic ENABLE_METALLIC_ROUGHNESS_TEXTURE
        Boolean value to specify if the metallic/roughness texture is specified.
      • MATERIAL_OCCLUSION

        public static final VariableSemantic MATERIAL_OCCLUSION
        Ambient occlusion value
      • MATERIAL_OCCLUSION_TEXTURE

        public static final VariableSemantic MATERIAL_OCCLUSION_TEXTURE
        Ambient occlusion texture
      • MAP_SHADOW

        public static final VariableSemantic MAP_SHADOW
        Shadow map texture
      • RECEIVE_SHADOWS

        public static final VariableSemantic RECEIVE_SHADOWS
        Receive or not receive shadows
      • SHADOW_CASTER

        public static final VariableSemantic SHADOW_CASTER
        Position of shadow caster in world coordinate system.
      • DEPTH_BIAS

        public static final VariableSemantic DEPTH_BIAS
        Depth bias for shadow mapping
      • WORLD_AMBIENT

        public static final VariableSemantic WORLD_AMBIENT
        World ambient
      • CAMERA_POSITION

        public static final VariableSemantic CAMERA_POSITION
        Camera's position in world coordinate system.
      • VIEWPORT_SIZE

        public static final VariableSemantic VIEWPORT_SIZE
        Size of viewport, measured in pixel
      • INVERSE_VIEWPORT_SIZE

        public static final VariableSemantic INVERSE_VIEWPORT_SIZE
        Inverse size of viewport.
      • POINT_LIGHTS

        public static final VariableSemantic POINT_LIGHTS
        Point light information
      • POINT_LIGHT_COUNT

        public static final VariableSemantic POINT_LIGHT_COUNT
        Number of point lights
    • Method Detail

      • values

        public static VariableSemantic[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (VariableSemantic c : VariableSemantic.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static VariableSemantic valueOf(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null