ShaderType.hh
STL class.
@ ST_NORM_OBJ
Object-space normal map shader.
Definition: 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: ShaderType.hh:49
static bool IsValid(ShaderType _type)
Determine if given type is valid ShaderType enum.
Provides supporting functions for ShaderType enum.
Definition: ShaderType.hh:57
ShaderType
Available types of shaders. Note that not all rendering-engines will be able to use each type....
Definition: ShaderType.hh:34