#include <RenderTiny_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 | ~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 140 of file RenderTiny_Device.h.
OVR::RenderTiny::Shader::Shader | ( | ShaderStage | s | ) | [inline] |
Definition at line 148 of file RenderTiny_Device.h.
virtual OVR::RenderTiny::Shader::~Shader | ( | ) | [inline, virtual] |
Reimplemented in OVR::RenderTiny::D3D10::Shader< SStage, D3DShaderType >, and OVR::RenderTiny::GL::Shader.
Definition at line 149 of file RenderTiny_Device.h.
ShaderStage OVR::RenderTiny::Shader::GetStage | ( | ) | const [inline] |
Definition at line 151 of file RenderTiny_Device.h.
virtual void OVR::RenderTiny::Shader::Set | ( | PrimitiveType | ) | const [inline, virtual] |
Reimplemented in OVR::RenderTiny::D3D10::Shader< SStage, D3DShaderType >, OVR::RenderTiny::D3D10::Shader< SStage, D3DShaderType >, and OVR::RenderTiny::D3D10::Shader< SStage, D3DShaderType >.
Definition at line 153 of file RenderTiny_Device.h.
virtual bool OVR::RenderTiny::Shader::SetUniform | ( | const char * | name, |
int | n, | ||
const float * | v | ||
) | [inline, protected, virtual] |
Reimplemented in OVR::RenderTiny::D3D10::ShaderBase.
Definition at line 157 of file RenderTiny_Device.h.
virtual void OVR::RenderTiny::Shader::SetUniformBuffer | ( | class Buffer * | buffers, |
int | i = 0 |
||
) | [inline, virtual] |
Reimplemented in OVR::RenderTiny::D3D10::Shader< SStage, D3DShaderType >, OVR::RenderTiny::D3D10::Shader< SStage, D3DShaderType >, and OVR::RenderTiny::D3D10::Shader< SStage, D3DShaderType >.
Definition at line 154 of file RenderTiny_Device.h.
friend class ShaderSet [friend] |
Definition at line 142 of file RenderTiny_Device.h.
ShaderStage OVR::RenderTiny::Shader::Stage [protected] |
Definition at line 145 of file RenderTiny_Device.h.