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

#include "CAPI_GL_Util.h"

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

Public Member Functions

 Buffer (RenderParams *r)
 
 ~Buffer ()
 
GLuint GetBuffer ()
 
virtual size_t GetSize ()
 
virtual void * Map (size_t start, size_t size, int flags=0)
 
virtual bool Unmap (void *m)
 
virtual bool Data (int use, const void *buffer, size_t size)
 
- Public Member Functions inherited from OVR::RefCountBase< Buffer >
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

RenderParamspParams
 
size_t Size
 
GLenum Use
 
GLuint GLBuffer
 

Additional Inherited Members

- Static Public Member Functions inherited from OVR::RefCountImplCore
static void checkInvalidDelete (RefCountImplCore *)
 
- Protected Attributes inherited from OVR::RefCountImplCore
volatile int RefCount
 

Detailed Description

Definition at line 236 of file CAPI_GL_Util.h.

Constructor & Destructor Documentation

OVR::CAPI::GL::Buffer::Buffer ( RenderParams r)

Definition at line 205 of file CAPI_GL_Util.cpp.

OVR::CAPI::GL::Buffer::~Buffer ( )

Definition at line 209 of file CAPI_GL_Util.cpp.

Member Function Documentation

bool OVR::CAPI::GL::Buffer::Data ( int  use,
const void *  buffer,
size_t  size 
)
virtual

Definition at line 215 of file CAPI_GL_Util.cpp.

GLuint OVR::CAPI::GL::Buffer::GetBuffer ( )
inline

Definition at line 248 of file CAPI_GL_Util.h.

virtual size_t OVR::CAPI::GL::Buffer::GetSize ( )
inlinevirtual

Definition at line 250 of file CAPI_GL_Util.h.

void * OVR::CAPI::GL::Buffer::Map ( size_t  start,
size_t  size,
int  flags = 0 
)
virtual

Definition at line 237 of file CAPI_GL_Util.cpp.

bool OVR::CAPI::GL::Buffer::Unmap ( void *  m)
virtual

Definition at line 248 of file CAPI_GL_Util.cpp.

Field Documentation

GLuint OVR::CAPI::GL::Buffer::GLBuffer

Definition at line 242 of file CAPI_GL_Util.h.

RenderParams* OVR::CAPI::GL::Buffer::pParams

Definition at line 239 of file CAPI_GL_Util.h.

size_t OVR::CAPI::GL::Buffer::Size

Definition at line 240 of file CAPI_GL_Util.h.

GLenum OVR::CAPI::GL::Buffer::Use

Definition at line 241 of file CAPI_GL_Util.h.


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