CL_VertexArrayBufferProvider Class Reference
[clanDisplay Display]

Vertex Array Buffer provider. More...

#include <vertex_array_buffer_provider.h>

List of all members.

Public Member Functions

Construction

virtual ~CL_VertexArrayBufferProvider ()
virtual void create (int size, CL_BufferUsage usage)=0
 Constructs a vertex array buffer.
virtual void create (void *data, int size, CL_BufferUsage usage)=0
 Create.
virtual void destroy ()=0
 Destroys the vertex array buffer provider.
Attributes

virtual void * get_data ()=0
 Retrieves a pointer to the mapped buffer.
Operations

virtual void lock (CL_BufferAccess access)=0
 Maps vertex buffer into system memory.
virtual void unlock ()=0
 Unmaps vertex buffer.
virtual void upload_data (int offset, void *data, int size)=0
 Uploads data to vertex array buffer.

Detailed Description

Vertex Array Buffer provider.


Constructor & Destructor Documentation

virtual CL_VertexArrayBufferProvider::~CL_VertexArrayBufferProvider (  )  [inline, virtual]

Member Function Documentation

virtual void CL_VertexArrayBufferProvider::create ( int  size,
CL_BufferUsage  usage 
) [pure virtual]

Constructs a vertex array buffer.

virtual void CL_VertexArrayBufferProvider::create ( void *  data,
int  size,
CL_BufferUsage  usage 
) [pure virtual]

Create.

Parameters:
data = void
size = value
usage = Buffer Usage
virtual void CL_VertexArrayBufferProvider::destroy (  )  [pure virtual]

Destroys the vertex array buffer provider.

virtual void* CL_VertexArrayBufferProvider::get_data (  )  [pure virtual]

Retrieves a pointer to the mapped buffer.

virtual void CL_VertexArrayBufferProvider::lock ( CL_BufferAccess  access  )  [pure virtual]

Maps vertex buffer into system memory.

virtual void CL_VertexArrayBufferProvider::unlock (  )  [pure virtual]

Unmaps vertex buffer.

virtual void CL_VertexArrayBufferProvider::upload_data ( int  offset,
void *  data,
int  size 
) [pure virtual]

Uploads data to vertex array buffer.


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