Bike-X
0.8
|
#include "CAPI_GL_Util.h"
Public Member Functions | |
ShaderImpl (RenderParams *rp, void *s, size_t size, const Uniform *refl, size_t reflSize) | |
~ShaderImpl () | |
bool | Compile (const char *src) |
GLenum | GLStage () const |
Public Member Functions inherited from OVR::CAPI::GL::ShaderBase | |
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 &) |
Private Attributes | |
GLuint | GLShader |
Friends | |
class | ShaderSet |
Additional Inherited Members | |
Public Types inherited from OVR::CAPI::GL::ShaderBase | |
enum | VarType { VARTYPE_FLOAT, VARTYPE_INT, VARTYPE_BOOL } |
Static Public Member Functions inherited from OVR::RefCountImplCore | |
static void | checkInvalidDelete (RefCountImplCore *) |
Data Fields inherited from OVR::CAPI::GL::ShaderBase | |
RenderParams * | pParams |
unsigned char * | UniformData |
int | UniformsSize |
const Uniform * | UniformRefl |
size_t | UniformReflSize |
Protected Attributes inherited from OVR::CAPI::GL::Shader | |
ShaderStage | Stage |
Protected Attributes inherited from OVR::RefCountImplCore | |
volatile int | RefCount |
Definition at line 479 of file CAPI_GL_Util.h.
|
inline |
Definition at line 484 of file CAPI_GL_Util.h.
|
inline |
Definition at line 494 of file CAPI_GL_Util.h.
|
inline |
Definition at line 502 of file CAPI_GL_Util.h.
|
inline |
Definition at line 523 of file CAPI_GL_Util.h.
|
friend |
Definition at line 481 of file CAPI_GL_Util.h.
|
private |
Definition at line 529 of file CAPI_GL_Util.h.