Bbop-2D 0.4.1-alpha
Bbop-2D is a c++ library based on openGL to make 2D game. It implement sprite, shape, light and more.
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
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: