#include "CAPI_GL_Util.h"
|
| ShaderSet () |
|
| ~ShaderSet () |
|
virtual void | SetShader (Shader *s) |
|
virtual void | UnsetShader (int stage) |
|
Shader * | GetShader (int stage) |
|
virtual void | Set (PrimitiveType prim) const |
|
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 | SetUniform3f (const char *name, float x, float y, float z) |
|
bool | SetUniform4f (const char *name, float x, float y, float z, float w=1) |
|
bool | SetUniformv (const char *name, const Vector3f &v) |
|
virtual bool | SetUniform4x4f (const char *name, const Matrix4f &m) |
|
OVR_FORCE_INLINE | RefCountBase () |
|
| RefCountBaseStatImpl () |
|
void | AddRef () |
|
void | Release () |
|
OVR_FORCE_INLINE | RefCountImplCore () |
|
virtual | ~RefCountImplCore () |
|
int | GetRefCount () const |
|
void | operator= (const RefCountImplCore &) |
|
Definition at line 307 of file CAPI_GL_Util.h.
struct OVR::CAPI::GL::ShaderSet::Uniform |
OVR::CAPI::GL::ShaderSet::ShaderSet |
( |
| ) |
|
OVR::CAPI::GL::ShaderSet::~ShaderSet |
( |
| ) |
|
GLint OVR::CAPI::GL::ShaderSet::GetGLShader |
( |
Shader * |
s | ) |
|
|
protected |
Shader* OVR::CAPI::GL::ShaderSet::GetShader |
( |
int |
stage | ) |
|
|
inline |
bool OVR::CAPI::GL::ShaderSet::Link |
( |
| ) |
|
|
protected |
virtual void OVR::CAPI::GL::ShaderSet::Set |
( |
PrimitiveType |
prim | ) |
const |
|
inlinevirtual |
void OVR::CAPI::GL::ShaderSet::SetShader |
( |
Shader * |
s | ) |
|
|
virtual |
bool OVR::CAPI::GL::ShaderSet::SetUniform |
( |
const char * |
name, |
|
|
int |
n, |
|
|
const float * |
v |
|
) |
| |
|
virtual |
bool OVR::CAPI::GL::ShaderSet::SetUniform1f |
( |
const char * |
name, |
|
|
float |
x |
|
) |
| |
|
inline |
bool OVR::CAPI::GL::ShaderSet::SetUniform2f |
( |
const char * |
name, |
|
|
float |
x, |
|
|
float |
y |
|
) |
| |
|
inline |
bool OVR::CAPI::GL::ShaderSet::SetUniform3f |
( |
const char * |
name, |
|
|
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
|
inline |
bool OVR::CAPI::GL::ShaderSet::SetUniform4f |
( |
const char * |
name, |
|
|
float |
x, |
|
|
float |
y, |
|
|
float |
z, |
|
|
float |
w = 1 |
|
) |
| |
|
inline |
virtual bool OVR::CAPI::GL::ShaderSet::SetUniform4x4f |
( |
const char * |
name, |
|
|
const Matrix4f & |
m |
|
) |
| |
|
inlinevirtual |
bool OVR::CAPI::GL::ShaderSet::SetUniformv |
( |
const char * |
name, |
|
|
const Vector3f & |
v |
|
) |
| |
|
inline |
void OVR::CAPI::GL::ShaderSet::UnsetShader |
( |
int |
stage | ) |
|
|
virtual |
int OVR::CAPI::GL::ShaderSet::LightingVer |
GLuint OVR::CAPI::GL::ShaderSet::Prog |
GLint OVR::CAPI::GL::ShaderSet::ProjLoc |
GLint OVR::CAPI::GL::ShaderSet::TexLoc[8] |
bool OVR::CAPI::GL::ShaderSet::UsesLighting |
GLint OVR::CAPI::GL::ShaderSet::ViewLoc |
The documentation for this class was generated from the following files: