MPMA Framework 0.4
Public Member Functions
GFX::ShaderCode Class Reference

Represents source and compiled shader code pieces. More...

#include <Shader.h>

Inheritance diagram for GFX::ShaderCode:
Inheritance graph
[legend]

List of all members.

Public Member Functions

bool Create (GLenum shaderType)
 Creates an shader code of a specific type.
void Free ()
 Frees the shader code.
bool Compile (GLenum shaderType, const std::string &code)
 Creates and compiles a string reperesents shader code.
bool Compile (GLenum shaderType, const std::vector< std::string > &codes)
 Creates and compiles a set string reperesents shader codes.
bool CompileFile (GLenum shaderType, const MPMA::Filename &file)
 Creates and compiles a file containing shader code.
bool CompileFiles (GLenum shaderType, const std::vector< MPMA::Filename > &files)
 Creates and compiles a set of files containing shader codes.
const std::string & GetCompileMessages () const
 Retrieves messages generated by the shader compiler.
 operator GLuint () const
 Returns the OpenGL shader source object.

Detailed Description

Represents source and compiled shader code pieces.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends