Package com.aspose.threed
Enum VariableSemantic
- java.lang.Object
-
- java.lang.Enum<VariableSemantic>
-
- com.aspose.threed.VariableSemantic
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<VariableSemantic>
,java.lang.constant.Constable
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 Summary
Enum Constants Enum Constant Description CAMERA_POSITION
Camera's position in world coordinate system.DEPTH_BIAS
Depth bias for shadow mappingENABLE_METALLIC_ROUGHNESS_TEXTURE
Boolean value to specify if the metallic/roughness texture is specified.ENABLE_NORMAL_MAP
Normal textureINVERSE_VIEWPORT_SIZE
Inverse size of viewport.MAP_SHADOW
Shadow map textureMATERIAL_ALPHA
AlphaMATERIAL_AMBIENT
Ambient colorMATERIAL_DIFFUSE
Diffuse colorMATERIAL_DIFFUSE_TEXTURE
Diffuse textureMATERIAL_EMISSIVE
Emissive colorMATERIAL_EMISSIVE_TEXTURE
Emissive textureMATERIAL_METALLIC
Metalness valueMATERIAL_METALLIC_ROUGHNESS_TEXTURE
Texture that contains metallic and roughness in R/G channel, B/A are ignored.MATERIAL_NORMAL_TEXTURE
Normal textureMATERIAL_OCCLUSION
Ambient occlusion valueMATERIAL_OCCLUSION_TEXTURE
Ambient occlusion textureMATERIAL_ROUGHNESS
Roughness valueMATERIAL_SHININESS
ShininessMATERIAL_SPECULAR
Specular colorMATERIAL_SPECULAR_FACTOR
Specular factorMATERIAL_SPECULAR_TEXTURE
Specular textureMATERIAL_TEXTURE_TRANSFORM
Texture coordinate transformMATRIX_LIGHT_SPACE
Matrix for light space transformationMATRIX_PROJ
Matrix for projection transformationMATRIX_VIEW
Matrix for view transformationMATRIX_VIEW_PROJ
Matrix for view and projection transformationMATRIX_WORLD
Matrix for world transformationMATRIX_WORLD_VIEW_PROJ
Matrix for world view and projection transformationPOINT_LIGHT_COUNT
Number of point lightsPOINT_LIGHTS
Point light informationRECEIVE_SHADOWS
Receive or not receive shadowsSHADOW_CASTER
Position of shadow caster in world coordinate system.VIEWPORT_SIZE
Size of viewport, measured in pixelWORLD_AMBIENT
World ambientWORLD_TIME
Time in seconds
-
Method Summary
Modifier and Type Method Description static VariableSemantic
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static VariableSemantic[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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_ALPHA
public static final VariableSemantic MATERIAL_ALPHA
Alpha
-
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_TIME
public static final VariableSemantic WORLD_TIME
Time in seconds
-
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.- 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 namejava.lang.NullPointerException
- if the argument is null
-
-