yum-mirror/VkFFT
git clone https://git.yummers.dev/yum-mirror/VkFFT
ba7001c
develop
1//------------------------------------------------------------------------------------------------------------------------------------------------------------- 2// 3// Metal/MTLPixelFormat.hpp 4// 5// Copyright 2020-2021 Apple Inc. 6// 7// Licensed under the Apache License, Version 2.0 (the "License"); 8// you may not use this file except in compliance with the License. 9// You may obtain a copy of the License at 10// 11// http://www.apache.org/licenses/LICENSE-2.0 12// 13// Unless required by applicable law or agreed to in writing, software 14// distributed under the License is distributed on an "AS IS" BASIS, 15// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16// See the License for the specific language governing permissions and 17// limitations under the License. 18// 19//------------------------------------------------------------------------------------------------------------------------------------------------------------- 20 21#pragma once 22 23#include "MTLDefines.hpp" 24#include "MTLHeaderBridge.hpp" 25#include "MTLPrivate.hpp" 26 27#include <Foundation/Foundation.hpp> 28 29namespace MTL 30{ 31_MTL_ENUM (NS ::UInteger ,PixelFormat ) { 32PixelFormatInvalid = 0 , 33PixelFormatA8Unorm = 1 , 34PixelFormatR8Unorm = 10 , 35PixelFormatR8Unorm_sRGB = 11 , 36PixelFormatR8Snorm = 12 , 37PixelFormatR8Uint = 13 , 38PixelFormatR8Sint = 14 , 39PixelFormatR16Unorm = 20 , 40PixelFormatR16Snorm = 22 , 41PixelFormatR16Uint = 23 , 42PixelFormatR16Sint = 24 , 43PixelFormatR16Float = 25 , 44PixelFormatRG8Unorm = 30 , 45PixelFormatRG8Unorm_sRGB = 31 , 46PixelFormatRG8Snorm = 32 , 47PixelFormatRG8Uint = 33 , 48PixelFormatRG8Sint = 34 , 49PixelFormatB5G6R5Unorm = 40 , 50PixelFormatA1BGR5Unorm = 41 , 51PixelFormatABGR4Unorm = 42 , 52PixelFormatBGR5A1Unorm = 43 , 53PixelFormatR32Uint = 53 , 54PixelFormatR32Sint = 54 , 55PixelFormatR32Float = 55 , 56PixelFormatRG16Unorm = 60 , 57PixelFormatRG16Snorm = 62 , 58PixelFormatRG16Uint = 63 , 59PixelFormatRG16Sint = 64 , 60PixelFormatRG16Float = 65 , 61PixelFormatRGBA8Unorm = 70 , 62PixelFormatRGBA8Unorm_sRGB = 71 , 63PixelFormatRGBA8Snorm = 72 , 64PixelFormatRGBA8Uint = 73 , 65PixelFormatRGBA8Sint = 74 , 66PixelFormatBGRA8Unorm = 80 , 67PixelFormatBGRA8Unorm_sRGB = 81 , 68PixelFormatRGB10A2Unorm = 90 , 69PixelFormatRGB10A2Uint = 91 , 70PixelFormatRG11B10Float = 92 , 71PixelFormatRGB9E5Float = 93 , 72PixelFormatBGR10A2Unorm = 94 , 73PixelFormatRG32Uint = 103 , 74PixelFormatRG32Sint = 104 , 75PixelFormatRG32Float = 105 , 76PixelFormatRGBA16Unorm = 110 , 77PixelFormatRGBA16Snorm = 112 , 78PixelFormatRGBA16Uint = 113 , 79PixelFormatRGBA16Sint = 114 , 80PixelFormatRGBA16Float = 115 , 81PixelFormatRGBA32Uint = 123 , 82PixelFormatRGBA32Sint = 124 , 83PixelFormatRGBA32Float = 125 , 84PixelFormatBC1_RGBA = 130 , 85PixelFormatBC1_RGBA_sRGB = 131 , 86PixelFormatBC2_RGBA = 132 , 87PixelFormatBC2_RGBA_sRGB = 133 , 88PixelFormatBC3_RGBA = 134 , 89PixelFormatBC3_RGBA_sRGB = 135 , 90PixelFormatBC4_RUnorm = 140 , 91PixelFormatBC4_RSnorm = 141 , 92PixelFormatBC5_RGUnorm = 142 , 93PixelFormatBC5_RGSnorm = 143 , 94PixelFormatBC6H_RGBFloat = 150 , 95PixelFormatBC6H_RGBUfloat = 151 , 96PixelFormatBC7_RGBAUnorm = 152 , 97PixelFormatBC7_RGBAUnorm_sRGB = 153 , 98PixelFormatPVRTC_RGB_2BPP = 160 , 99PixelFormatPVRTC_RGB_2BPP_sRGB = 161 , 100PixelFormatPVRTC_RGB_4BPP = 162 , 101PixelFormatPVRTC_RGB_4BPP_sRGB = 163 , 102PixelFormatPVRTC_RGBA_2BPP = 164 , 103PixelFormatPVRTC_RGBA_2BPP_sRGB = 165 , 104PixelFormatPVRTC_RGBA_4BPP = 166 , 105PixelFormatPVRTC_RGBA_4BPP_sRGB = 167 , 106PixelFormatEAC_R11Unorm = 170 , 107PixelFormatEAC_R11Snorm = 172 , 108PixelFormatEAC_RG11Unorm = 174 , 109PixelFormatEAC_RG11Snorm = 176 , 110PixelFormatEAC_RGBA8 = 178 , 111PixelFormatEAC_RGBA8_sRGB = 179 , 112PixelFormatETC2_RGB8 = 180 , 113PixelFormatETC2_RGB8_sRGB = 181 , 114PixelFormatETC2_RGB8A1 = 182 , 115PixelFormatETC2_RGB8A1_sRGB = 183 , 116PixelFormatASTC_4x4_sRGB = 186 , 117PixelFormatASTC_5x4_sRGB = 187 , 118PixelFormatASTC_5x5_sRGB = 188 , 119PixelFormatASTC_6x5_sRGB = 189 , 120PixelFormatASTC_6x6_sRGB = 190 , 121PixelFormatASTC_8x5_sRGB = 192 , 122PixelFormatASTC_8x6_sRGB = 193 , 123PixelFormatASTC_8x8_sRGB = 194 , 124PixelFormatASTC_10x5_sRGB = 195 , 125PixelFormatASTC_10x6_sRGB = 196 , 126PixelFormatASTC_10x8_sRGB = 197 , 127PixelFormatASTC_10x10_sRGB = 198 , 128PixelFormatASTC_12x10_sRGB = 199 , 129PixelFormatASTC_12x12_sRGB = 200 , 130PixelFormatASTC_4x4_LDR = 204 , 131PixelFormatASTC_5x4_LDR = 205 , 132PixelFormatASTC_5x5_LDR = 206 , 133PixelFormatASTC_6x5_LDR = 207 , 134PixelFormatASTC_6x6_LDR = 208 , 135PixelFormatASTC_8x5_LDR = 210 , 136PixelFormatASTC_8x6_LDR = 211 , 137PixelFormatASTC_8x8_LDR = 212 , 138PixelFormatASTC_10x5_LDR = 213 , 139PixelFormatASTC_10x6_LDR = 214 , 140PixelFormatASTC_10x8_LDR = 215 , 141PixelFormatASTC_10x10_LDR = 216 , 142PixelFormatASTC_12x10_LDR = 217 , 143PixelFormatASTC_12x12_LDR = 218 , 144PixelFormatASTC_4x4_HDR = 222 , 145PixelFormatASTC_5x4_HDR = 223 , 146PixelFormatASTC_5x5_HDR = 224 , 147PixelFormatASTC_6x5_HDR = 225 , 148PixelFormatASTC_6x6_HDR = 226 , 149PixelFormatASTC_8x5_HDR = 228 , 150PixelFormatASTC_8x6_HDR = 229 , 151PixelFormatASTC_8x8_HDR = 230 , 152PixelFormatASTC_10x5_HDR = 231 , 153PixelFormatASTC_10x6_HDR = 232 , 154PixelFormatASTC_10x8_HDR = 233 , 155PixelFormatASTC_10x10_HDR = 234 , 156PixelFormatASTC_12x10_HDR = 235 , 157PixelFormatASTC_12x12_HDR = 236 , 158PixelFormatGBGR422 = 240 , 159PixelFormatBGRG422 = 241 , 160PixelFormatDepth16Unorm = 250 , 161PixelFormatDepth32Float = 252 , 162PixelFormatStencil8 = 253 , 163PixelFormatDepth24Unorm_Stencil8 = 255 , 164PixelFormatDepth32Float_Stencil8 = 260 , 165PixelFormatX32_Stencil8 = 261 , 166PixelFormatX24_Stencil8 = 262 , 167PixelFormatBGRA10_XR = 552 , 168PixelFormatBGRA10_XR_sRGB = 553 , 169PixelFormatBGR10_XR = 554 , 170PixelFormatBGR10_XR_sRGB = 555 , 171}; 172 173}