bgfx_init_t.allocator

Custom allocator. When a custom allocator is not specified, bgfx uses the CRT allocator. Bgfx assumes custom allocator is thread safe.

struct bgfx_init_t
void* allocator;

Meta