Type Alias bgfx_sys::bgfx_memory_t
source · pub type bgfx_memory_t = bgfx_memory_s;
Expand description
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.
Aliased Type§
struct bgfx_memory_t {
pub data: *mut u8,
pub size: u32,
}
Fields§
§data: *mut u8
§size: u32
Pointer to data.