allocate

Function allocate 

Source
pub unsafe fn allocate(handle: &Handle, size: Size<u32>) -> Allocation
Expand description

Creates a new Allocation for the given handle.

This should only be used internally by renderer implementations.

ยงSafety

Must only be created once the Handle is allocated in memory.