Public Member Functions | Protected Attributes
OVR::RenderTiny::ShaderSet Class Reference

#include <RenderTiny_Device.h>

Inheritance diagram for OVR::RenderTiny::ShaderSet:
Inheritance graph
[legend]

List of all members.

Public Member Functions

ShaderGetShader (int stage)
virtual void Set (PrimitiveType prim) const
virtual void SetShader (Shader *s)
virtual bool SetUniform (const char *name, int n, const float *v)
bool SetUniform1f (const char *name, float x)
bool SetUniform2f (const char *name, float x, float y)
bool SetUniform4f (const char *name, float x, float y, float z, float w=1)
bool SetUniform4fv (const char *name, int n, const Vector4f *v)
virtual bool SetUniform4x4f (const char *name, const Matrix4f &m)
bool SetUniformv (const char *name, const Vector3f &v)
 ShaderSet ()
virtual void UnsetShader (int stage)
 ~ShaderSet ()

Protected Attributes

Ptr< ShaderShaders [Shader_Count]

Detailed Description

Definition at line 163 of file RenderTiny_Device.h.


Constructor & Destructor Documentation

Reimplemented in OVR::RenderTiny::GL::ShaderSet.

Definition at line 169 of file RenderTiny_Device.h.

Reimplemented in OVR::RenderTiny::GL::ShaderSet.

Definition at line 170 of file RenderTiny_Device.h.


Member Function Documentation

Definition at line 180 of file RenderTiny_Device.h.

virtual void OVR::RenderTiny::ShaderSet::Set ( PrimitiveType  prim) const [inline, virtual]

Reimplemented in OVR::RenderTiny::GL::ShaderSet.

Definition at line 182 of file RenderTiny_Device.h.

virtual void OVR::RenderTiny::ShaderSet::SetShader ( Shader s) [inline, virtual]

Reimplemented in OVR::RenderTiny::GL::ShaderSet.

Definition at line 172 of file RenderTiny_Device.h.

virtual bool OVR::RenderTiny::ShaderSet::SetUniform ( const char *  name,
int  n,
const float *  v 
) [inline, virtual]

Reimplemented in OVR::RenderTiny::GL::ShaderSet.

Definition at line 192 of file RenderTiny_Device.h.

bool OVR::RenderTiny::ShaderSet::SetUniform1f ( const char *  name,
float  x 
) [inline]

Definition at line 201 of file RenderTiny_Device.h.

bool OVR::RenderTiny::ShaderSet::SetUniform2f ( const char *  name,
float  x,
float  y 
) [inline]

Definition at line 206 of file RenderTiny_Device.h.

bool OVR::RenderTiny::ShaderSet::SetUniform4f ( const char *  name,
float  x,
float  y,
float  z,
float  w = 1 
) [inline]

Definition at line 211 of file RenderTiny_Device.h.

bool OVR::RenderTiny::ShaderSet::SetUniform4fv ( const char *  name,
int  n,
const Vector4f v 
) [inline]

Definition at line 221 of file RenderTiny_Device.h.

virtual bool OVR::RenderTiny::ShaderSet::SetUniform4x4f ( const char *  name,
const Matrix4f m 
) [inline, virtual]

Reimplemented in OVR::RenderTiny::GL::ShaderSet.

Definition at line 225 of file RenderTiny_Device.h.

bool OVR::RenderTiny::ShaderSet::SetUniformv ( const char *  name,
const Vector3f v 
) [inline]

Definition at line 216 of file RenderTiny_Device.h.

virtual void OVR::RenderTiny::ShaderSet::UnsetShader ( int  stage) [inline, virtual]

Reimplemented in OVR::RenderTiny::GL::ShaderSet.

Definition at line 176 of file RenderTiny_Device.h.


Member Data Documentation

Definition at line 166 of file RenderTiny_Device.h.


The documentation for this class was generated from the following file:


oculus_sdk
Author(s):
autogenerated on Mon Oct 6 2014 03:01:21