Open CASCADE Technology  7.6.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. More...
 
bool More () const
 Return TRUE if there are more texture units to pass through. More...
 
Graphic3d_TextureUnit Unit () const
 Return current texture unit. More...
 
const OpenGl_TextureTexture1 () const
 Access texture from first texture set. More...
 
const OpenGl_TextureTexture2 () const
 Access texture from second texture set. More...
 
void Next ()
 Move iterator position to the next pair. More...
 

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 ( void  ) const
inline

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

◆ Next()

void OpenGl_TextureSetPairIterator::Next ( void  )
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: