- 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)
- readTo
void readTo(CLCommandQueue queue, void[] buffer, size_t offset, bool blocking, CLEvent[] wait_list, CLEvent* event)
- read
void[] read(CLCommandQueue queue, size_t size, size_t offset, bool blocking, CLEvent[] wait_list, CLEvent* event)
- write
void write(CLCommandQueue queue, void[] buffer, size_t offset, bool blocking, CLEvent[] wait_list, CLEvent* event)
- MemoryMap
struct MemoryMap
- MapFlag
enum MapFlag
Undocumented in source.
- mapBuffer
MemoryMap mapBuffer(CLCommandQueue queue, MapFlag mode, size_t offset, size_t cb, bool blocking, CLEvent[] wait_list, CLEvent* event)
Undocumented in source. Be warned that the author may not have intended to support it.
- info_list
enum string[] info_list;
Undocumented in source.
- selfDestroy
void selfDestroy()
Undocumented in source. Be warned that the author may not have intended to support it.