Open CASCADE Technology  7.3.0
Public Member Functions

OpenGl_LightSourceState Class Reference

Defines state of OCCT light sources. More...

#include <OpenGl_ShaderStates.hxx>

Inheritance diagram for OpenGl_LightSourceState:
Inheritance graph
[legend]

Public Member Functions

 OpenGl_LightSourceState ()
 Creates uninitialized state of light sources. More...
 
void Set (const Handle< Graphic3d_LightSet > &theLightSources)
 Sets new light sources. More...
 
const Handle< Graphic3d_LightSet > & LightSources () const
 Returns current list of light sources. 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...
 

Detailed Description

Defines state of OCCT light sources.

Constructor & Destructor Documentation

◆ OpenGl_LightSourceState()

OpenGl_LightSourceState::OpenGl_LightSourceState ( )
inline

Creates uninitialized state of light sources.

Member Function Documentation

◆ LightSources()

const Handle< Graphic3d_LightSet >& OpenGl_LightSourceState::LightSources ( ) const
inline

Returns current list of light sources.

◆ Set()

void OpenGl_LightSourceState::Set ( const Handle< Graphic3d_LightSet > &  theLightSources)
inline

Sets new light sources.


The documentation for this class was generated from the following file: