- id
cl_mem id;
- Type
enum Type
- Flag
enum Flag
- flags
const(Flag[]) flags()
- createBuffer
CLMemory createBuffer(CLContext context, Flag[] flags, size_t size, void* host_ptr = null)
- readTo
void readTo(CLCommandQueue queue, void[] buffer, size_t offset = 0, bool blocking = true, CLEvent[] wait_list = [], CLEvent* event = null)
- read
void[] read(CLCommandQueue queue, size_t size, size_t offset = 0, bool blocking = true, CLEvent[] wait_list = [], CLEvent* event = null)
- write
void write(CLCommandQueue queue, void[] buffer, size_t offset = 0, bool blocking = true, CLEvent[] wait_list = [], CLEvent* event = null)
- MemoryMap
struct MemoryMap