Open CASCADE Technology Reference Manual 8.0.2
Loading...
Searching...
No Matches
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.
size_t Index () const
 Returns current state index.
void Update ()
 Increment current state.

Protected Attributes

size_t 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()

size_t OpenGl_StateInterface::Index ( ) const
inline

Returns current state index.

◆ Update()

void OpenGl_StateInterface::Update ( )
inline

Increment current state.

Field Documentation

◆ myIndex

size_t OpenGl_StateInterface::myIndex
protected

current state index


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