|
Bike-X
0.8
|
#include "CAPI_GL_Util.h"


Data Structures | |
| struct | Uniform |
Public Types | |
| enum | VarType { VARTYPE_FLOAT, VARTYPE_INT, VARTYPE_BOOL } |
Public Member Functions | |
| ShaderBase (RenderParams *rp, ShaderStage stage) | |
| ~ShaderBase () | |
| void | InitUniforms (const Uniform *refl, size_t reflSize) |
| bool | SetUniform (const char *name, int n, const float *v) |
| bool | SetUniformBool (const char *name, int n, const bool *v) |
Public Member Functions inherited from OVR::CAPI::GL::Shader | |
| Shader (ShaderStage s) | |
| virtual | ~Shader () |
| ShaderStage | GetStage () const |
| virtual void | Set (PrimitiveType) const |
| virtual void | SetUniformBuffer (class Buffer *buffers, int i=0) |
Public Member Functions inherited from OVR::RefCountBase< Shader > | |
| OVR_FORCE_INLINE | RefCountBase () |
Public Member Functions inherited from OVR::RefCountBaseStatImpl< RefCountImpl > | |
| RefCountBaseStatImpl () | |
Public Member Functions inherited from OVR::RefCountImpl | |
| void | AddRef () |
| void | Release () |
Public Member Functions inherited from OVR::RefCountImplCore | |
| OVR_FORCE_INLINE | RefCountImplCore () |
| virtual | ~RefCountImplCore () |
| int | GetRefCount () const |
| void | operator= (const RefCountImplCore &) |
Data Fields | |
| RenderParams * | pParams |
| unsigned char * | UniformData |
| int | UniformsSize |
| const Uniform * | UniformRefl |
| size_t | UniformReflSize |
Additional Inherited Members | |
Static Public Member Functions inherited from OVR::RefCountImplCore | |
| static void | checkInvalidDelete (RefCountImplCore *) |
Protected Attributes inherited from OVR::CAPI::GL::Shader | |
| ShaderStage | Stage |
Protected Attributes inherited from OVR::RefCountImplCore | |
| volatile int | RefCount |
Definition at line 442 of file CAPI_GL_Util.h.
| struct OVR::CAPI::GL::ShaderBase::Uniform |
Definition at line 456 of file CAPI_GL_Util.h.

| Data Fields | ||
|---|---|---|
| const char * | Name | |
| int | Offset | |
| int | Size | |
| VarType | Type | |
| Enumerator | |
|---|---|
| VARTYPE_FLOAT | |
| VARTYPE_INT | |
| VARTYPE_BOOL | |
Definition at line 449 of file CAPI_GL_Util.h.
|
inline |
Definition at line 465 of file CAPI_GL_Util.h.
|
inline |
Definition at line 466 of file CAPI_GL_Util.h.
| void OVR::CAPI::GL::ShaderBase::InitUniforms | ( | const Uniform * | refl, |
| size_t | reflSize | ||
| ) |
Definition at line 434 of file CAPI_GL_Util.cpp.
|
virtual |
Reimplemented from OVR::CAPI::GL::Shader.
Definition at line 407 of file CAPI_GL_Util.cpp.
|
virtual |
Reimplemented from OVR::CAPI::GL::Shader.
Definition at line 420 of file CAPI_GL_Util.cpp.
| RenderParams* OVR::CAPI::GL::ShaderBase::pParams |
Definition at line 445 of file CAPI_GL_Util.h.
| unsigned char* OVR::CAPI::GL::ShaderBase::UniformData |
Definition at line 446 of file CAPI_GL_Util.h.
| const Uniform* OVR::CAPI::GL::ShaderBase::UniformRefl |
Definition at line 462 of file CAPI_GL_Util.h.
| size_t OVR::CAPI::GL::ShaderBase::UniformReflSize |
Definition at line 463 of file CAPI_GL_Util.h.
| int OVR::CAPI::GL::ShaderBase::UniformsSize |
Definition at line 447 of file CAPI_GL_Util.h.