|
Open CASCADE Technology
6.8.0
|
Defines state of OCCT light sources. More...
#include <OpenGl_ShaderStates.hxx>

Public Member Functions | |
| OpenGl_LightSourceState () | |
| Creates uninitialized state of light sources. More... | |
| void | Set (const OpenGl_ListOfLight *theLightSources) |
| Sets new light sources. More... | |
| const OpenGl_ListOfLight * | LightSources () const |
| Returns current list of light sources. More... | |
Public Member Functions inherited from OpenGl_StateInterface | |
| OpenGl_StateInterface () | |
| Creates new OCCT state. More... | |
| Standard_Size | Index () const |
| Returns current state index. More... | |
| void | Update () |
| Updates current state. More... | |
| void | Revert () |
| Reverts current state. More... | |
Additional Inherited Members | |
Protected Attributes inherited from OpenGl_StateInterface | |
| 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 state of OCCT light sources.
| OpenGl_LightSourceState::OpenGl_LightSourceState | ( | ) |
Creates uninitialized state of light sources.
| const OpenGl_ListOfLight* OpenGl_LightSourceState::LightSources | ( | ) | const |
Returns current list of light sources.
| void OpenGl_LightSourceState::Set | ( | const OpenGl_ListOfLight * | theLightSources | ) |
Sets new light sources.
1.8.5