Bbop-Library 0.4.1-alpha
Opengl library to build 2d apps and game that implement a light system named Lumop
 
Loading...
Searching...
No Matches
Shader Class Reference

#include <shaderClass.h>

Public Member Functions

 Shader (const char *vertexFile, const char *fragmentFile)
 
GLint getUniformLoc (const GLchar *varName) const
 
GLuint getID () const
 
void Activate () const
 
void Delete ()
 

Public Attributes

GLuint ID
 

Constructor & Destructor Documentation

◆ Shader()

Shader::Shader ( const char * vertexFile,
const char * fragmentFile )

Member Function Documentation

◆ Activate()

void Shader::Activate ( ) const

◆ Delete()

void Shader::Delete ( )

◆ getID()

GLuint Shader::getID ( ) const

◆ getUniformLoc()

GLint Shader::getUniformLoc ( const GLchar * varName) const

Member Data Documentation

◆ ID

GLuint Shader::ID

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