soglmultitexturematrixelement(3)

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 SoType getClassTypeId (void)
static int getClassStackIndex (void)
static void * createInstance (void)
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

SoType SoGLMultiTextureMatrixElement::getClassTypeId (void) [static]
This static method returns the class type.
Reimplemented from SoMultiTextureMatrixElement.
int SoGLMultiTextureMatrixElement::getClassStackIndex (void) [static]
This static method returns the state stack index for the class.
Reimplemented from SoMultiTextureMatrixElement.
void * SoGLMultiTextureMatrixElement::createInstance (void) [static]
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer.
Reimplemented from SoMultiTextureMatrixElement.
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.
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout