Function table for memory space operations. More...
#include <memspace.h>

Public Attributes | |
| ID | id |
| The memory space identifier. | |
| String | name |
| Human-readable name of the memory space. | |
| bool(* | isHostAccessible )(const MemAllocation &alloc) |
| Returns true if the allocation is directly accessible from the host CPU. | |
| void(* | alloc )(MemAllocation &alloc) |
| Allocate memory. Size and align are pre-filled. | |
| void(* | release )(MemAllocation &alloc) |
| Release previously allocated memory. | |
| bool(* | copy )(const MemAllocation &src, const MemAllocation &dst, size_t bytes) |
| Copy bytes from this space to another. | |
| Error(* | fill )(void *ptr, size_t bytes, char value) |
| Fill memory with a byte value. | |
Function table for memory space operations.