|
Open CASCADE Technology
7.0.0
|
Defines generic state of OCCT material properties. More...
#include <OpenGl_ShaderStates.hxx>

Public Member Functions | |
| OpenGl_MaterialState (const OpenGl_Element *theAspect=NULL) | |
| Creates new material state. More... | |
| void | Set (const OpenGl_Element *theAspect) |
| Sets new material aspect. More... | |
| const OpenGl_Element * | Aspect () const |
| Returns material aspect. More... | |
Public Member Functions inherited from OpenGl_StateInterface | |
| OpenGl_StateInterface () | |
| Creates new state. More... | |
| Standard_Size | Index () const |
| Returns current state index. More... | |
| void | Update () |
| Increment current state. More... | |
Additional Inherited Members | |
Protected Attributes inherited from OpenGl_StateInterface | |
| Standard_Size | myIndex |
| current state index More... | |
Defines generic state of OCCT material properties.
| OpenGl_MaterialState::OpenGl_MaterialState | ( | const OpenGl_Element * | theAspect = NULL | ) |
Creates new material state.
| const OpenGl_Element* OpenGl_MaterialState::Aspect | ( | ) | const |
Returns material aspect.
| void OpenGl_MaterialState::Set | ( | const OpenGl_Element * | theAspect | ) |
Sets new material aspect.
1.8.10