mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-10 13:18:31 +09:00
[Fix] (MG_Backend/DirectGLES): make format caveats probe-driven
This commit is contained in:
@@ -15,9 +15,13 @@ namespace MobileGL {
|
||||
NoSnorm16 = 1 << 1,
|
||||
NoRgb16 = 1 << 2,
|
||||
NoSnorm8 = 1 << 3,
|
||||
NoDepthComponent32 = 1 << 4,
|
||||
None = 0,
|
||||
};
|
||||
namespace MG_Util::TextureFormatProcessor {
|
||||
Flags<PixelFormatNormalizeOptionBit>
|
||||
GetApplicablePixelFormatNormalizeOptions(GLenum internalFormat,
|
||||
Flags<PixelFormatNormalizeOptionBit> options);
|
||||
void NormalizePixelFormat(GLenum internalFormat, Flags<PixelFormatNormalizeOptionBit> options,
|
||||
GLenum* outInternalFormat, GLenum* outFormat, GLenum* outType);
|
||||
} // namespace MG_Util::TextureFormatProcessor
|
||||
|
||||
Reference in New Issue
Block a user