Describes specific value of custom uniform variable. More...
#include <Graphic3d_ShaderVariable.hxx>

Public Member Functions | |
| Graphic3d_UniformValue (const T &theValue) | |
| Creates new variable value. | |
| virtual Standard_Size | TypeID () const |
| Returns unique identifier of value type. | |
Public Member Functions inherited from Graphic3d_ValueInterface | |
| virtual | ~Graphic3d_ValueInterface () |
| Releases memory resources of variable value. | |
| template<class T> | |
| T & | As () |
| Returns variable value casted to specified type. | |
| template<class T> | |
| const T & | As () const |
| Returns variable value casted to specified type. | |
Data Fields | |
| T | Value |
| Value of custom uniform variable. | |
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.