1 #ifndef COIN_SOSHADERGENERATOR_H
2 #define COIN_SOSHADERGENERATOR_H
37 #error this is a private header file
40 #include <Inventor/SbString.h>
50 void reset(
const SbBool freeoldstrings);
52 void setVersion(
const SbString & str);
73 #endif // COIN_SOSHADERGENERATOR_H
~SoShaderGenerator()
Definition: SoShaderGenerator.cpp:60
void addDefine(const SbString &str, const SbBool checkexists)
Definition: SoShaderGenerator.cpp:88
void addFunction(const SbString &str, const SbBool checkexists)
Definition: SoShaderGenerator.cpp:114
void addMainStatement(const SbString &str)
Definition: SoShaderGenerator.cpp:145
The SoShaderGenerator class is used for simplifying the process of generating shader scripts...
Definition: SoShaderGenerator.h:44
void addDeclaration(const SbString &str, const SbBool checkexists)
Definition: SoShaderGenerator.cpp:101
const SbString & getShaderProgram(void)
Definition: SoShaderGenerator.cpp:156
SoShaderGenerator(void)
Definition: SoShaderGenerator.cpp:52
void addNamedFunction(const SbName &name, const SbBool checkexists)
Definition: SoShaderGenerator.cpp:127
The SbString class is a string class with convenience functions for string operations.This is the class used for storing and working with character strings. It automatically takes care of supporting all the "bookkeeping" tasks usually associated with working with character strings, like memory allocation and deallocation etc.
Definition: SbString.h:52
The SbName class stores strings by reference.The class is used by Coin for storing keywords...
Definition: SbName.h:40