PmrResource struct
#include <bedrock/pmr.h>
Polymorphic memory resource.
Embed this as the first member of a custom resource, then cast a PmrResource * back to the derived pointer. The vtable has three slots. A later optional slot may be appended only when NULL means "unsupported".
Public variables
- const PmrResourceVtable* vtable
- Operations for this resource.