Add basis_universal support for textures on Web

Add implementation for loading interchange texture formats with multiple runtime formats support
This commit is contained in:
Wojtek Figat
2026-03-06 11:09:29 +01:00
parent ac36840037
commit 94789712e8
68 changed files with 43439 additions and 50 deletions

View File

@@ -419,14 +419,21 @@ bool PixelFormatExtensions::IsHDR(const PixelFormat format)
{
switch (format)
{
case PixelFormat::R11G11B10_Float:
case PixelFormat::R10G10B10A2_UNorm:
case PixelFormat::R16G16B16A16_Float:
case PixelFormat::R32G32B32A32_Float:
case PixelFormat::R16G16_Float:
case PixelFormat::R16_Float:
case PixelFormat::BC6H_Sf16:
case PixelFormat::R16G16_Float:
case PixelFormat::R16G16B16A16_Float:
case PixelFormat::R32_Float:
case PixelFormat::R32G32_Float:
case PixelFormat::R32G32B32_Float:
case PixelFormat::R32G32B32A32_Float:
case PixelFormat::R11G11B10_Float:
case PixelFormat::R9G9B9E5_SharedExp:
case PixelFormat::BC6H_Typeless:
case PixelFormat::BC6H_Uf16:
case PixelFormat::BC6H_Sf16:
case PixelFormat::BC7_Typeless:
case PixelFormat::BC7_UNorm:
case PixelFormat::BC7_UNorm_sRGB:
return true;
default:
return false;