bgfx_memory_t

Memory must be obtained by calling bgfx::alloc, bgfx::copy, or bgfx::makeRef. @attention It is illegal to create this structure on stack and pass it to any bgfx API.

extern (C) @nogc nothrow
struct bgfx_memory_t {}

Members

Variables

data
byte* data;

Pointer to data.

size
uint size;

Data size.

Meta