Open CASCADE Technology
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

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

Returns current state index.

◆ Update()

void OpenGl_StateInterface::Update ( )

Increment current state.

Field Documentation

◆ myIndex

Standard_Size OpenGl_StateInterface::myIndex

current state index

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