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

#include <Render_Device.h>

Inheritance diagram for OVR::Render::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 186 of file Render_Device.h.


Constructor & Destructor Documentation

Reimplemented in OVR::Render::GL::ShaderSet.

Definition at line 192 of file Render_Device.h.

Reimplemented in OVR::Render::GL::ShaderSet.

Definition at line 193 of file Render_Device.h.


Member Function Documentation

Shader* OVR::Render::ShaderSet::GetShader ( int  stage) [inline]

Definition at line 203 of file Render_Device.h.

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

Reimplemented in OVR::Render::GL::ShaderSet.

Definition at line 205 of file Render_Device.h.

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

Reimplemented in OVR::Render::GL::ShaderSet.

Definition at line 195 of file Render_Device.h.

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

Reimplemented in OVR::Render::GL::ShaderSet.

Definition at line 215 of file Render_Device.h.

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

Definition at line 224 of file Render_Device.h.

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

Definition at line 229 of file Render_Device.h.

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

Definition at line 234 of file Render_Device.h.

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

Definition at line 244 of file Render_Device.h.

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

Reimplemented in OVR::Render::ShaderSetMatrixTranspose, and OVR::Render::GL::ShaderSet.

Definition at line 248 of file Render_Device.h.

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

Definition at line 239 of file Render_Device.h.

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

Reimplemented in OVR::Render::GL::ShaderSet.

Definition at line 199 of file Render_Device.h.


Member Data Documentation

Definition at line 189 of file Render_Device.h.


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


oculus_sdk
Author(s):
autogenerated on Fri Aug 28 2015 11:53:12