Linderdaum Engine: iGPUBuffer Class Reference
Updated: Mon May 14 2012 05:02:36
iGPUBuffer Class Reference

#include <iGPUBuffer.h>

List of all members.

Public Member Functions

 iGPUBuffer ()
virtual void CreateBuffer (bool Read, bool Write, bool CopyHostMemory, size_t Size, void *HostPtr)=0
virtual void ReadBuffer (bool BlockingRead, size_t Offset, size_t Size, void *ToPtr)=0
virtual void BufferData (bool BlockingRead, void *FromPtr)=0
virtual void BufferSubData (bool BlockingRead, size_t Offset, size_t Size, void *FromPtr)=0
virtual void BindAsUniformBuffer ()

Constructor & Destructor Documentation

iGPUBuffer::iGPUBuffer ( ) [inline]

Member Function Documentation

virtual void iGPUBuffer::BindAsUniformBuffer ( ) [inline, virtual]

Reimplemented in clGLBuffer.

virtual void iGPUBuffer::BufferData ( bool  BlockingRead,
void *  FromPtr 
) [pure virtual]

Implemented in clCLBuffer, and clGLBuffer.

virtual void iGPUBuffer::BufferSubData ( bool  BlockingRead,
size_t  Offset,
size_t  Size,
void *  FromPtr 
) [pure virtual]

Implemented in clCLBuffer, and clGLBuffer.

virtual void iGPUBuffer::CreateBuffer ( bool  Read,
bool  Write,
bool  CopyHostMemory,
size_t  Size,
void *  HostPtr 
) [pure 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

Implemented in clCLBuffer, and clGLBuffer.

virtual void iGPUBuffer::ReadBuffer ( bool  BlockingRead,
size_t  Offset,
size_t  Size,
void *  ToPtr 
) [pure virtual]

Implemented in clCLBuffer, and clGLBuffer.


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