Skip to main content

alloc_backdrop_slot

Function alloc_backdrop_slot 

Source
pub fn alloc_backdrop_slot(
    render_device: &RenderDevice,
    size: UVec2,
    format: TextureFormat,
) -> BackdropSlot
Expand description

Allocate a layer’s backdrop slot at the capture’s size and format.