SoGLCompleteShader Class Reference

Shader class which directly takes src for vertex, geometry and/or fragment shader, compiles and links it. More...

#include <SoGLCompleteShader.h>

Inheritance diagram for SoGLCompleteShader:

SoGLShaderProgram SoGLShader SoUniformParameterBase

List of all members.

Public Member Functions

 SoGLCompleteShader ()
 ~SoGLCompleteShader ()
bool create (const char *srcVert, const char *srcGeom, const char *srcFrag)
 Creates the shaders and links them. If one does not need a specific shader, just pass NULL.
bool update (const char *srcVert, const char *srcGeom, const char *srcFrag)
 Updates the shaders source. Pass NULL for shaders that you don't want to update.

Public Attributes

SoGLShaderObjectm_pVertSh
 The GLSL shader objects for vertex, geometry and fragment programs.
SoGLShaderObjectm_pGeomSh
SoGLShaderObjectm_pFragSh


Detailed Description

Shader class which directly takes src for vertex, geometry and/or fragment shader, compiles and links it.

Definition at line 24 of file SoGLCompleteShader.h.


Constructor & Destructor Documentation

SoGLCompleteShader::SoGLCompleteShader (  )  [inline]

Definition at line 33 of file SoGLCompleteShader.h.

SoGLCompleteShader::~SoGLCompleteShader (  ) 


Member Function Documentation

bool SoGLCompleteShader::create ( const char *  srcVert,
const char *  srcGeom,
const char *  srcFrag 
)

Creates the shaders and links them. If one does not need a specific shader, just pass NULL.

bool SoGLCompleteShader::update ( const char *  srcVert,
const char *  srcGeom,
const char *  srcFrag 
)

Updates the shaders source. Pass NULL for shaders that you don't want to update.


Member Data Documentation

Definition at line 28 of file SoGLCompleteShader.h.

Definition at line 28 of file SoGLCompleteShader.h.

The GLSL shader objects for vertex, geometry and fragment programs.

Definition at line 28 of file SoGLCompleteShader.h.


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

Generated on Sat Sep 3 18:39:32 2011 for MeVisLab Toolbox Reference by  doxygen 1.5.8