pub fn upload_rgba8_texture(
ctx: &GpuContextHandle,
width: u32,
height: u32,
data: &[u8],
) -> Result<GpuImageHandle, GpuError>Expand description
Convenience helper for uploading an RGBA8 texture with basic size/length validation.
pub fn upload_rgba8_texture(
ctx: &GpuContextHandle,
width: u32,
height: u32,
data: &[u8],
) -> Result<GpuImageHandle, GpuError>Convenience helper for uploading an RGBA8 texture with basic size/length validation.