Generic data holder.
More...
#include <GLBuffer.h>
List of all members.
Public Member Functions |
| | clGLBuffer () |
| virtual | ~clGLBuffer () |
| virtual void | AfterConstruction () |
| virtual void | CreateBuffer (bool Read, bool Write, bool CopyHostMemory, size_t Size, void *HostPtr) |
| virtual void | ReadBuffer (bool BlockingRead, size_t Offset, size_t Size, void *ToPtr) |
| virtual void | BufferData (bool BlockingRead, void *FromPtr) |
| virtual void | BufferSubData (bool BlockingRead, size_t Offset, size_t Size, void *FromPtr) |
| virtual void | BindAsUniformBuffer () |
| virtual Luint | GetBufferID () const |
Private Attributes |
| Luint | FBufferID |
| Lenum | FTargetType |
| size_t | FSize |
Detailed Description
Constructor & Destructor Documentation
| clGLBuffer::clGLBuffer |
( |
| ) |
|
| clGLBuffer::~clGLBuffer |
( |
| ) |
[virtual] |
Member Function Documentation
| void clGLBuffer::AfterConstruction |
( |
| ) |
[virtual] |
| void clGLBuffer::BindAsUniformBuffer |
( |
| ) |
[virtual] |
| void clGLBuffer::BufferData |
( |
bool |
BlockingRead, |
|
|
void * |
FromPtr |
|
) |
| [virtual] |
| void clGLBuffer::BufferSubData |
( |
bool |
BlockingRead, |
|
|
size_t |
Offset, |
|
|
size_t |
Size, |
|
|
void * |
FromPtr |
|
) |
| [virtual] |
| void clGLBuffer::CreateBuffer |
( |
bool |
Read, |
|
|
bool |
Write, |
|
|
bool |
CopyHostMemory, |
|
|
size_t |
Size, |
|
|
void * |
HostPtr |
|
) |
| [virtual] |
Create new GPGPU buffer. Read/write define the access mode. If CopyHostMemory is true the buffer content will be initialized with data from HostPtr
Implements iGPUBuffer.
| virtual Luint clGLBuffer::GetBufferID |
( |
| ) |
const [inline, virtual] |
| void clGLBuffer::ReadBuffer |
( |
bool |
BlockingRead, |
|
|
size_t |
Offset, |
|
|
size_t |
Size, |
|
|
void * |
ToPtr |
|
) |
| [virtual] |
Member Data Documentation
The documentation for this class was generated from the following files: