Open CASCADE Technology
7.6.0
|
Defines generic state of OCCT clipping state. More...
#include <OpenGl_ShaderStates.hxx>
Public Member Functions | |
OpenGl_ClippingState () | |
Creates new clipping state. More... | |
Standard_Size | Index () const |
Returns current state index. More... | |
void | Update () |
Updates current state. More... | |
void | Revert () |
Reverts current state. More... | |
Protected Attributes | |
Standard_Size | myIndex |
Current state index. More... | |
Standard_Size | myNextIndex |
Next state index. More... | |
NCollection_List< Standard_Size > | myStateStack |
Stack of previous states. More... | |
Defines generic state of OCCT clipping state.
OpenGl_ClippingState::OpenGl_ClippingState | ( | ) |
Creates new clipping state.
|
inline |
Returns current state index.
void OpenGl_ClippingState::Revert | ( | ) |
Reverts current state.
void OpenGl_ClippingState::Update | ( | ) |
Updates current state.
|
protected |
Current state index.
|
protected |
Next state index.
|
protected |
Stack of previous states.