Open CASCADE Technology  7.1.0.beta
Public Member Functions

OpenGl_MaterialState Class Reference

Defines generic state of OCCT material properties. More...

#include <OpenGl_ShaderStates.hxx>

Inheritance diagram for OpenGl_MaterialState:
Inheritance graph
[legend]

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_ElementAspect () 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...
 

Detailed Description

Defines generic state of OCCT material properties.

Constructor & Destructor Documentation

OpenGl_MaterialState::OpenGl_MaterialState ( const OpenGl_Element theAspect = NULL)

Creates new material state.

Member Function Documentation

const OpenGl_Element* OpenGl_MaterialState::Aspect ( ) const

Returns material aspect.

void OpenGl_MaterialState::Set ( const OpenGl_Element theAspect)

Sets new material aspect.


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