module Mischief.Render.TextureFormat where import Mischief.WGPU.Types.Enums data TextureFormat = Undefined | R8Unorm | R8Snorm | R8Uint | R8Sint | R16Unorm | R16Snorm | R16Uint | R16Sint | R16Float | RG8Unorm | RG8Snorm | RG8Uint | RG8Sint | R32Float | R32Uint | R32Sint | RG16Unorm | RG16Snorm | RG16Uint | RG16Sint | RG16Float | RGBA8Unorm | RGBA8UnormSrgb | RGBA8Snorm | RGBA8Uint | RGBA8Sint | BGRA8Unorm | BGRA8UnormSrgb | RGB10A2Uint | RGB10A2Unorm | RG11B10Ufloat | RGB9E5Ufloat | RG32Float | RG32Uint | RG32Sint | RGBA16Unorm | RGBA16Snorm | RGBA16Uint | RGBA16Sint | RGBA16Float | RGBA32Float | RGBA32Uint | RGBA32Sint | Stencil8 | Depth16Unorm | Depth24Plus | Depth24PlusStencil8 | Depth32Float | Depth32FloatStencil8 | BC1RGBAUnorm | BC1RGBAUnormSrgb | BC2RGBAUnorm | BC2RGBAUnormSrgb | BC3RGBAUnorm | BC3RGBAUnormSrgb | BC4RUnorm | BC4RSnorm | BC5RGUnorm | BC5RGSnorm | BC6HRGBUfloat | BC6HRGBFloat | BC7RGBAUnorm | BC7RGBAUnormSrgb | ETC2RGB8Unorm | ETC2RGB8UnormSrgb | ETC2RGB8A1Unorm | ETC2RGB8A1UnormSrgb | ETC2RGBA8Unorm | ETC2RGBA8UnormSrgb | EACR11Unorm | EACR11Snorm | EACRG11Unorm | EACRG11Snorm | ASTC4x4Unorm | ASTC4x4UnormSrgb | ASTC5x4Unorm | ASTC5x4UnormSrgb | ASTC5x5Unorm | ASTC5x5UnormSrgb | ASTC6x5Unorm | ASTC6x5UnormSrgb | ASTC6x6Unorm | ASTC6x6UnormSrgb | ASTC8x5Unorm | ASTC8x5UnormSrgb | ASTC8x6Unorm | ASTC8x6UnormSrgb | ASTC8x8Unorm | ASTC8x8UnormSrgb | ASTC10x5Unorm | ASTC10x5UnormSrgb | ASTC10x6Unorm | ASTC10x6UnormSrgb | ASTC10x8Unorm | ASTC10x8UnormSrgb | ASTC10x10Unorm | ASTC10x10UnormSrgb | ASTC12x10Unorm | ASTC12x10UnormSrgb | ASTC12x12Unorm | ASTC12x12UnormSrgb | Force32 deriving (Int -> TextureFormat -> ShowS [TextureFormat] -> ShowS TextureFormat -> String (Int -> TextureFormat -> ShowS) -> (TextureFormat -> String) -> ([TextureFormat] -> ShowS) -> Show TextureFormat forall a. (Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a $cshowsPrec :: Int -> TextureFormat -> ShowS showsPrec :: Int -> TextureFormat -> ShowS $cshow :: TextureFormat -> String show :: TextureFormat -> String $cshowList :: [TextureFormat] -> ShowS showList :: [TextureFormat] -> ShowS Show) toWGPUFormat :: TextureFormat -> WGPUTextureFormat toWGPUFormat :: TextureFormat -> WGPUTextureFormat toWGPUFormat TextureFormat Undefined = WGPUTextureFormat wGPUTextureFormat_Undefined toWGPUFormat TextureFormat R8Unorm = WGPUTextureFormat wGPUTextureFormat_R8Unorm toWGPUFormat TextureFormat R8Snorm = WGPUTextureFormat wGPUTextureFormat_R8Snorm toWGPUFormat TextureFormat R8Uint = WGPUTextureFormat wGPUTextureFormat_R8Uint toWGPUFormat TextureFormat R8Sint = WGPUTextureFormat wGPUTextureFormat_R8Sint toWGPUFormat TextureFormat R16Unorm = WGPUTextureFormat wGPUTextureFormat_R16Unorm toWGPUFormat TextureFormat R16Snorm = WGPUTextureFormat wGPUTextureFormat_R16Snorm toWGPUFormat TextureFormat R16Uint = WGPUTextureFormat wGPUTextureFormat_R16Uint toWGPUFormat TextureFormat R16Sint = WGPUTextureFormat wGPUTextureFormat_R16Sint toWGPUFormat TextureFormat R16Float = WGPUTextureFormat wGPUTextureFormat_R16Float toWGPUFormat TextureFormat RG8Unorm = WGPUTextureFormat wGPUTextureFormat_RG8Unorm toWGPUFormat TextureFormat RG8Snorm = WGPUTextureFormat wGPUTextureFormat_RG8Snorm toWGPUFormat TextureFormat RG8Uint = WGPUTextureFormat wGPUTextureFormat_RG8Uint toWGPUFormat TextureFormat RG8Sint = WGPUTextureFormat wGPUTextureFormat_RG8Sint toWGPUFormat TextureFormat R32Float = WGPUTextureFormat wGPUTextureFormat_R32Float toWGPUFormat TextureFormat R32Uint = WGPUTextureFormat wGPUTextureFormat_R32Uint toWGPUFormat TextureFormat R32Sint = WGPUTextureFormat wGPUTextureFormat_R32Sint toWGPUFormat TextureFormat RG16Unorm = WGPUTextureFormat wGPUTextureFormat_RG16Unorm toWGPUFormat TextureFormat RG16Snorm = WGPUTextureFormat wGPUTextureFormat_RG16Snorm toWGPUFormat TextureFormat RG16Uint = WGPUTextureFormat wGPUTextureFormat_RG16Uint toWGPUFormat TextureFormat RG16Sint = WGPUTextureFormat wGPUTextureFormat_RG16Sint toWGPUFormat TextureFormat RG16Float = WGPUTextureFormat wGPUTextureFormat_RG16Float toWGPUFormat TextureFormat RGBA8Unorm = WGPUTextureFormat wGPUTextureFormat_RGBA8Unorm toWGPUFormat TextureFormat RGBA8UnormSrgb = WGPUTextureFormat wGPUTextureFormat_RGBA8UnormSrgb toWGPUFormat TextureFormat RGBA8Snorm = WGPUTextureFormat wGPUTextureFormat_RGBA8Snorm toWGPUFormat TextureFormat RGBA8Uint = WGPUTextureFormat wGPUTextureFormat_RGBA8Uint toWGPUFormat TextureFormat RGBA8Sint = WGPUTextureFormat wGPUTextureFormat_RGBA8Sint toWGPUFormat TextureFormat BGRA8Unorm = WGPUTextureFormat wGPUTextureFormat_BGRA8Unorm toWGPUFormat TextureFormat BGRA8UnormSrgb = WGPUTextureFormat wGPUTextureFormat_BGRA8UnormSrgb toWGPUFormat TextureFormat RGB10A2Uint = WGPUTextureFormat wGPUTextureFormat_RGB10A2Uint toWGPUFormat TextureFormat RGB10A2Unorm = WGPUTextureFormat wGPUTextureFormat_RGB10A2Unorm toWGPUFormat TextureFormat RG11B10Ufloat = WGPUTextureFormat wGPUTextureFormat_RG11B10Ufloat toWGPUFormat TextureFormat RGB9E5Ufloat = WGPUTextureFormat wGPUTextureFormat_RGB9E5Ufloat toWGPUFormat TextureFormat RG32Float = WGPUTextureFormat wGPUTextureFormat_RG32Float toWGPUFormat TextureFormat RG32Uint = WGPUTextureFormat wGPUTextureFormat_RG32Uint toWGPUFormat TextureFormat RG32Sint = WGPUTextureFormat wGPUTextureFormat_RG32Sint toWGPUFormat TextureFormat RGBA16Unorm = WGPUTextureFormat wGPUTextureFormat_RGBA16Unorm toWGPUFormat TextureFormat RGBA16Snorm = WGPUTextureFormat wGPUTextureFormat_RGBA16Snorm toWGPUFormat TextureFormat RGBA16Uint = WGPUTextureFormat wGPUTextureFormat_RGBA16Uint toWGPUFormat TextureFormat RGBA16Sint = WGPUTextureFormat wGPUTextureFormat_RGBA16Sint toWGPUFormat TextureFormat RGBA16Float = WGPUTextureFormat wGPUTextureFormat_RGBA16Float toWGPUFormat TextureFormat RGBA32Float = WGPUTextureFormat wGPUTextureFormat_RGBA32Float toWGPUFormat TextureFormat RGBA32Uint = WGPUTextureFormat wGPUTextureFormat_RGBA32Uint toWGPUFormat TextureFormat RGBA32Sint = WGPUTextureFormat wGPUTextureFormat_RGBA32Sint toWGPUFormat TextureFormat Stencil8 = WGPUTextureFormat wGPUTextureFormat_Stencil8 toWGPUFormat TextureFormat Depth16Unorm = WGPUTextureFormat wGPUTextureFormat_Depth16Unorm toWGPUFormat TextureFormat Depth24Plus = WGPUTextureFormat wGPUTextureFormat_Depth24Plus toWGPUFormat TextureFormat Depth24PlusStencil8 = WGPUTextureFormat wGPUTextureFormat_Depth24PlusStencil8 toWGPUFormat TextureFormat Depth32Float = WGPUTextureFormat wGPUTextureFormat_Depth32Float toWGPUFormat TextureFormat Depth32FloatStencil8 = WGPUTextureFormat wGPUTextureFormat_Depth32FloatStencil8 toWGPUFormat TextureFormat BC1RGBAUnorm = WGPUTextureFormat wGPUTextureFormat_BC1RGBAUnorm toWGPUFormat TextureFormat BC1RGBAUnormSrgb = WGPUTextureFormat wGPUTextureFormat_BC1RGBAUnormSrgb toWGPUFormat TextureFormat BC2RGBAUnorm = WGPUTextureFormat wGPUTextureFormat_BC2RGBAUnorm toWGPUFormat TextureFormat BC2RGBAUnormSrgb = WGPUTextureFormat wGPUTextureFormat_BC2RGBAUnormSrgb toWGPUFormat TextureFormat BC3RGBAUnorm = WGPUTextureFormat wGPUTextureFormat_BC3RGBAUnorm toWGPUFormat TextureFormat BC3RGBAUnormSrgb = WGPUTextureFormat wGPUTextureFormat_BC3RGBAUnormSrgb toWGPUFormat TextureFormat BC4RUnorm = WGPUTextureFormat wGPUTextureFormat_BC4RUnorm toWGPUFormat TextureFormat BC4RSnorm = WGPUTextureFormat wGPUTextureFormat_BC4RSnorm toWGPUFormat TextureFormat BC5RGUnorm = WGPUTextureFormat wGPUTextureFormat_BC5RGUnorm toWGPUFormat TextureFormat BC5RGSnorm = WGPUTextureFormat wGPUTextureFormat_BC5RGSnorm toWGPUFormat TextureFormat BC6HRGBUfloat = WGPUTextureFormat wGPUTextureFormat_BC6HRGBUfloat toWGPUFormat TextureFormat BC6HRGBFloat = WGPUTextureFormat wGPUTextureFormat_BC6HRGBFloat toWGPUFormat TextureFormat BC7RGBAUnorm = WGPUTextureFormat wGPUTextureFormat_BC7RGBAUnorm toWGPUFormat TextureFormat BC7RGBAUnormSrgb = WGPUTextureFormat wGPUTextureFormat_BC7RGBAUnormSrgb toWGPUFormat TextureFormat ETC2RGB8Unorm = WGPUTextureFormat wGPUTextureFormat_ETC2RGB8Unorm toWGPUFormat TextureFormat ETC2RGB8UnormSrgb = WGPUTextureFormat wGPUTextureFormat_ETC2RGB8UnormSrgb toWGPUFormat TextureFormat ETC2RGB8A1Unorm = WGPUTextureFormat wGPUTextureFormat_ETC2RGB8A1Unorm toWGPUFormat TextureFormat ETC2RGB8A1UnormSrgb = WGPUTextureFormat wGPUTextureFormat_ETC2RGB8A1UnormSrgb toWGPUFormat TextureFormat ETC2RGBA8Unorm = WGPUTextureFormat wGPUTextureFormat_ETC2RGBA8Unorm toWGPUFormat TextureFormat ETC2RGBA8UnormSrgb = WGPUTextureFormat wGPUTextureFormat_ETC2RGBA8UnormSrgb toWGPUFormat TextureFormat EACR11Unorm = WGPUTextureFormat wGPUTextureFormat_EACR11Unorm toWGPUFormat TextureFormat EACR11Snorm = WGPUTextureFormat wGPUTextureFormat_EACR11Snorm toWGPUFormat TextureFormat EACRG11Unorm = WGPUTextureFormat wGPUTextureFormat_EACRG11Unorm toWGPUFormat TextureFormat EACRG11Snorm = WGPUTextureFormat wGPUTextureFormat_EACRG11Snorm toWGPUFormat TextureFormat ASTC4x4Unorm = WGPUTextureFormat wGPUTextureFormat_ASTC4x4Unorm toWGPUFormat TextureFormat ASTC4x4UnormSrgb = WGPUTextureFormat wGPUTextureFormat_ASTC4x4UnormSrgb toWGPUFormat TextureFormat ASTC5x4Unorm = WGPUTextureFormat wGPUTextureFormat_ASTC5x4Unorm toWGPUFormat TextureFormat ASTC5x4UnormSrgb = WGPUTextureFormat wGPUTextureFormat_ASTC5x4UnormSrgb toWGPUFormat TextureFormat ASTC5x5Unorm = WGPUTextureFormat wGPUTextureFormat_ASTC5x5Unorm toWGPUFormat TextureFormat ASTC5x5UnormSrgb = WGPUTextureFormat wGPUTextureFormat_ASTC5x5UnormSrgb toWGPUFormat TextureFormat ASTC6x5Unorm = WGPUTextureFormat wGPUTextureFormat_ASTC6x5Unorm toWGPUFormat TextureFormat ASTC6x5UnormSrgb = WGPUTextureFormat wGPUTextureFormat_ASTC6x5UnormSrgb toWGPUFormat TextureFormat ASTC6x6Unorm = WGPUTextureFormat wGPUTextureFormat_ASTC6x6Unorm toWGPUFormat TextureFormat ASTC6x6UnormSrgb = WGPUTextureFormat wGPUTextureFormat_ASTC6x6UnormSrgb toWGPUFormat TextureFormat ASTC8x5Unorm = WGPUTextureFormat wGPUTextureFormat_ASTC8x5Unorm toWGPUFormat TextureFormat ASTC8x5UnormSrgb = WGPUTextureFormat wGPUTextureFormat_ASTC8x5UnormSrgb toWGPUFormat TextureFormat ASTC8x6Unorm = WGPUTextureFormat wGPUTextureFormat_ASTC8x6Unorm toWGPUFormat TextureFormat ASTC8x6UnormSrgb = WGPUTextureFormat wGPUTextureFormat_ASTC8x6UnormSrgb toWGPUFormat TextureFormat ASTC8x8Unorm = WGPUTextureFormat wGPUTextureFormat_ASTC8x8Unorm toWGPUFormat TextureFormat ASTC8x8UnormSrgb = WGPUTextureFormat wGPUTextureFormat_ASTC8x8UnormSrgb toWGPUFormat TextureFormat ASTC10x5Unorm = WGPUTextureFormat wGPUTextureFormat_ASTC10x5Unorm toWGPUFormat TextureFormat ASTC10x5UnormSrgb = WGPUTextureFormat wGPUTextureFormat_ASTC10x5UnormSrgb toWGPUFormat TextureFormat ASTC10x6Unorm = WGPUTextureFormat wGPUTextureFormat_ASTC10x6Unorm toWGPUFormat TextureFormat ASTC10x6UnormSrgb = WGPUTextureFormat wGPUTextureFormat_ASTC10x6UnormSrgb toWGPUFormat TextureFormat ASTC10x8Unorm = WGPUTextureFormat wGPUTextureFormat_ASTC10x8Unorm toWGPUFormat TextureFormat ASTC10x8UnormSrgb = WGPUTextureFormat wGPUTextureFormat_ASTC10x8UnormSrgb toWGPUFormat TextureFormat ASTC10x10Unorm = WGPUTextureFormat wGPUTextureFormat_ASTC10x10Unorm toWGPUFormat TextureFormat ASTC10x10UnormSrgb = WGPUTextureFormat wGPUTextureFormat_ASTC10x10UnormSrgb toWGPUFormat TextureFormat ASTC12x10Unorm = WGPUTextureFormat wGPUTextureFormat_ASTC12x10Unorm toWGPUFormat TextureFormat ASTC12x10UnormSrgb = WGPUTextureFormat wGPUTextureFormat_ASTC12x10UnormSrgb toWGPUFormat TextureFormat ASTC12x12Unorm = WGPUTextureFormat wGPUTextureFormat_ASTC12x12Unorm toWGPUFormat TextureFormat ASTC12x12UnormSrgb = WGPUTextureFormat wGPUTextureFormat_ASTC12x12UnormSrgb toWGPUFormat TextureFormat Force32 = WGPUTextureFormat wGPUTextureFormat_Force32 fromWGPUFormat :: WGPUTextureFormat -> TextureFormat fromWGPUFormat :: WGPUTextureFormat -> TextureFormat fromWGPUFormat WGPUTextureFormat x | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_Undefined = TextureFormat Undefined | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_R8Unorm = TextureFormat R8Unorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_R8Snorm = TextureFormat R8Snorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_R8Uint = TextureFormat R8Uint | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_R8Sint = TextureFormat R8Sint | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_R16Unorm = TextureFormat R16Unorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_R16Snorm = TextureFormat R16Snorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_R16Uint = TextureFormat R16Uint | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_R16Sint = TextureFormat R16Sint | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_R16Float = TextureFormat R16Float | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_RG8Unorm = TextureFormat RG8Unorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_RG8Snorm = TextureFormat RG8Snorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_RG8Uint = TextureFormat RG8Uint | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_RG8Sint = TextureFormat RG8Sint | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_R32Float = TextureFormat R32Float | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_R32Uint = TextureFormat R32Uint | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_R32Sint = TextureFormat R32Sint | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_RG16Unorm = TextureFormat RG16Unorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_RG16Snorm = TextureFormat RG16Snorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_RG16Uint = TextureFormat RG16Uint | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_RG16Sint = TextureFormat RG16Sint | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_RG16Float = TextureFormat RG16Float | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_RGBA8Unorm = TextureFormat RGBA8Unorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_RGBA8UnormSrgb = TextureFormat RGBA8UnormSrgb | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_RGBA8Snorm = TextureFormat RGBA8Snorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_RGBA8Uint = TextureFormat RGBA8Uint | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_RGBA8Sint = TextureFormat RGBA8Sint | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_BGRA8Unorm = TextureFormat BGRA8Unorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_BGRA8UnormSrgb = TextureFormat BGRA8UnormSrgb | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_RGB10A2Uint = TextureFormat RGB10A2Uint | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_RGB10A2Unorm = TextureFormat RGB10A2Unorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_RG11B10Ufloat = TextureFormat RG11B10Ufloat | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_RGB9E5Ufloat = TextureFormat RGB9E5Ufloat | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_RG32Float = TextureFormat RG32Float | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_RG32Uint = TextureFormat RG32Uint | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_RG32Sint = TextureFormat RG32Sint | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_RGBA16Unorm = TextureFormat RGBA16Unorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_RGBA16Snorm = TextureFormat RGBA16Snorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_RGBA16Uint = TextureFormat RGBA16Uint | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_RGBA16Sint = TextureFormat RGBA16Sint | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_RGBA16Float = TextureFormat RGBA16Float | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_RGBA32Float = TextureFormat RGBA32Float | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_RGBA32Uint = TextureFormat RGBA32Uint | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_RGBA32Sint = TextureFormat RGBA32Sint | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_Stencil8 = TextureFormat Stencil8 | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_Depth16Unorm = TextureFormat Depth16Unorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_Depth24Plus = TextureFormat Depth24Plus | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_Depth24PlusStencil8 = TextureFormat Depth24PlusStencil8 | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_Depth32Float = TextureFormat Depth32Float | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_Depth32FloatStencil8 = TextureFormat Depth32FloatStencil8 | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_BC1RGBAUnorm = TextureFormat BC1RGBAUnorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_BC1RGBAUnormSrgb = TextureFormat BC1RGBAUnormSrgb | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_BC2RGBAUnorm = TextureFormat BC2RGBAUnorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_BC2RGBAUnormSrgb = TextureFormat BC2RGBAUnormSrgb | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_BC3RGBAUnorm = TextureFormat BC3RGBAUnorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_BC3RGBAUnormSrgb = TextureFormat BC3RGBAUnormSrgb | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_BC4RUnorm = TextureFormat BC4RUnorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_BC4RSnorm = TextureFormat BC4RSnorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_BC5RGUnorm = TextureFormat BC5RGUnorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_BC5RGSnorm = TextureFormat BC5RGSnorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_BC6HRGBUfloat = TextureFormat BC6HRGBUfloat | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_BC6HRGBFloat = TextureFormat BC6HRGBFloat | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_BC7RGBAUnorm = TextureFormat BC7RGBAUnorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_BC7RGBAUnormSrgb = TextureFormat BC7RGBAUnormSrgb | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_ETC2RGB8Unorm = TextureFormat ETC2RGB8Unorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_ETC2RGB8UnormSrgb = TextureFormat ETC2RGB8UnormSrgb | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_ETC2RGB8A1Unorm = TextureFormat ETC2RGB8A1Unorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_ETC2RGB8A1UnormSrgb = TextureFormat ETC2RGB8A1UnormSrgb | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_ETC2RGBA8Unorm = TextureFormat ETC2RGBA8Unorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_ETC2RGBA8UnormSrgb = TextureFormat ETC2RGBA8UnormSrgb | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_EACR11Unorm = TextureFormat EACR11Unorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_EACR11Snorm = TextureFormat EACR11Snorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_EACRG11Unorm = TextureFormat EACRG11Unorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_EACRG11Snorm = TextureFormat EACRG11Snorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_ASTC4x4Unorm = TextureFormat ASTC4x4Unorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_ASTC4x4UnormSrgb = TextureFormat ASTC4x4UnormSrgb | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_ASTC5x4Unorm = TextureFormat ASTC5x4Unorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_ASTC5x4UnormSrgb = TextureFormat ASTC5x4UnormSrgb | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_ASTC5x5Unorm = TextureFormat ASTC5x5Unorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_ASTC5x5UnormSrgb = TextureFormat ASTC5x5UnormSrgb | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_ASTC6x5Unorm = TextureFormat ASTC6x5Unorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_ASTC6x5UnormSrgb = TextureFormat ASTC6x5UnormSrgb | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_ASTC6x6Unorm = TextureFormat ASTC6x6Unorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_ASTC6x6UnormSrgb = TextureFormat ASTC6x6UnormSrgb | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_ASTC8x5Unorm = TextureFormat ASTC8x5Unorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_ASTC8x5UnormSrgb = TextureFormat ASTC8x5UnormSrgb | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_ASTC8x6Unorm = TextureFormat ASTC8x6Unorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_ASTC8x6UnormSrgb = TextureFormat ASTC8x6UnormSrgb | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_ASTC8x8Unorm = TextureFormat ASTC8x8Unorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_ASTC8x8UnormSrgb = TextureFormat ASTC8x8UnormSrgb | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_ASTC10x5Unorm = TextureFormat ASTC10x5Unorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_ASTC10x5UnormSrgb = TextureFormat ASTC10x5UnormSrgb | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_ASTC10x6Unorm = TextureFormat ASTC10x6Unorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_ASTC10x6UnormSrgb = TextureFormat ASTC10x6UnormSrgb | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_ASTC10x8Unorm = TextureFormat ASTC10x8Unorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_ASTC10x8UnormSrgb = TextureFormat ASTC10x8UnormSrgb | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_ASTC10x10Unorm = TextureFormat ASTC10x10Unorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_ASTC10x10UnormSrgb = TextureFormat ASTC10x10UnormSrgb | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_ASTC12x10Unorm = TextureFormat ASTC12x10Unorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_ASTC12x10UnormSrgb = TextureFormat ASTC12x10UnormSrgb | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_ASTC12x12Unorm = TextureFormat ASTC12x12Unorm | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_ASTC12x12UnormSrgb = TextureFormat ASTC12x12UnormSrgb | WGPUTextureFormat x WGPUTextureFormat -> WGPUTextureFormat -> Bool forall a. Eq a => a -> a -> Bool == WGPUTextureFormat wGPUTextureFormat_Force32 = TextureFormat Force32 | Bool otherwise = TextureFormat forall a. HasCallStack => a undefined