Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes
OpenGl_StateInterface Class Reference

Defines interface for OpenGL state. More...

#include <OpenGl_ShaderStates.hxx>

Inheritance diagram for OpenGl_StateInterface:
Inheritance graph
[legend]

Public Member Functions

 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...
 

Protected Attributes

Standard_Size myIndex
 Current state index. More...
 

Detailed Description

Defines interface for OpenGL state.

Constructor & Destructor Documentation

OpenGl_StateInterface::OpenGl_StateInterface ( )

Creates new OCCT state.

Member Function Documentation

Standard_Size OpenGl_StateInterface::Index ( ) const

Returns current state index.

void OpenGl_StateInterface::Revert ( )

Reverts current state.

void OpenGl_StateInterface::Update ( )

Updates current state.

Field Documentation

Standard_Size OpenGl_StateInterface::myIndex
protected

Current state index.


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