CL_ElementArrayBufferProvider Class Reference
[clanDisplay Display]

Element Array Buffer provider. More...

#include <element_array_buffer_provider.h>

List of all members.

Public Member Functions

Construction

virtual ~CL_ElementArrayBufferProvider ()
virtual void create (int size, CL_BufferUsage usage)=0
 Constructs a element array buffer.
virtual void create (void *data, int size, CL_BufferUsage usage)=0
 Create.
virtual void destroy ()=0
 Destroys the element 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 element buffer into system memory.
virtual void unlock ()=0
 Unmaps element buffer.
virtual void upload_data (int offset, void *data, int size)=0
 Uploads data to element array buffer.

Detailed Description

Element Array Buffer provider.


Constructor & Destructor Documentation

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

Member Function Documentation

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

Constructs a element array buffer.

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

Create.

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

Destroys the element array buffer provider.

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

Retrieves a pointer to the mapped buffer.

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

Maps element buffer into system memory.

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

Unmaps element buffer.

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

Uploads data to element array buffer.


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