Om
1.0.0
A universal framework for multimedia simulation
|
A class that specifies a kind of Shader. More...
#include <omGraphicsShaderType.h>
Public Types | |
enum | Enum { UNDEFINED = 0, VERTEX, FRAGMENT, GEOMETRY, TESSELLATION } |
An enum type which represents the type for a shader. More... | |
Public Member Functions | |
ShaderType () | |
Create a new shader type with the ShaderType::UNDEFINED type. More... | |
ShaderType (Enum newType) | |
Create a new shader type with the specified type enum value. More... | |
operator Enum () const | |
Convert this shader type to an enum value. More... | |
String | toString () const |
Return a string representation of the shader type. More... | |
operator String () const | |
Convert this shader type into a string representation. More... | |
A class that specifies a kind of Shader.
The type specified here is used to determine the kinds of operations that a shader can perform, as well as how it may be structured (inputs/outputs).
An enum type which represents the type for a shader.
|
inline |
Create a new shader type with the ShaderType::UNDEFINED type.
|
inline |
Create a new shader type with the specified type enum value.
|
inline |
Convert this shader type to an enum value.
String om::graphics::materials::ShaderType::toString | ( | ) | const |
Return a string representation of the shader type.
|
inline |
Convert this shader type into a string representation.