mirror of
https://github.com/FyroxEngine/Fyrox.git
synced 2026-10-12 02:02:20 +00:00
added srgba8/srgb8 texture formats
This commit is contained in:
+2
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user