allocate

Function allocate 

pub unsafe fn allocate(handle: &Handle, size: Size<u32>) -> Allocation
Available on crate feature advanced only.
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.