pub fn upload_image_linear(
device: &Device,
queue: &Queue,
label: &str,
img: &ImageBuffer,
) -> Option<TextureView>Expand description
Upload a 2D ImageBuffer (all mips) as linear RGBA8, the way the D3D9 renderer samples it.
pub fn upload_image_linear(
device: &Device,
queue: &Queue,
label: &str,
img: &ImageBuffer,
) -> Option<TextureView>Upload a 2D ImageBuffer (all mips) as linear RGBA8, the way the D3D9 renderer samples it.