Go to the documentation of this file.
27 #ifndef _ShaderGLSLProgramProcessor_
28 #define _ShaderGLSLProgramProcessor_
void bindSubShaders(Program *program, GpuProgramPtr pGpuProgram)
Compiles sub shaders (only if the not exists) and attach them to the main gpu program.
Container class for shader based programs.
vector< String >::type StringVector
static String TargetLanguage
GLSL Language program processor class.
A class that represents a shader based program.
virtual ~GLSLProgramProcessor()
Class destructor.
A class that provides extra processing services on CPU based programs.
GLSLProgramProcessor()
Class constructor.
virtual bool postCreateGpuPrograms(ProgramSet *programSet)
virtual bool preCreateGpuPrograms(ProgramSet *programSet)
void bindTextureSamplers(Program *pCpuProgram, GpuProgramPtr pGpuProgram)
Bind texture samplers.
virtual const String & getTargetLanguage() const
Return the target language of this processor.
StringVector mLibraryPrograms
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.