1#ifndef COIN_SOSHADERPROGRAMELEMENT_H
2#define COIN_SOSHADERPROGRAMELEMENT_H
27#include <Inventor/elements/SoReplacedElement.h>
28#include <Inventor/lists/SbList.h>
30class SoGLShaderProgram;
35 typedef SoReplacedElement inherited;
36 SO_ELEMENT_HEADER(SoGLShaderProgramElement);
39 virtual void init(SoState * state);
41 static void enable(SoState *
const state,
const SbBool onoff);
42 static void set(SoState *
const state, SoNode *
const node,
43 SoGLShaderProgram * program);
44 static SoGLShaderProgram * get(SoState * state);
46 virtual void push(SoState *);
47 virtual void pop(SoState * state,
const SoElement *prevTopElement);
49 virtual SbBool
matches(
const SoElement * element)
const;
53 static void initClass(
void);
54 SoGLShaderProgram *shaderProgram;
57 virtual ~SoGLShaderProgramElement();
58 SbList <uint32_t> objectids;
virtual void pop(SoState *state, const SoElement *prevTopElement)
Definition SoElement.cpp:585
virtual void push(SoState *state)
Definition SoElement.cpp:570
The SoReplacedElement class is an abstract element superclass.
Definition SoReplacedElement.h:30
virtual SoElement * copyMatchInfo() const
Definition SoReplacedElement.cpp:97
virtual SbBool matches(const SoElement *element) const
Definition SoReplacedElement.cpp:87
virtual void init(SoState *state)
Definition SoReplacedElement.cpp:79
Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.
Generated on Thu Jan 16 2025 for Coin by Doxygen 1.13.2.