SoGLShaderProgramElement Class Reference
[Elements]

VSG extension Stores the current shader program. More...

#include <Inventor/elements/SoGLShaderProgramElement.h>

Inheritance diagram for SoGLShaderProgramElement:
SoShaderProgramElement SoReplacedElement SoElement SoTypedObject

List of all members.

Public Member Functions

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

Static Public Member Functions

static SoType getClassTypeId ()
static int getClassStackIndex ()
static void set (SoState *state, SoNode *node)
static int getMaxTextureImageUnit (SoState *state=NULL)
static int getMaxTextureCoords (SoState *state=NULL)

Detailed Description

VSG extension Stores the current shader program.

This element stores the current shader program.

NOTE: This class does not exist in Open Inventor 10.0 and later.

SEE ALSO

SoShaderProgram

Deprecated:

Deprecated since Open Inventor 9620
SoGLShaderProgramElement is no longer supported, use equivalent SoShaderProgramElement.

Member Function Documentation

static int SoGLShaderProgramElement::getClassStackIndex (  )  [static]

Returns the stack id for this element.

Reimplemented from SoShaderProgramElement.

static SoType SoGLShaderProgramElement::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoShaderProgramElement.

static int SoGLShaderProgramElement::getMaxTextureCoords ( SoState state = NULL  )  [static]

Returns the maximum number of texture coordinates.

static int SoGLShaderProgramElement::getMaxTextureImageUnit ( SoState state = NULL  )  [static]

Returns the maximum image texture unit.

virtual void SoGLShaderProgramElement::pop ( SoState state,
const SoElement prevTopElement 
) [virtual]

Overrides pop() method so side effects can occur in GL.

Reimplemented from SoShaderProgramElement.

static void SoGLShaderProgramElement::set ( SoState state,
SoNode node 
) [static]

Sets the current shader program in the state.

Reimplemented from SoShaderProgramElement.


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

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/