bgfx_alloc

Function 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.