Function bgfx_sys::bgfx_copy

source ·
pub unsafe extern "C" fn bgfx_copy(
    _data: *const c_void,
    _size: u32
) -> *const bgfx_memory_t
Expand description

Allocate buffer and copy data into it. Data will be freed inside bgfx.

@param[in] _data Pointer to data to be copied. @param[in] _size Size of data to be copied.

@returns Allocated memory.