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;
50 virtual SoElement * copyMatchInfo()
const;
53 static void initClass(
void);
54 SoGLShaderProgram *shaderProgram;
57 virtual ~SoGLShaderProgramElement();
58 SbList <uint32_t> objectids;
The SoReplacedElement class is an abstract element superclass.
Definition SoReplacedElement.h:30
Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.
Generated for Coin by Doxygen 1.18.0.