#include "Shader.h"
Public Member Functions | |
PixelShader () | |
Constructor. | |
~PixelShader () | |
De-constructor. | |
bool | Load (const char *file) |
Loads a pixel shader from a file. | |
bool | LoadFromMemory (const char *src) |
Loads a pixel shader from memory. | |
GLuint | GetShaderID () const |
Definition at line 18 of file Shader.h.
bool PixelShader::Load | ( | const char * | file | ) |
Loads a pixel shader from a file.
[in] | file | the name of the shader file. |
Definition at line 99 of file Shader.cpp.
Referenced by ShaderProgram::Load().
bool PixelShader::LoadFromMemory | ( | const char * | src | ) |
Loads a pixel shader from memory.
[in] | src | the source of the shader. |
Definition at line 105 of file Shader.cpp.
Referenced by ShaderProgram::LoadFromMemory().
GLuint PixelShader::GetShaderID | ( | ) | const [inline] |
Definition at line 52 of file Shader.h.
Referenced by ShaderProgram::CreateShaderProgram(), and ShaderProgram::~ShaderProgram().