Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes
ProgramGLSL::ShaderObject Class Reference

List of all members.

Public Member Functions

GLuint GetShaderID ()
int IsValidFragmentShader ()
int IsValidShaderObject ()
int IsValidVertexShader ()
void PrintCompileLog (ostream &os)
 ShaderObject (int shadertype, const char *source, int filesource=0)
 ~ShaderObject ()

Private Member Functions

void CheckCompileLog ()

Static Private Member Functions

static int ReadShaderFile (const char *source, char *&code)

Private Attributes

int _compiled
GLuint _shaderID
int _type

Detailed Description

Definition at line 34 of file ProgramGLSL.h.


Constructor & Destructor Documentation

Definition at line 131 of file ProgramGLSL.cpp.

ProgramGLSL::ShaderObject::ShaderObject ( int  shadertype,
const char *  source,
int  filesource = 0 
)

Definition at line 43 of file ProgramGLSL.cpp.


Member Function Documentation

Definition at line 119 of file ProgramGLSL.cpp.

Definition at line 46 of file ProgramGLSL.h.

Definition at line 137 of file ProgramGLSL.cpp.

Definition at line 43 of file ProgramGLSL.h.

Definition at line 142 of file ProgramGLSL.cpp.

Definition at line 148 of file ProgramGLSL.cpp.

int ProgramGLSL::ShaderObject::ReadShaderFile ( const char *  source,
char *&  code 
) [static, private]

Definition at line 88 of file ProgramGLSL.cpp.


Member Data Documentation

Definition at line 38 of file ProgramGLSL.h.

Definition at line 36 of file ProgramGLSL.h.

Definition at line 37 of file ProgramGLSL.h.


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


siftgpu
Author(s): Changchang Wu
autogenerated on Wed Aug 26 2015 15:24:06