PICCANTE  0.4
The hottest HDR imaging library!
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
pic::ProgramGL Class Reference

#include <program.hpp>

Public Member Functions

 ProgramGL ()
 
 ProgramGL (std::string version, std::string extensions, std::string source, GLenum type)
 
 ProgramGL (std::vector< ProgramGL *> &shaders)
 
 ~ProgramGL ()
 
void setNULL ()
 SetNULL. More...
 
GLuint getObject ()
 getObject More...
 
bool initProgram (std::vector< ProgramGL *> &shaders)
 initProgram More...
 
bool initShader (std::string version_number, std::string extensions, std::string source, GLenum type)
 initShader More...
 
void printLog ()
 printLog More...
 

Public Attributes

bool bCompiled
 

Protected Member Functions

bool checkShaderStatus ()
 checkShaderStatus More...
 
bool checkProgramStatus ()
 checkProgramStatus More...
 

Protected Attributes

GLint bCheckStatus
 
GLenum type
 
GLuint object
 
std::string source
 
std::string log
 
bool bType
 

Constructor & Destructor Documentation

◆ ProgramGL() [1/3]

pic::ProgramGL::ProgramGL ( )
inline

◆ ProgramGL() [2/3]

pic::ProgramGL::ProgramGL ( std::string  version,
std::string  extensions,
std::string  source,
GLenum  type 
)
inline

◆ ProgramGL() [3/3]

pic::ProgramGL::ProgramGL ( std::vector< ProgramGL *> &  shaders)
inline

◆ ~ProgramGL()

pic::ProgramGL::~ProgramGL ( )
inline

Member Function Documentation

◆ checkProgramStatus()

bool pic::ProgramGL::checkProgramStatus ( )
inlineprotected

checkProgramStatus

Returns

◆ checkShaderStatus()

bool pic::ProgramGL::checkShaderStatus ( )
inlineprotected

checkShaderStatus

Returns

◆ getObject()

GLuint pic::ProgramGL::getObject ( )
inline

getObject

Returns

◆ initProgram()

bool pic::ProgramGL::initProgram ( std::vector< ProgramGL *> &  shaders)
inline

initProgram

Parameters
shaders
Returns

◆ initShader()

bool pic::ProgramGL::initShader ( std::string  version_number,
std::string  extensions,
std::string  source,
GLenum  type 
)
inline

initShader

Parameters
version
extensions
source
type
Returns

◆ printLog()

void pic::ProgramGL::printLog ( )
inline

printLog

◆ setNULL()

void pic::ProgramGL::setNULL ( )
inline

SetNULL.

Member Data Documentation

◆ bCheckStatus

GLint pic::ProgramGL::bCheckStatus
protected

◆ bCompiled

bool pic::ProgramGL::bCompiled

◆ bType

bool pic::ProgramGL::bType
protected

◆ log

std::string pic::ProgramGL::log
protected

◆ object

GLuint pic::ProgramGL::object
protected

◆ source

std::string pic::ProgramGL::source
protected

◆ type

GLenum pic::ProgramGL::type
protected

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