Open CASCADE Technology  7.4.1.dev
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 state. More...
 
Standard_Size Index () const
 Returns current state index. More...
 
void Update ()
 Increment 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::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: