#include <spOpenCLBuffer.hpp>
List of all members.
Detailed Description
- Since:
- Version 3.2
Constructor & Destructor Documentation
sp::video::OpenCLBuffer::~OpenCLBuffer |
( |
|
) |
|
Member Function Documentation
u32 sp::video::OpenCLBuffer::getBufferSize |
( |
|
) |
const [inline] |
Returns the size in bytes of this OpenCL buffer.
bool sp::video::OpenCLBuffer::isCustomBuffer |
( |
|
) |
const [inline] |
Returns true if this is a custom buffer. Otherwise it refers to a hardware mesh- or texture buffer. In this case you have to care about locking and unlocking the buffer before running a shader which is using it.
void sp::video::OpenCLBuffer::lock |
( |
|
) |
|
void sp::video::OpenCLBuffer::readBuffer |
( |
void * |
Buffer, |
|
|
u32 |
Size, |
|
|
u32 |
Offset = 0 | |
|
) |
| | |
void sp::video::OpenCLBuffer::unlock |
( |
|
) |
|
void sp::video::OpenCLBuffer::writeBuffer |
( |
const void * |
Buffer, |
|
|
u32 |
Size, |
|
|
u32 |
Offset = 0 | |
|
) |
| | |
Friends And Related Function Documentation
The documentation for this class was generated from the following file:
- D:/SoftwareEntwicklung/C++/HLC/Tools/SoftPixelEngine/repository/sources/Framework/OpenCL/spOpenCLBuffer.hpp