SoShaderProgramElement Class Reference
[Elements]

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

#include <Inventor/elements/SoShaderProgramElement.h>

Inheritance diagram for SoShaderProgramElement:
SoReplacedElement SoElement SoTypedObject

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.

static SoType SoShaderProgramElement::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoReplacedElement.

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

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

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.


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

Open Inventor Toolkit reference manual, generated on 1 Nov 2021
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/