Open CASCADE Technology 7.8.2.dev
OpenGl_StateInterface Class Reference

Defines interface for OpenGL state. More...

#include <OpenGl_ShaderStates.hxx>

Inheritance diagram for OpenGl_StateInterface:

Public Member Functions

 OpenGl_StateInterface ()
 Creates new state.
 
Standard_Size Index () const
 Returns current state index.
 
void Update ()
 Increment current state.
 

Protected Attributes

Standard_Size myIndex
 current state index
 

Detailed Description

Defines interface for OpenGL state.

Constructor & Destructor Documentation

◆ OpenGl_StateInterface()

OpenGl_StateInterface::OpenGl_StateInterface ( )

Creates new state.

Member Function Documentation

◆ Index()

Standard_Size OpenGl_StateInterface::Index ( ) const
inline

Returns current state index.

◆ Update()

void OpenGl_StateInterface::Update ( )
inline

Increment current state.

Field Documentation

◆ myIndex

Standard_Size OpenGl_StateInterface::myIndex
protected

current state index


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