Om
1.0.0
A universal framework for multimedia simulation
|
A class that specifies information about a shader parameter. More...
#include <omGraphicsShaderParameterInfo.h>
Public Member Functions | |
ShaderParameterInfo () | |
Create a new shader parameter info object with ShaderParameterUsage::UNDEFINED usage and default flags. More... | |
ShaderParameterInfo (const ShaderSourceString &newName) | |
Create a new shader parameter info object with ShaderParameterUsage::UNDEFINED usage and default flags. More... | |
ShaderParameterInfo (const ShaderSourceString &newName, const ShaderParameterUsage &newUsage) | |
Create a new shader parameter info object with the specified usage and default flags. More... | |
ShaderParameterInfo (const ShaderSourceString &newName, const ShaderParameterUsage &newUsage, const ShaderParameterFlags &newFlags) | |
Create a new shader parameter info object with the specified usage and flags. More... | |
const ShaderSourceString & | getName () const |
Return the name of this shader parameter. More... | |
void | setName (const ShaderSourceString &newName) |
Set the name of this shader parameter. More... | |
const ShaderParameterUsage & | getUsage () const |
Return an object describing the semantic usage of this shader parameter. More... | |
void | setUsage (const ShaderParameterUsage &newUsage) |
Set an object describing the semantic usage of this shader parameter. More... | |
const ShaderParameterFlags & | getFlags () const |
Return an object describing boolean information about this shader parameter. More... | |
void | setFlags (const ShaderParameterFlags &newFlags) |
Set an object describing boolean information about this shader parameter. More... | |
A class that specifies information about a shader parameter.
This information includes a semantic usage for the parameter, as well as flags that specify boolean information about the parameter such as its read/write access status.
|
inline |
Create a new shader parameter info object with ShaderParameterUsage::UNDEFINED usage and default flags.
The default shader parameter flags allow no read or write access.
|
inline |
Create a new shader parameter info object with ShaderParameterUsage::UNDEFINED usage and default flags.
The default shader parameter flags allow read and write access.
|
inline |
Create a new shader parameter info object with the specified usage and default flags.
The default shader parameter flags allow read and write access.
|
inline |
Create a new shader parameter info object with the specified usage and flags.
|
inline |
Return the name of this shader parameter.
|
inline |
Set the name of 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 information about this shader parameter.
|
inline |
Set an object describing boolean information about this shader parameter.