#include <Render_Device.h>
Public Member Functions | |
ShaderStage | GetStage () const |
virtual void | Set (PrimitiveType) const |
virtual void | SetUniformBuffer (class Buffer *buffers, int i=0) |
Shader (ShaderStage s) | |
virtual bool | UseTransposeMatrix () const |
virtual | ~Shader () |
Protected Member Functions | |
virtual bool | SetUniform (const char *name, int n, const float *v) |
Protected Attributes | |
ShaderStage | Stage |
Friends | |
class | ShaderSet |
Definition at line 161 of file Render_Device.h.
OVR::Render::Shader::Shader | ( | ShaderStage | s | ) | [inline] |
Definition at line 169 of file Render_Device.h.
virtual OVR::Render::Shader::~Shader | ( | ) | [inline, virtual] |
Reimplemented in OVR::Render::GL::Shader.
Definition at line 170 of file Render_Device.h.
ShaderStage OVR::Render::Shader::GetStage | ( | ) | const [inline] |
Definition at line 172 of file Render_Device.h.
virtual void OVR::Render::Shader::Set | ( | PrimitiveType | ) | const [inline, virtual] |
Definition at line 174 of file Render_Device.h.
virtual bool OVR::Render::Shader::SetUniform | ( | const char * | name, |
int | n, | ||
const float * | v | ||
) | [inline, protected, virtual] |
Definition at line 179 of file Render_Device.h.
virtual void OVR::Render::Shader::SetUniformBuffer | ( | class Buffer * | buffers, |
int | i = 0 |
||
) | [inline, virtual] |
Definition at line 175 of file Render_Device.h.
virtual bool OVR::Render::Shader::UseTransposeMatrix | ( | ) | const [inline, virtual] |
Definition at line 176 of file Render_Device.h.
friend class ShaderSet [friend] |
Definition at line 163 of file Render_Device.h.
ShaderStage OVR::Render::Shader::Stage [protected] |
Definition at line 166 of file Render_Device.h.