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