Open CASCADE Technology
7.1.0.beta
|
Describes specific value of custom uniform variable. More...
#include <Graphic3d_ShaderVariable.hxx>
Public Member Functions | |
Graphic3d_UniformValue (const T &theValue) | |
Creates new variable value. More... | |
virtual Standard_Size | TypeID () const |
Returns unique identifier of value type. More... | |
Public Member Functions inherited from Graphic3d_ValueInterface | |
virtual | ~Graphic3d_ValueInterface () |
Releases memory resources of variable value. More... | |
template<class T > | |
T & | As () |
Returns variable value casted to specified type. More... | |
template<class T > | |
const T & | As () const |
Returns variable value casted to specified type. More... | |
Data Fields | |
T | Value |
Value of custom uniform variable. More... | |
Describes specific value of custom uniform variable.
|
inline |
Creates new variable value.
|
virtual |
Returns unique identifier of value type.
Implements Graphic3d_ValueInterface.
T Graphic3d_UniformValue< T >::Value |
Value of custom uniform variable.