Skip to main content

create_target

Function create_target 

Source
pub fn create_target(
    device: &Device,
    width: u32,
    height: u32,
) -> (Texture, TextureView)
Expand description

An Rgba8Unorm render target the engine can draw into, copy out of and sample.