SoShaderProgramElement Class Reference
[Elements]

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

#include <Inventor/elements/SoShaderProgramElement.h>

Inheritance diagram for SoShaderProgramElement:
SoReplacedElement SoElement SoTypedObject SoGLShaderProgramElement

List of all members.

Public Member Functions

virtual void push (SoState *)
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 void get (SoState *state, SoShaderProgram *&)

Detailed Description

VSG extension Stores the current shader program.

This element stores the current shader program.

SEE ALSO

SoShaderProgram


Member Function Documentation

static void SoShaderProgramElement::get ( SoState state,
SoShaderProgram *&   
) [static]

Gets the current shader program in the state.

static int SoShaderProgramElement::getClassStackIndex (  )  [static]

Returns the stack id for this element.

Reimplemented from SoReplacedElement.

Reimplemented in SoGLShaderProgramElement.

static SoType SoShaderProgramElement::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoReplacedElement.

Reimplemented in SoGLShaderProgramElement.

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

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

Reimplemented in SoGLShaderProgramElement.

virtual void SoShaderProgramElement::push ( SoState  )  [virtual]

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

Reimplemented from SoElement.

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

Sets the current shader program in the state.

Reimplemented in SoGLShaderProgramElement.


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

Open Inventor by FEI reference manual, generated on 19 Aug 2019
Copyright © FEI S.A.S. All rights reserved.
http://www.openinventor.com/