libpromeki main
PROfessional MEdia toolKIt
 
Loading...
Searching...
No Matches
MemSpace::Ops Struct Reference

Function table for memory space operations. More...

#include <memspace.h>

Collaboration diagram for MemSpace::Ops:

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.
 

Detailed Description

Function table for memory space operations.


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