pub async fn new_headless_device_queue_and_target(
width: u32,
height: u32,
instance: &Instance,
) -> Result<(Adapter, Device, Queue, RenderTarget), ContextError>
Expand description
Create a new suite of wgpu
machinery that renders to a texture.
ยงNote
This function is used internally.