![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Structure defining shader uniform or in/out variable. More...
#include <Graphic3d_ShaderObject.hxx>
Public Member Functions | |
| ShaderVariable (const TCollection_AsciiString &theVarName, int theShaderStageBits) | |
| Create new shader variable. | |
| ShaderVariable () | |
| Empty constructor. | |
Data Fields | |
| TCollection_AsciiString | Name |
| variable name | |
| int | Stages |
| active stages as Graphic3d_TypeOfShaderObject bits; for in/out variables, intermediate stages will be automatically filled | |
Structure defining shader uniform or in/out variable.
|
inline |
Create new shader variable.
|
inline |
Empty constructor.
| TCollection_AsciiString Graphic3d_ShaderObject::ShaderVariable::Name |
variable name
| int Graphic3d_ShaderObject::ShaderVariable::Stages |
active stages as Graphic3d_TypeOfShaderObject bits; for in/out variables, intermediate stages will be automatically filled