Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OVR::CAPI::GL::Shader Class Reference

#include "CAPI_GL_Util.h"

Inheritance diagram for OVR::CAPI::GL::Shader:
Inheritance graph
Collaboration diagram for OVR::CAPI::GL::Shader:
Collaboration graph

Public Member Functions

 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 &)
 

Protected Member Functions

virtual bool SetUniform (const char *name, int n, const float *v)
 
virtual bool SetUniformBool (const char *name, int n, const bool *v)
 

Protected Attributes

ShaderStage Stage
 
- Protected Attributes inherited from OVR::RefCountImplCore
volatile int RefCount
 

Friends

class ShaderSet
 

Additional Inherited Members

- Static Public Member Functions inherited from OVR::RefCountImplCore
static void checkInvalidDelete (RefCountImplCore *)
 

Detailed Description

Definition at line 282 of file CAPI_GL_Util.h.

Constructor & Destructor Documentation

OVR::CAPI::GL::Shader::Shader ( ShaderStage  s)
inline

Definition at line 290 of file CAPI_GL_Util.h.

virtual OVR::CAPI::GL::Shader::~Shader ( )
inlinevirtual

Definition at line 291 of file CAPI_GL_Util.h.

Member Function Documentation

ShaderStage OVR::CAPI::GL::Shader::GetStage ( ) const
inline

Definition at line 293 of file CAPI_GL_Util.h.

virtual void OVR::CAPI::GL::Shader::Set ( PrimitiveType  ) const
inlinevirtual

Definition at line 295 of file CAPI_GL_Util.h.

virtual bool OVR::CAPI::GL::Shader::SetUniform ( const char *  name,
int  n,
const float *  v 
)
inlineprotectedvirtual

Reimplemented in OVR::CAPI::GL::ShaderBase.

Definition at line 299 of file CAPI_GL_Util.h.

virtual bool OVR::CAPI::GL::Shader::SetUniformBool ( const char *  name,
int  n,
const bool *  v 
)
inlineprotectedvirtual

Reimplemented in OVR::CAPI::GL::ShaderBase.

Definition at line 300 of file CAPI_GL_Util.h.

virtual void OVR::CAPI::GL::Shader::SetUniformBuffer ( class Buffer buffers,
int  i = 0 
)
inlinevirtual

Definition at line 296 of file CAPI_GL_Util.h.

Friends And Related Function Documentation

friend class ShaderSet
friend

Definition at line 284 of file CAPI_GL_Util.h.

Field Documentation

ShaderStage OVR::CAPI::GL::Shader::Stage
protected

Definition at line 287 of file CAPI_GL_Util.h.


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