SoGLMultiTextureMatrixElement

Langue: en

Autres versions - même langue

Version: 360698 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

SoGLMultiTextureMatrixElement -

The SoGLMultiTextureMatrixElement class is used to update the OpenGL texture matrix.

Since (for some weird reason) most OpenGL implementations have a very small texture matrix stack, and since the matrix stack also is broken on many OpenGL implementations, the texture matrix is always loaded into OpenGL. We do not push() and pop() matrices.

SYNOPSIS


#include <Inventor/elements/SoGLMultiTextureMatrixElement.h>

Inherits SoMultiTextureMatrixElement.

Public Member Functions


virtual void init (SoState *state)

virtual void push (SoState *state)

virtual void pop (SoState *state, const SoElement *prevTopElement)

virtual void multElt (const int unit, const SbMatrix &matrix)

virtual void setElt (const int unit, const SbMatrix &matrix)

Static Public Member Functions


static void initClass (void)

Protected Member Functions


virtual ~SoGLMultiTextureMatrixElement ()

Detailed Description

The SoGLMultiTextureMatrixElement class is used to update the OpenGL texture matrix.

Since (for some weird reason) most OpenGL implementations have a very small texture matrix stack, and since the matrix stack also is broken on many OpenGL implementations, the texture matrix is always loaded into OpenGL. We do not push() and pop() matrices.

Constructor & Destructor Documentation

SoGLMultiTextureMatrixElement::~SoGLMultiTextureMatrixElement (void) [protected, virtual]The destructor.

Member Function Documentation

void SoGLMultiTextureMatrixElement::initClass (void) [static]Initialize relevant common data for all instances, like the type system.

Reimplemented from SoMultiTextureMatrixElement.

void SoGLMultiTextureMatrixElement::multElt (const int unit, const SbMatrix & matrix) [virtual]virtual method which is called from mult(). Multiplies matrix into element matrix.

Reimplemented from SoMultiTextureMatrixElement.

void SoGLMultiTextureMatrixElement::setElt (const int unit, const SbMatrix & matrix) [virtual]virtual method which is called from set(). Sets matrix intp element matrix.

Reimplemented from SoMultiTextureMatrixElement.

Author

Generated automatically by Doxygen for Coin from the source code.