Om
1.0.0
A universal framework for multimedia simulation
|
A class that specifies the semantic usage for a shader parameter. More...
#include <omGraphicsShaderParameterUsage.h>
Public Types | |
enum | Enum { UNDEFINED = 0, LANGUAGE_VERSION, VERTEX_COLORS, LIGHTING, DIRECTIONAL_LIGHTS, DIRECTIONAL_LIGHT_COUNT, POINT_LIGHTS, POINT_LIGHT_COUNT, SPOT_LIGHTS, SPOT_LIGHT_COUNT, SPECULAR_LIGHTING, DIFFUSE_LIGHTING, AMBIENT_LIGHTING, SHADOWS, DIRECTIONAL_LIGHT_SHADOWS, DIRECTIONAL_LIGHT_SHADOW_COUNT, DIRECTIONAL_LIGHT_CSM, DIRECTIONAL_LIGHT_SHADOW_CASCADE_COUNT, POINT_LIGHT_SHADOWS, POINT_LIGHT_SHADOW_COUNT, SPOT_LIGHT_SHADOWS, SPOT_LIGHT_SHADOW_COUNT, SHADOW_FILTERING, NORMAL_FLIPPING, TEXTURES, NORMAL_MAPPING, SUB_PIXEL_ANTIALIASING } |
An enum type which represents the semantic usage for a shader parameter. More... | |
Public Member Functions | |
ShaderParameterUsage (Enum newUsage) | |
Create a new shader parameter usage with the specified usage enum value. More... | |
operator Enum () const | |
Convert this shader parameter usage to an enum value. More... | |
String | toString () const |
Return a string representation of the shader parameter usage. More... | |
operator String () const | |
Convert this shader parameter usage into a string representation. More... | |
A class that specifies the semantic usage for a shader parameter.
An enum type which represents the semantic usage for a shader parameter.
|
inline |
Create a new shader parameter usage with the specified usage enum value.
|
inline |
Convert this shader parameter usage to an enum value.
String om::graphics::materials::ShaderParameterUsage::toString | ( | ) | const |
Return a string representation of the shader parameter usage.
|
inline |
Convert this shader parameter usage into a string representation.