mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-10 13:18:31 +09:00
[Feat] (MG_Util/Texture): use fallback formats when GL_EXT_texture_norm16 is not supported
This commit is contained in:
@@ -9,5 +9,9 @@
|
||||
#include <Includes.h>
|
||||
|
||||
namespace MobileGL::MG_Util::TextureFormatProcessor {
|
||||
void NormalizePixelFormat(GLenum internalFormat, GLenum* outInternalFormat, GLenum* outFormat, GLenum* outType);
|
||||
enum class PixelFormatNormalizeOptionBit : Uint {
|
||||
NoNorm16 = 1 << 0,
|
||||
None = 0,
|
||||
};
|
||||
void NormalizePixelFormat(GLenum internalFormat, Flags<PixelFormatNormalizeOptionBit> options, GLenum* outInternalFormat, GLenum* outFormat, GLenum* outType);
|
||||
} // namespace MobileGL::MG_Util::TextureFormatProcessor
|
||||
Reference in New Issue
Block a user