Function bgfx_sys::bgfx_alloc
source · pub unsafe extern "C" fn bgfx_alloc(
_size: u32
) -> *const bgfx_memory_t
Expand description
Allocate buffer to pass to bgfx calls. Data will be freed inside bgfx.
@param[in] _size Size to allocate.
@returns Allocated memory.