Open CASCADE Technology 7.8.0
Public Member Functions
OpenGl_TextureSetPairIterator Class Reference

Class for iterating pair of texture sets through each defined texture slot. Note that iterator considers texture slots being in ascending order within OpenGl_TextureSet. More...

#include <OpenGl_TextureSetPairIterator.hxx>

Public Member Functions

 OpenGl_TextureSetPairIterator (const Handle< OpenGl_TextureSet > &theSet1, const Handle< OpenGl_TextureSet > &theSet2)
 Constructor.
 
bool More () const
 Return TRUE if there are more texture units to pass through.
 
Graphic3d_TextureUnit Unit () const
 Return current texture unit.
 
const OpenGl_TextureTexture1 () const
 Access texture from first texture set.
 
const OpenGl_TextureTexture2 () const
 Access texture from second texture set.
 
void Next ()
 Move iterator position to the next pair.
 

Detailed Description

Class for iterating pair of texture sets through each defined texture slot. Note that iterator considers texture slots being in ascending order within OpenGl_TextureSet.

Constructor & Destructor Documentation

◆ OpenGl_TextureSetPairIterator()

OpenGl_TextureSetPairIterator::OpenGl_TextureSetPairIterator ( const Handle< OpenGl_TextureSet > &  theSet1,
const Handle< OpenGl_TextureSet > &  theSet2 
)
inline

Constructor.

Member Function Documentation

◆ More()

bool OpenGl_TextureSetPairIterator::More ( ) const
inline

Return TRUE if there are more texture units to pass through.

◆ Next()

void OpenGl_TextureSetPairIterator::Next ( )
inline

Move iterator position to the next pair.

◆ Texture1()

const OpenGl_Texture * OpenGl_TextureSetPairIterator::Texture1 ( ) const
inline

Access texture from first texture set.

◆ Texture2()

const OpenGl_Texture * OpenGl_TextureSetPairIterator::Texture2 ( ) const
inline

Access texture from second texture set.

◆ Unit()

Graphic3d_TextureUnit OpenGl_TextureSetPairIterator::Unit ( ) const
inline

Return current texture unit.


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