added srgba8/srgb8 texture formats

This commit is contained in:
Dmitry Stepanov
2025-09-30 10:57:23 +03:00
parent ad78773d3b
commit 16cd27dd76
2 changed files with 6 additions and 1 deletions
+2
View File
@@ -104,6 +104,8 @@ pub fn convert_pixel_kind(texture_kind: TexturePixelKind) -> PixelKind {
TexturePixelKind::LuminanceAlpha16 => PixelKind::LA16,
TexturePixelKind::R32F => PixelKind::R32F,
TexturePixelKind::R16F => PixelKind::R16F,
TexturePixelKind::SRGBA8 => PixelKind::SRGBA8,
TexturePixelKind::SRGB8 => PixelKind::SRGB8,
}
}