gz/rendering/ShaderType.hh
STL class.
@ ST_NORM_OBJ
Object-space normal map shader.
Definition: gz/rendering/ShaderType.hh:46
static ShaderType Enum(const std::string &_name)
Get enum value by human-readable name. The given string should match watch is returned by GetName....
static ShaderType Sanitize(ShaderType _type)
Sanitize given type. If the given value is invalid, ST_UNKNOWN will be returned, otherwise input will...
static std::string Name(ShaderType _type)
Get human-readable name for shader type value.
@ ST_NORM_TAN
Tangent-space normal map shader.
Definition: gz/rendering/ShaderType.hh:49
@ ST_VERTEX
Per vertex lighting shader.
Definition: gz/rendering/ShaderType.hh:43
static bool IsValid(ShaderType _type)
Determine if given type is valid ShaderType enum.
@ ST_UNKNOWN
Unknown or errant type.
Definition: gz/rendering/ShaderType.hh:37
Provides supporting functions for ShaderType enum.
Definition: gz/rendering/ShaderType.hh:57
@ ST_PIXEL
Per pixel lighting shader.
Definition: gz/rendering/ShaderType.hh:40
ShaderType
Available types of shaders. Note that not all rendering-engines will be able to use each type....
Definition: gz/rendering/ShaderType.hh:34
@ ST_COUNT
Total number of shader types.
Definition: gz/rendering/ShaderType.hh:52