#include <program.h>
Classes | |
class | UniformInfo |
Public Types | |
typedef Object | BaseType |
typedef Program | ThisType |
Public Member Functions | |
const ProgramArguments & | arguments (void) const |
const std::string & | fullLog (void) const |
GLint | getUniformLocation (const std::string &name) const |
bool | isLinked (void) const |
const std::string & | log (void) const |
virtual Type | type (void) const |
virtual | ~Program (void) |
Public Attributes | |
GLW_IMPLEMENT_CUSTOM_UNIFORMS | |
Protected Member Functions | |
bool | create (const ProgramArguments &args) |
virtual void | doDestroy () |
virtual bool | doIsValid (void) const |
Program (Context *ctx) | |
Private Types | |
typedef std::map< std::string, UniformInfo > | UniformMap |
typedef UniformMap::const_iterator | UniformMapConstIterator |
typedef UniformMap::iterator | UniformMapIterator |
typedef UniformMap::value_type | UniformMapValue |
Private Member Functions | |
void | postLink (void) |
void | setupUniforms (void) |
Static Private Member Functions | |
static std::string | getInfoLog (GLuint Program) |
Private Attributes | |
ProgramArguments | m_arguments |
std::string | m_fullLog |
bool | m_linked |
std::string | m_log |
UniformMap | m_uniforms |
Friends | |
class | Context |
typedef Object glw::Program::BaseType |
Reimplemented from glw::Object.
typedef Program glw::Program::ThisType |
Reimplemented from glw::Object.
typedef std::map<std::string, UniformInfo> glw::Program::UniformMap [private] |
typedef UniformMap::const_iterator glw::Program::UniformMapConstIterator [private] |
typedef UniformMap::iterator glw::Program::UniformMapIterator [private] |
typedef UniformMap::value_type glw::Program::UniformMapValue [private] |
virtual glw::Program::~Program | ( | void | ) | [inline, virtual] |
glw::Program::Program | ( | Context * | ctx | ) | [inline, protected] |
const ProgramArguments& glw::Program::arguments | ( | void | ) | const [inline] |
bool glw::Program::create | ( | const ProgramArguments & | args | ) | [inline, protected] |
virtual void glw::Program::doDestroy | ( | void | ) | [inline, protected, virtual] |
Implements glw::Object.
virtual bool glw::Program::doIsValid | ( | void | ) | const [inline, protected, virtual] |
Implements glw::Object.
const std::string& glw::Program::fullLog | ( | void | ) | const [inline] |
static std::string glw::Program::getInfoLog | ( | GLuint | Program | ) | [inline, static, private] |
GLint glw::Program::getUniformLocation | ( | const std::string & | name | ) | const [inline] |
bool glw::Program::isLinked | ( | void | ) | const [inline] |
const std::string& glw::Program::log | ( | void | ) | const [inline] |
void glw::Program::postLink | ( | void | ) | [inline, private] |
void glw::Program::setupUniforms | ( | void | ) | [inline, private] |
virtual Type glw::Program::type | ( | void | ) | const [inline, virtual] |
Implements glw::Object.
friend class Context [friend] |
Reimplemented from glw::Object.
ProgramArguments glw::Program::m_arguments [private] |
std::string glw::Program::m_fullLog [private] |
bool glw::Program::m_linked [private] |
std::string glw::Program::m_log [private] |
UniformMap glw::Program::m_uniforms [private] |