Om
1.0.0
A universal framework for multimedia simulation
|
A class that contains the entire state for a shader parameter. More...
#include <omGraphicsShaderParameter.h>
Public Member Functions | |
ShaderParameter () | |
Create a new UNDEFINED shader parameter object with the value 0. More... | |
ShaderParameter (const ShaderParameterInfo &newInfo, const ShaderParameterValue &newValue) | |
Create a new shader parameter object with the specified info and value. More... | |
const ShaderParameterInfo & | getInfo () const |
Return an object describing information about this shader parameter. More... | |
void | setInfo (const ShaderParameterInfo &newInfo) |
Set an object describing information about this shader parameter. More... | |
const UTF8String & | getName () const |
Return a string representing the name for this shader parameter. More... | |
void | setName (const UTF8String &newName) |
Set a string representing the name for this shader parameter. More... | |
const ShaderParameterUsage & | getUsage () const |
Return an object describing the semantic usage of this shader parameter. More... | |
void | setUsage (const ShaderParameterUsage &newInfo) |
Set an object describing the semantic usage of this shader parameter. More... | |
const ShaderParameterFlags & | getFlags () const |
Return an object describing boolean flags of this shader parameter. More... | |
void | setFlags (const ShaderParameterFlags &newFlags) |
Set an object describing boolean flags of this shader parameter. More... | |
const ShaderParameterValue & | getValue () const |
Return an object that contains the value for this shader parameter. More... | |
void | setValue (const ShaderParameterValue &newValue) |
Set an object containing a new value for this shader parameter. More... | |
A class that contains the entire state for a shader parameter.
This state includes information about the shader parameter as well as its value.
|
inline |
Create a new UNDEFINED shader parameter object with the value 0.
|
inline |
Create a new shader parameter object with the specified info and value.
|
inline |
Return an object describing information about this shader parameter.
|
inline |
Set an object describing information about this shader parameter.
|
inline |
Return a string representing the name for this shader parameter.
|
inline |
Set a string representing the name for this shader parameter.
|
inline |
Return an object describing the semantic usage of this shader parameter.
|
inline |
Set an object describing the semantic usage of this shader parameter.
|
inline |
Return an object describing boolean flags of this shader parameter.
|
inline |
Set an object describing boolean flags of this shader parameter.
|
inline |
Return an object that contains the value for this shader parameter.
|
inline |
Set an object containing a new value for this shader parameter.