|
Open CASCADE Technology
7.3.0
|
Interface for generic variable value. More...
#include <Graphic3d_ShaderVariable.hxx>

Public Member Functions | |
| virtual | ~Graphic3d_ValueInterface () |
| Releases memory resources of variable value. More... | |
| virtual Standard_Size | TypeID () const =0 |
| Returns unique identifier of value type. 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... | |
Interface for generic variable value.
|
virtual |
Releases memory resources of variable value.
| T& Graphic3d_ValueInterface::As | ( | ) |
Returns variable value casted to specified type.
| const T& Graphic3d_ValueInterface::As | ( | ) | const |
Returns variable value casted to specified type.
|
pure virtual |
Returns unique identifier of value type.
Implemented in Graphic3d_UniformValue< T >.
1.8.13