Loading...
Searching...
No Matches
glsl Class Reference

#include <glsl.h>

Collaboration diagram for glsl:

Public Member Functions

 glsl ()
 
 ~glsl ()
 

Static Public Member Functions

static char * readFile (const char *filename)
 
static bool compiledStatus (GLint shaderID)
 
static GLuint makeVertexShader (const char *shaderSource)
 
static GLuint makeFragmentShader (const char *shaderSource)
 
static GLuint makeShaderProgram (GLuint vertexShaderID, GLuint fragmentShaderID)
 

Static Private Attributes

static char * contents
 

Detailed Description

Definition at line 8 of file glsl.h.

Constructor & Destructor Documentation

◆ glsl()

glsl::glsl ( )

◆ ~glsl()

glsl::~glsl ( )

Member Function Documentation

◆ compiledStatus()

bool glsl::compiledStatus ( GLint  shaderID)
static

Definition at line 31 of file glsl.cpp.

◆ makeFragmentShader()

GLuint glsl::makeFragmentShader ( const char *  shaderSource)
static

Definition at line 67 of file glsl.cpp.

◆ makeShaderProgram()

GLuint glsl::makeShaderProgram ( GLuint  vertexShaderID,
GLuint  fragmentShaderID 
)
static

Definition at line 87 of file glsl.cpp.

◆ makeVertexShader()

GLuint glsl::makeVertexShader ( const char *  shaderSource)
static

Definition at line 47 of file glsl.cpp.

◆ readFile()

char * glsl::readFile ( const char *  filename)
static

Definition at line 7 of file glsl.cpp.

Member Data Documentation

◆ contents

char* glsl::contents
staticprivate

Definition at line 11 of file glsl.h.


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