Public API¶
Namespaces¶
| Name |
|---|
| KDGpu::MipmapLodClamping |
Classes¶
Types¶
| Name | |
|---|---|
| enum class | SampleCountFlagBits { Samples1Bit = 0x00000001, Samples2Bit = 0x00000002, Samples4Bit = 0x00000004, Samples8Bit = 0x00000008, Samples16Bit = 0x00000010, Samples32Bit = 0x00000020, Samples64Bit = 0x00000040, MaxEnum = 0x7FFFFFFF} |
| enum class | AdapterDeviceType { Other = 0, IntegratedGpu = 1, DiscreteGpu = 2, VirtualGpu = 3, Cpu = 4, Default = 0x7FFFFFFE, MaxEnum = 0x7FFFFFFF} |
| enum class | QueueFlagBits { GraphicsBit = 0x00000001, ComputeBit = 0x00000002, TransferBit = 0x00000004, SparseBindingBit = 0x00000008, ProtectedBit = 0x00000010, VideoDecodeBit = 0x00000020, VideoEncodeBit = 0x00000040, MaxEnum = 0x7FFFFFFF} |
| enum class | PresentMode { Immediate = 0, Mailbox = 1, Fifo = 2, FifoRelaxed = 3, SharedDemandRefresh = 1000111000, SharedContinuousRefresh = 1000111001, MaxEnum = 0x7FFFFFFF} |
| enum class | ColorSpace { SRgbNonlinear = 0, DisplayP3Nonlinear = 1000104001, ExtendedSRgbLinear = 1000104002, DisplayP3Linear = 1000104003, DciP3Nonlinear = 1000104004, Bt709Linear = 1000104005, Bt709Nonlinear = 1000104006, Bt2020Linear = 1000104007, Hdr10St2084 = 1000104008, Dolbyvision = 1000104009, Hdr10Hlg = 1000104010, AdobergbLinear = 1000104011, AdobergbNonlinear = 1000104012, PassThrough = 1000104013, ExtendedSRgbNonlinear_ext = 1000104014, DisplayNative = 1000213000, DciP3Linear = DisplayP3Linear, MaxEnum = 0x7fffffff} |
| enum class | Format { UNDEFINED = 0, R4G4_UNORM_PACK8 = 1, R4G4B4A4_UNORM_PACK16 = 2, B4G4R4A4_UNORM_PACK16 = 3, R5G6B5_UNORM_PACK16 = 4, B5G6R5_UNORM_PACK16 = 5, R5G5B5A1_UNORM_PACK16 = 6, B5G5R5A1_UNORM_PACK16 = 7, A1R5G5B5_UNORM_PACK16 = 8, R8_UNORM = 9, R8_SNORM = 10, R8_USCALED = 11, R8_SSCALED = 12, R8_UINT = 13, R8_SINT = 14, R8_SRGB = 15, R8G8_UNORM = 16, R8G8_SNORM = 17, R8G8_USCALED = 18, R8G8_SSCALED = 19, R8G8_UINT = 20, R8G8_SINT = 21, R8G8_SRGB = 22, R8G8B8_UNORM = 23, R8G8B8_SNORM = 24, R8G8B8_USCALED = 25, R8G8B8_SSCALED = 26, R8G8B8_UINT = 27, R8G8B8_SINT = 28, R8G8B8_SRGB = 29, B8G8R8_UNORM = 30, B8G8R8_SNORM = 31, B8G8R8_USCALED = 32, B8G8R8_SSCALED = 33, B8G8R8_UINT = 34, B8G8R8_SINT = 35, B8G8R8_SRGB = 36, R8G8B8A8_UNORM = 37, R8G8B8A8_SNORM = 38, R8G8B8A8_USCALED = 39, R8G8B8A8_SSCALED = 40, R8G8B8A8_UINT = 41, R8G8B8A8_SINT = 42, R8G8B8A8_SRGB = 43, B8G8R8A8_UNORM = 44, B8G8R8A8_SNORM = 45, B8G8R8A8_USCALED = 46, B8G8R8A8_SSCALED = 47, B8G8R8A8_UINT = 48, B8G8R8A8_SINT = 49, B8G8R8A8_SRGB = 50, A8B8G8R8_UNORM_PACK32 = 51, A8B8G8R8_SNORM_PACK32 = 52, A8B8G8R8_USCALED_PACK32 = 53, A8B8G8R8_SSCALED_PACK32 = 54, A8B8G8R8_UINT_PACK32 = 55, A8B8G8R8_SINT_PACK32 = 56, A8B8G8R8_SRGB_PACK32 = 57, A2R10G10B10_UNORM_PACK32 = 58, A2R10G10B10_SNORM_PACK32 = 59, A2R10G10B10_USCALED_PACK32 = 60, A2R10G10B10_SSCALED_PACK32 = 61, A2R10G10B10_UINT_PACK32 = 62, A2R10G10B10_SINT_PACK32 = 63, A2B10G10R10_UNORM_PACK32 = 64, A2B10G10R10_SNORM_PACK32 = 65, A2B10G10R10_USCALED_PACK32 = 66, A2B10G10R10_SSCALED_PACK32 = 67, A2B10G10R10_UINT_PACK32 = 68, A2B10G10R10_SINT_PACK32 = 69, R16_UNORM = 70, R16_SNORM = 71, R16_USCALED = 72, R16_SSCALED = 73, R16_UINT = 74, R16_SINT = 75, R16_SFLOAT = 76, R16G16_UNORM = 77, R16G16_SNORM = 78, R16G16_USCALED = 79, R16G16_SSCALED = 80, R16G16_UINT = 81, R16G16_SINT = 82, R16G16_SFLOAT = 83, R16G16B16_UNORM = 84, R16G16B16_SNORM = 85, R16G16B16_USCALED = 86, R16G16B16_SSCALED = 87, R16G16B16_UINT = 88, R16G16B16_SINT = 89, R16G16B16_SFLOAT = 90, R16G16B16A16_UNORM = 91, R16G16B16A16_SNORM = 92, R16G16B16A16_USCALED = 93, R16G16B16A16_SSCALED = 94, R16G16B16A16_UINT = 95, R16G16B16A16_SINT = 96, R16G16B16A16_SFLOAT = 97, R32_UINT = 98, R32_SINT = 99, R32_SFLOAT = 100, R32G32_UINT = 101, R32G32_SINT = 102, R32G32_SFLOAT = 103, R32G32B32_UINT = 104, R32G32B32_SINT = 105, R32G32B32_SFLOAT = 106, R32G32B32A32_UINT = 107, R32G32B32A32_SINT = 108, R32G32B32A32_SFLOAT = 109, R64_UINT = 110, R64_SINT = 111, R64_SFLOAT = 112, R64G64_UINT = 113, R64G64_SINT = 114, R64G64_SFLOAT = 115, R64G64B64_UINT = 116, R64G64B64_SINT = 117, R64G64B64_SFLOAT = 118, R64G64B64A64_UINT = 119, R64G64B64A64_SINT = 120, R64G64B64A64_SFLOAT = 121, B10G11R11_UFLOAT_PACK32 = 122, E5B9G9R9_UFLOAT_PACK32 = 123, D16_UNORM = 124, X8_D24_UNORM_PACK32 = 125, D32_SFLOAT = 126, S8_UINT = 127, D16_UNORM_S8_UINT = 128, D24_UNORM_S8_UINT = 129, D32_SFLOAT_S8_UINT = 130, BC1_RGB_UNORM_BLOCK = 131, BC1_RGB_SRGB_BLOCK = 132, BC1_RGBA_UNORM_BLOCK = 133, BC1_RGBA_SRGB_BLOCK = 134, BC2_UNORM_BLOCK = 135, BC2_SRGB_BLOCK = 136, BC3_UNORM_BLOCK = 137, BC3_SRGB_BLOCK = 138, BC4_UNORM_BLOCK = 139, BC4_SNORM_BLOCK = 140, BC5_UNORM_BLOCK = 141, BC5_SNORM_BLOCK = 142, BC6H_UFLOAT_BLOCK = 143, BC6H_SFLOAT_BLOCK = 144, BC7_UNORM_BLOCK = 145, BC7_SRGB_BLOCK = 146, ETC2_R8G8B8_UNORM_BLOCK = 147, ETC2_R8G8B8_SRGB_BLOCK = 148, ETC2_R8G8B8A1_UNORM_BLOCK = 149, ETC2_R8G8B8A1_SRGB_BLOCK = 150, ETC2_R8G8B8A8_UNORM_BLOCK = 151, ETC2_R8G8B8A8_SRGB_BLOCK = 152, EAC_R11_UNORM_BLOCK = 153, EAC_R11_SNORM_BLOCK = 154, EAC_R11G11_UNORM_BLOCK = 155, EAC_R11G11_SNORM_BLOCK = 156, ASTC_4x4_UNORM_BLOCK = 157, ASTC_4x4_SRGB_BLOCK = 158, ASTC_5x4_UNORM_BLOCK = 159, ASTC_5x4_SRGB_BLOCK = 160, ASTC_5x5_UNORM_BLOCK = 161, ASTC_5x5_SRGB_BLOCK = 162, ASTC_6x5_UNORM_BLOCK = 163, ASTC_6x5_SRGB_BLOCK = 164, ASTC_6x6_UNORM_BLOCK = 165, ASTC_6x6_SRGB_BLOCK = 166, ASTC_8x5_UNORM_BLOCK = 167, ASTC_8x5_SRGB_BLOCK = 168, ASTC_8x6_UNORM_BLOCK = 169, ASTC_8x6_SRGB_BLOCK = 170, ASTC_8x8_UNORM_BLOCK = 171, ASTC_8x8_SRGB_BLOCK = 172, ASTC_10x5_UNORM_BLOCK = 173, ASTC_10x5_SRGB_BLOCK = 174, ASTC_10x6_UNORM_BLOCK = 175, ASTC_10x6_SRGB_BLOCK = 176, ASTC_10x8_UNORM_BLOCK = 177, ASTC_10x8_SRGB_BLOCK = 178, ASTC_10x10_UNORM_BLOCK = 179, ASTC_10x10_SRGB_BLOCK = 180, ASTC_12x10_UNORM_BLOCK = 181, ASTC_12x10_SRGB_BLOCK = 182, ASTC_12x12_UNORM_BLOCK = 183, ASTC_12x12_SRGB_BLOCK = 184, G8B8G8R8_422_UNORM = 1000156000, B8G8R8G8_422_UNORM = 1000156001, G8_B8_R8_3PLANE_420_UNORM = 1000156002, G8_B8R8_2PLANE_420_UNORM = 1000156003, G8_B8_R8_3PLANE_422_UNORM = 1000156004, G8_B8R8_2PLANE_422_UNORM = 1000156005, G8_B8_R8_3PLANE_444_UNORM = 1000156006, R10X6_UNORM_PACK16 = 1000156007, R10X6G10X6_UNORM_2PACK16 = 1000156008, R10X6G10X6B10X6A10X6_UNORM_4PACK16 = 1000156009, G10X6B10X6G10X6R10X6_422_UNORM_4PACK16 = 1000156010, B10X6G10X6R10X6G10X6_422_UNORM_4PACK16 = 1000156011, G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16 = 1000156012, G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16 = 1000156013, G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16 = 1000156014, G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16 = 1000156015, G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16 = 1000156016, R12X4_UNORM_PACK16 = 1000156017, R12X4G12X4_UNORM_2PACK16 = 1000156018, R12X4G12X4B12X4A12X4_UNORM_4PACK16 = 1000156019, G12X4B12X4G12X4R12X4_422_UNORM_4PACK16 = 1000156020, B12X4G12X4R12X4G12X4_422_UNORM_4PACK16 = 1000156021, G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16 = 1000156022, G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16 = 1000156023, G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16 = 1000156024, G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16 = 1000156025, G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16 = 1000156026, G16B16G16R16_422_UNORM = 1000156027, B16G16R16G16_422_UNORM = 1000156028, G16_B16_R16_3PLANE_420_UNORM = 1000156029, G16_B16R16_2PLANE_420_UNORM = 1000156030, G16_B16_R16_3PLANE_422_UNORM = 1000156031, G16_B16R16_2PLANE_422_UNORM = 1000156032, G16_B16_R16_3PLANE_444_UNORM = 1000156033, PVRTC1_2BPP_UNORM_BLOCK_IMG = 1000054000, PVRTC1_4BPP_UNORM_BLOCK_IMG = 1000054001, PVRTC2_2BPP_UNORM_BLOCK_IMG = 1000054002, PVRTC2_4BPP_UNORM_BLOCK_IMG = 1000054003, PVRTC1_2BPP_SRGB_BLOCK_IMG = 1000054004, PVRTC1_4BPP_SRGB_BLOCK_IMG = 1000054005, PVRTC2_2BPP_SRGB_BLOCK_IMG = 1000054006, PVRTC2_4BPP_SRGB_BLOCK_IMG = 1000054007, ASTC_4x4_SFLOAT_BLOCK_EXT = 1000066000, ASTC_5x4_SFLOAT_BLOCK_EXT = 1000066001, ASTC_5x5_SFLOAT_BLOCK_EXT = 1000066002, ASTC_6x5_SFLOAT_BLOCK_EXT = 1000066003, ASTC_6x6_SFLOAT_BLOCK_EXT = 1000066004, ASTC_8x5_SFLOAT_BLOCK_EXT = 1000066005, ASTC_8x6_SFLOAT_BLOCK_EXT = 1000066006, ASTC_8x8_SFLOAT_BLOCK_EXT = 1000066007, ASTC_10x5_SFLOAT_BLOCK_EXT = 1000066008, ASTC_10x6_SFLOAT_BLOCK_EXT = 1000066009, ASTC_10x8_SFLOAT_BLOCK_EXT = 1000066010, ASTC_10x10_SFLOAT_BLOCK_EXT = 1000066011, ASTC_12x10_SFLOAT_BLOCK_EXT = 1000066012, ASTC_12x12_SFLOAT_BLOCK_EXT = 1000066013, G8_B8R8_2PLANE_444_UNORM_EXT = 1000330000, G10X6_B10X6R10X6_2PLANE_444_UNORM_3PACK16_EXT = 1000330001, G12X4_B12X4R12X4_2PLANE_444_UNORM_3PACK16_EXT = 1000330002, G16_B16R16_2PLANE_444_UNORM_EXT = 1000330003, A4R4G4B4_UNORM_PACK16_EXT = 1000340000, A4B4G4R4_UNORM_PACK16_EXT = 1000340001, MAX_ENUM = 0x7FFFFFFF} |
| enum class | SurfaceTransformFlagBits { IdentityBit = 0x00000001, Rotate90Bit = 0x00000002, Rotate180Bit = 0x00000004, Rotate270Bit = 0x00000008, HorizontalMirrorBit = 0x00000010, HorizontalMirrorRotate90Bit = 0x00000020, HorizontalMirrorRotate180Bit = 0x00000040, HorizontalMirrorRotate270Bit = 0x00000080, InheritBit = 0x00000100, MaxEnum = 0x7fffffff} |
| enum class | CompositeAlphaFlagBits { OpaqueBit = 0x00000001, PreMultipliedBit = 0x00000002, PostMultipliedBit = 0x00000004, InheritBit = 0x00000008, MaxEnum = 0x7FFFFFFF} |
| enum class | TextureUsageFlagBits { TransferSrcBit = 0x00000001, TransferDstBit = 0x00000002, SampledBit = 0x00000004, StorageBit = 0x00000008, ColorAttachmentBit = 0x00000010, DepthStencilAttachmentBit = 0x00000020, TransientAttachmentBit = 0x00000040, InputAttachmentBit = 0x00000080, VideoDecodeDstBit = 0x00000400, VideoDecodeSrcBit = 0x00000800, VideoDecodeDpbBit = 0x00001000, FragmentDensityMapBit = 0x00000200, FragmentShadingRateAttachmentBit = 0x00000100, VideoEncodeDstBit = 0x00002000, VideoEncodeSrcBit = 0x00004000, VideoEncodeDpbBit = 0x00008000, InvocationMaskBit = 0x00040000, MaxEnum = 0x7fffffff} |
| enum class | TextureTiling { Optimal = 0, Linear = 1, DrmFormatModifier = 1000158000, MaxEnum = 0x7fffffff} |
| enum class | TextureLayout { Undefined = 0, General = 1, ColorAttachmentOptimal = 2, DepthStencilAttachmentOptimal = 3, DepthStencilReadOnlyOptimal = 4, ShaderReadOnlyOptimal = 5, TransferSrcOptimal = 6, TransferDstOptimal = 7, Preinitialized = 8, DepthReadOnlyStencilAttachmentOptimal = 1000117000, DepthAttachmentStencilReadOnlyOptimal = 1000117001, DepthAttachmentOptimal = 1000241000, DepthReadOnlyOptimal = 1000241001, StencilAttachmentOptimal = 1000241002, StencilReadOnlyOptimal = 1000241003, PresentSrc = 1000001002, VideoDecodeDst = 1000024000, VideoDecodeSrc = 1000024001, VideoDecodeDpb = 1000024002, SharedPresent = 1000111000, FragmentDensityMapOptimal = 1000218000, FragmentShadingRateAttachmentOptimal = 1000164003, VideoEncodeDst = 1000299000, VideoEncodeSrc = 1000299001, VideoEncodeDpb = 1000299002, ReadOnlyOptimal = 1000314000, AttachmentOptimal = 1000314001, MaxEnum = 0x7fffffff} |
| enum class | SharingMode { Exclusive = 0, Concurrent = 1, MaxEnum = 0x7FFFFFFF} |
| enum class | TextureType { TextureType1D = 0, TextureType2D = 1, TextureType3D = 2, TextureTypeCube = 3, MaxEnum = 0x7fffffff} |
| enum class | ViewType { ViewType1D = 0, ViewType2D = 1, ViewType3D = 2, ViewTypeCube = 3, ViewType1DArray = 4, ViewType2DArray = 5, ViewTypeCubeArray = 6, MaxEnum = 0x7fffffff} |
| enum class uint32_t | TextureAspectFlagBits { None = 0, ColorBit = 0x00000001, DepthBit = 0x00000002, StencilBit = 0x00000004, MetadataBit = 0x00000008, Plane0Bit = 0x00000010, Plane1Bit = 0x00000020, Plane2Bit = 0x00000040, MemoryPlane0Bit = 0x00000080, MemoryPlane1Bit = 0x00000100, MemoryPlane2Bit = 0x00000200, MemoryPlane3Bit = 0x00000400, MaxEnum = 0x7fffffff} |
| enum class | BufferUsageFlagBits { TransferSrcBit = 0x00000001, TransferDstBit = 0x00000002, UniformTexelBufferBit = 0x00000004, StorageTexelBufferBit = 0x00000008, UniformBufferBit = 0x00000010, StorageBufferBit = 0x00000020, IndexBufferBit = 0x00000040, VertexBufferBit = 0x00000080, IndirectBufferBit = 0x00000100, ShaderDeviceAddressBit = 0x00020000, VideoDecodeSrcBit = 0x00002000, VideoDecodeDstBit = 0x00004000, TransformFeedbackBufferBit = 0x00000800, TransformFeedbackCounterBufferBit = 0x00001000, ConditionalRenderingBit = 0x00000200, AccelerationStructureBuildInputReadOnlyBit = 0x00080000, AccelerationStructureStorageBit = 0x00100000, ShaderBindingTableBit = 0x00000400, VideoEncodeDstBit = 0x00008000, VideoEncodeSrcBit = 0x00010000, SamplerDescriptorBufferBit = 0x00200000, ResourceDescriptorBufferBit = 0x00400000, PushDescriptorsDescriptorBufferBit = 0x04000000, MicromapBuildInputReadOnlyBit = 0x00800000, MicromapStorageBit = 0x01000000, MaxEnum = 0x7fffffff} |
| enum class | VertexRate { Vertex = 0, Instance = 1, MaxEnum = 0x7fffffff} |
| enum class | IndexType { Uint16 = 0, Uint32 = 1, None = 1000165000, Uint8 = 1000265000, MaxEnum = 0x7fffffff} |
| enum class | MemoryUsage { Unknown = 0, GpuOnly = 1, CpuOnly = 2, CpuToGpu = 3, GpuToCpu = 4, CpuCopy = 5, GpuLazilyAllocated = 6, MaxEnum = 0x7fffffff} |
| enum class uint32_t | ShaderStageFlagBits { VertexBit = 0x00000001, TessellationControlBit = 0x00000002, TessellationEvaluationBit = 0x00000004, GeometryBit = 0x00000008, FragmentBit = 0x00000010, ComputeBit = 0x00000020, AllGraphics = 0x0000001f, All = 0x7fffffff, RaygenBit = 0x00000100, AnyHitBit = 0x00000200, ClosestHitBit = 0x00000400, MissBit = 0x00000800, IntersectionBit = 0x00001000, CallableBit = 0x00002000, TaskBit = 0x00000040, MeshBit = 0x00000080, MaxEnum = 0x7fffffff} |
| enum class | ResourceBindingType { Sampler = 0, CombinedImageSampler = 1, SampledImage = 2, StorageImage = 3, UniformTexelBuffer = 4, StorageTexelBuffer = 5, UniformBuffer = 6, StorageBuffer = 7, DynamicUniformBuffer = 8, DynamicStorageBuffer = 9, InputAttachment = 10, AccelerationStructure = 1000150000, MaxEnum = 0x7fffffff} |
| enum class uint32_t | ResourceBindingFlagBits { None = 0, UpdateAfterBindBit = 0x00000001, UpdateUnusedWhilePendingBit = 0x00000002, PartiallyBoundBit = 0x00000004, VariableBindGroupEntriesCountBit = 0x00000008} |
| enum class | PrimitiveTopology { PointList = 0, LineList = 1, LineStrip = 2, TriangleList = 3, TriangleStrip = 4, TriangleFan = 5, LineListWithAdjacency = 6, LineStripWithAdjacency = 7, TriangleListWithAdjacency = 8, TriangleStripWithAdjacency = 9, PatchList = 10, MaxEnum = 0x7fffffff} |
| enum class | CullModeFlagBits { None = 0, FrontBit = 0x00000001, BackBit = 0x00000002, FrontAndBack = 0x00000003, MaxEnum = 0x7fffffff} |
| enum class | FrontFace { CounterClockwise = 0, Clockwise = 1, MaxEnum = 0x7fffffff} |
| enum class | PolygonMode { Fill = 0, Line = 1, Point = 2, MaxEnum = 0x7fffffff} |
| enum class | CompareOperation { Never = 0, Less = 1, Equal = 2, LessOrEqual = 3, Greater = 4, NotEqual = 5, GreaterOrEqual = 6, Always = 7, MaxEnum = 0x7fffffff} |
| enum class | StencilOperation { Keep = 0, Zero = 1, Replace = 2, IncrementAndClamp = 3, DecrementAndClamp = 4, Invert = 5, IncrementAndWrap = 6, DecrementAndWrap = 7, MaxEnum = 0x7fffffff} |
| enum | ColorComponentFlagBits { RedBit = 0x00000001, GreenBit = 0x00000002, BlueBit = 0x00000004, AlphaBit = 0x00000008, AllComponents = RedBit |
| enum class | BlendOperation { Add = 0, Subtract = 1, ReverseSubtract = 2, Min = 3, Max = 4, Zero = 1000148000, Src = 1000148001, Dst = 1000148002, SrcOver = 1000148003, DstOver = 1000148004, SrcIn = 1000148005, DstIn = 1000148006, SrcOut = 1000148007, DstOut = 1000148008, SrcAtop = 1000148009, DstAtop = 1000148010, Xor = 1000148011, Multiply = 1000148012, Screen = 1000148013, Overlay = 1000148014, Darken = 1000148015, Lighten = 1000148016, ColorDodge = 1000148017, ColorBurn = 1000148018, HardLight = 1000148019, SoftLight = 1000148020, Difference = 1000148021, Exclusion = 1000148022, Invert = 1000148023, InvertRgb = 1000148024, LinearDodge = 1000148025, LinearBurn = 1000148026, VividLight = 1000148027, LinearLight = 1000148028, PinLight = 1000148029, HardMix = 1000148030, HslHue = 1000148031, HslSaturation = 1000148032, HslColor = 1000148033, HslLuminosity = 1000148034, Plus = 1000148035, PlusClamped = 1000148036, PlusClampedAlpha = 1000148037, PlusDarker = 1000148038, Minus = 1000148039, MinusClamped = 1000148040, Contrast = 1000148041, InvertOvg = 1000148042, Red = 1000148043, Green = 1000148044, Blue = 1000148045, MaxEnum = 0x7fffffff} |
| enum class | BlendFactor { Zero = 0, One = 1, SrcColor = 2, OneMinusSrcColor = 3, DstColor = 4, OneMinusDstColor = 5, SrcAlpha = 6, OneMinusSrcAlpha = 7, DstAlpha = 8, OneMinusDstAlpha = 9, ConstantColor = 10, OneMinusConstantColor = 11, ConstantAlpha = 12, OneMinusConstantAlpha = 13, SrcAlphaSaturate = 14, Src1Color = 15, OneMinusSrc1Color = 16, Src1Alpha = 17, OneMinusSrc1Alpha = 18, MaxEnum = 0x7fffffff} |
| enum class | AttachmentLoadOperation { Load = 0, Clear = 1, DontCare = 2, MaxEnum = 0x7fffffff} |
| enum class | AttachmentStoreOperation { Store = 0, DontCare = 1, MaxEnum = 0x7fffffff} |
| enum class | AddressMode { Repeat = 0, MirroredRepeat = 1, ClampToEdge = 2, ClampToBorder = 3, MirrorClampToEdge = 4, MaxEnum = 0x7fffffff} |
| enum class | FilterMode { Nearest = 0, Linear = 1, MaxEnum = 0x7fffffff} |
| enum class | MipmapFilterMode { Nearest = 0, Linear = 1, MaxEnum = 0x7fffffff} |
| enum class uint64_t | AccessFlagBit { None = 0, IndirectCommandReadBit = 0x00000001, IndexReadBit = 0x00000002, VertexAttributeReadBit = 0x00000004, UniformReadBit = 0x00000008, InputAttachmentReadBit = 0x00000010, ShaderReadBit = 0x00000020, ShaderWriteBit = 0x00000040, ColorAttachmentReadBit = 0x00000080, ColorAttachmentWriteBit = 0x00000100, DepthStencilAttachmentReadBit = 0x00000200, DepthStencilAttachmentWriteBit = 0x00000400, TransferReadBit = 0x00000800, TransferWriteBit = 0x00001000, HostReadBit = 0x00002000, HostWriteBit = 0x00004000, MemoryReadBit = 0x00008000, MemoryWriteBit = 0x00010000, ShaderSampledReadBit = 0x100000000ULL, ShaderStorageReadBit = 0x200000000ULL, ShaderStorageWriteBit = 0x400000000ULL, VideoDecodeReadBit = 0x800000000ULL, VideoDecodeWriteBit = 0x1000000000ULL, VideoEncodeReadBit = 0x2000000000ULL, VideoEncodeWriteBit = 0x4000000000ULL, TransformFeedbackWriteBit = 0x02000000ULL, TransformFeedbackCounterReadBit = 0x04000000ULL, TransformFeedbackCounterWriteBit = 0x08000000ULL, ConditionalRenderingReadBit = 0x00100000ULL, CommandPreprocessReadBit = 0x00020000ULL, CommandPreprocessWriteBit = 0x00040000ULL, FragmentShadingRateAttachmentReadBit = 0x00800000ULL, ShadingRateImageReadBit = 0x00800000ULL, AccelerationStructureReadBit = 0x00200000ULL, AccelerationStructureWriteBit = 0x00400000ULL, FragmentDensityMapReadBit = 0x01000000ULL, ColorAttachmentReadNoncoherentBit = 0x00080000ULL, DescriptorBufferReadBit = 0x20000000000ULL, ShaderBindingTableReadBit = 0x10000000000ULL, MicromapReadBit = 0x100000000000ULL, MicromapWriteBit = 0x200000000000ULL, OpticalFlowReadBit = 0x40000000000ULL, OpticalFlowWriteBit = 0x80000000000ULL} |
| enum class uint64_t | PipelineStageFlagBit { None = 0, TopOfPipeBit = 0x00000001ULL, DrawIndirectBit = 0x00000002ULL, VertexInputBit = 0x00000004ULL, VertexShaderBit = 0x00000008ULL, TessellationControlShaderBit = 0x00000010ULL, TessellationEvaluationShaderBit = 0x00000020ULL, GeometryShaderBit = 0x00000040ULL, FragmentShaderBit = 0x00000080ULL, EarlyFragmentTestBit = 0x00000100ULL, LateFragmentTestBit = 0x00000200ULL, ColorAttachmentOutputBit = 0x00000400ULL, ComputeShaderBit = 0x00000800ULL, TransferBit = 0x00001000ULL, BottomOfPipeBit = 0x00002000ULL, HostBit = 0x00004000ULL, AllGraphicsBit = 0x00008000ULL, AllCommandsBit = 0x00010000ULL, CopyBit = 0x100000000ULL, ResolveBit = 0x200000000ULL, BlitBit = 0x400000000ULL, ClearBit = 0x800000000ULL, IndexInputBit = 0x1000000000ULL, VertexAttributeInputBit = 0x2000000000ULL, PreRasterizationShadersBit = 0x4000000000ULL, VideoDecodeBit = 0x04000000ULL, VideoEncodeBit = 0x08000000ULL, TransformFeedbackBit = 0x01000000ULL, ConditionalRenderingBit = 0x00040000ULL, CommandPreprocessBit = 0x00020000ULL, FragmentShadingRateAttachmentBit = 0x00400000ULL, ShadingRateImageBit = 0x00400000ULL, AccelerationStructureBuildBit = 0x02000000ULL, RayTracingShaderBit = 0x00200000ULL, FragmentDensityProcessBit = 0x00800000ULL, TaskShaderBit = 0x00080000ULL, MeshShaderBit = 0x00100000ULL, AccelerationStructureCopyBit = 0x10000000ULL, MicromapBuildBit = 0x40000000ULL, OpticalFlowBit = 0x20000000ULL} |
| enum class | CommandBufferLevel { Primary = 0, Secondary = 1, MaxEnum = 0x7FFFFFFF} |
| enum class uint32_t | FormatFeatureFlagBit { SampledImageBit = 0x00000001, StorageImageBit = 0x00000002, StorageAtomicBit = 0x00000004, UniformTexelBufferBit = 0x00000008, StorageTexelBufferBit = 0x00000010, StorageTexelBufferAtomicBit = 0x00000020, VertexBufferBit = 0x00000040, ColorAttachmentBit = 0x00000080, ColorAttachmentBlendBit = 0x00000100, DepthStencilAttachmentBit = 0x00000200, BlitSrcBit = 0x00000400, BlitDstBit = 0x00000800, SampledImageFilterLinearBit = 0x00001000, TransferSrcBit = 0x00004000, TransferDstBit = 0x00008000, MidpointChromaSampleBit = 0x00020000, SampledImageYCBCRConversionLinearFilterBit = 0x00040000, SampledImageYCBCRConversionSeparateReconstructionFilterBit = 0x00080000, SampledImageYCBCRConversionChromaReconstructionExplicitBit = 0x00100000, SampledImageYCBCRConversionChromaReconstructionExplicitForceableBit = 0x00200000, DisjointBit = 0x00400000, CositedChromaSampledBit = 0x00800000, SampledImageFilterMinMaxBit = 0x00010000, SampledImageFilterCubicBit = 0x00002000, MaxEnum = 0x7FFFFFFF} |
| enum class | PresentResult { OutOfMemory, DeviceLost, OutOfDate, SurfaceLost, Success} |
| enum class | FenceStatus { Signalled = 0, Unsignalled = 1, Error = 2} |
| enum class uint32_t | ExternalSemaphoreHandleTypeFlagBits { None = 0, OpaqueFD = 0x00000001, OpaqueWin32 = 0x00000002, OpaqueWin32Kmt = 0x00000004, D3D12Fence = 0x00000008, SyncFD = 0x00000010, ZirconEventFuchsia = 0x00000080} |
| enum class uint32_t | ExternalFenceHandleTypeFlagBits { None = 0, OpaqueFD = 0x00000001, OpaqueWin32 = 0x00000002, OpaqueWin32Kmt = 0x00000004, SyncFD = 0x00000008} |
| enum class uint32_t | ExternalMemoryHandleTypeFlagBits { None = 0, OpaqueFD = 0x00000001, OpaqueWin32 = 0x00000002, OpaqueWin32Kmt = 0x00000004, D3D11Texture = 0x00000008, D3D11TextureKmt = 0x00000010, D3D12Heap = 0x00000020, D3D12Resource = 0x00000040, DmaBuf = 0x00000200, AndroidHardwareBuffer = 0x00000400, HostAllocation = 0x00000080, HostMappedForeignMemor = 0x00000100, ZirconVmoFuschia = 0x00000800, RmdaAddressNV = 0x00001000, ScreenBufferQnx = 0x00004000} |
| enum uint32_t | ResolveModeFlagBits { None = 0, SampleZero = 0x00000001, Average = 0x00000002, Min = 0x00000004, Max = 0x00000008} |
| enum class | StencilFaceFlagBits { FrontBit = 0x00000001, BackBit = 0x00000002, FrontAndBack = 0x00000003, MaxEnum = 0x7fffffff} |
| enum class | DynamicState { StencilReference = 8} |
| enum class | BuildAccelerationStructureMode { Build = 0, Update = 1} |
| enum class | AccelerationStructureType { TopLevel = 0, BottomLevel = 1, Generic = 2} |
| enum class | GeometryInstanceFlagBits { None = 0, TriangleFacingCullDisable = 0x00000001, TriangleFlipFacing = 0x00000002, ForceOpaque = 0x00000004, ForceNoOpaque = 0x00000008} |
| enum class | RayTracingShaderGroupType { General = 0, TrianglesHit = 1, ProceduralHit = 2} |
| enum class | AccelerationStructureFlagBits { None = 0, AllowUpdate = 0x00000001, AllowCompaction = 0x00000002, PreferFastTrace = 0x00000004, PreferFastBuild = 0x00000008, LowMemory = 0x00000010} |
| enum class uint32_t | FormFactor { HeadMountedDisplay = 1, HandheldDisplay = 2, MaxEnum = 0x7fffffff} |
| enum class uint32_t | ViewConfigurationType { PrimaryMono = 1, PrimaryStereo = 2, PrimaryQuadVarjo = 1000037000, MaxEnum = 0x7fffffff} |
| enum class uint32_t | EnvironmentBlendMode { Opaque = 1, Additive = 2, AlphaBlend = 3, MaxEnum = 0x7fffffff} |
| enum class uint32_t | ReferenceSpaceType { View = 1, Local = 2, Stage = 3, LocalFloor = 1000426000, MaxEnum = 0x7fffffff} |
| enum class uint32_t | SwapchainUsageFlagBits { ColorAttachmentBit = 0x00000001, DepthStencilAttachmentBit = 0x00000002, UnorderedAccessBit = 0x00000004, TransferSrcBit = 0x00000008, TransferDstBit = 0x00000010, SampledBit = 0x00000020, MutableFormatBit = 0x00000040, InputAttachmentBit = 0x00000080, MaxEnum = 0x7fffffff} |
| enum class int32_t | AcquireSwapchainTextureResult { Success = 0, SessionLossPending = 3, ValidationFailure = -1, RuntimeFailure = -2, HandleInvalid = -12, InstanceLost = -13, SessionLost = -17, CallOrderInvalid = -37, MaxEnum = 0x7fffffff} |
| enum class int32_t | WaitSwapchainTextureResult { Success = 0, TimeoutExpired = 1, SessionLossPending = 3, ValidationFailure = -1, RuntimeFailure = -2, HandleInvalid = -12, InstanceLost = -13, SessionLost = -17, CallOrderInvalid = -37, MaxEnum = 0x7fffffff} |
| enum class int32_t | ProcessEventsResult { Success = 0, EventUnavailable = 4, ValidationFailure = -1, RuntimeFailure = -2, HandleInvalid = -12, InstanceLost = -13, MaxEnum = 0x7fffffff} |
| enum class int32_t | SessionState { Unknown = 0, Idle = 1, Ready = 2, Synchronized = 3, Visible = 4, Focused = 5, Stopping = 6, LossPending = 7, Exiting = 8, MaxEnum = 0x7fffffff} |
| enum class int32_t | WaitFrameResult { Success = 0, SessionLossPending = 3, ValidationFailure = -1, RuntimeFailure = -2, HandleInvalid = -12, InstanceLost = -13, SessionNotRunning = -16, SessionLost = -17, MaxEnum = 0x7fffffff} |
| enum class int32_t | BeginFrameResult { Success = 0, SessionLossPending = 3, FrameDiscarded = 9, ValidationFailure = -1, RuntimeFailure = -2, HandleInvalid = -12, InstanceLost = -13, SessionNotRunning = -16, SessionLost = -17, CallOrderInvalid = -37, MaxEnum = 0x7fffffff} |
| enum class int32_t | EndFrameResult { Success = 0, SessionLossPending = 3, ValidationFailure = -1, RuntimeFailure = -2, HandleInvalid = -12, InstanceLost = -13, SessionNotRunning = -16, SessionLost = -17, LayerInvalid = -23, LayerLimitExceeded = -24, SwapchainRectInvalid = -25, TimeInvalid = -30, CallOrderInvalid = -37, PoseInvalid = -39, EnvironmentBlendModeUnsupported = -42, MaxEnum = 0x7fffffff} |
| enum class uint32_t | ViewStateFlagBits { OrientationValidBit = 0x00000001, PositionValidBit = 0x00000002, OrientationTrackedBit = 0x00000004, PositionTrackedBit = 0x00000008, MaxEnum = 0x7fffffff} |
| enum class int64_t | LocateViewsResult { Success = 0, SessionLossPending = 3, ValidationFailure = -1, RuntimeFailure = -2, HandleInvalid = -12, InstanceLost = -13, SessionLost = -17, TimeInvalid = -30, ViewConfigurationTypeUnsupported = -41, MaxEnum = 0x7fffffffffffffff} |
| enum class uint32_t | CompositionLayerFlagBits { CorrectChromaticAberrationBit = 0x00000001, BlendTextureSourceAlphaBit = 0x00000002, UnpremultiplyAlphaBit = 0x00000004, MaxEnum = 0x7fffffff} |
| enum class uint32_t | EyeVisibility { Both = 0, Left = 1, Right = 2, MaxEnum = 0x7fffffff} |
| enum class uint32_t | ActionType { BooleanInput = 1, FloatInput = 2, Vector2Input = 3, PoseInput = 4, VibrationOutput = 100, MaxEnum = 0x7fffffff} |
| enum class int32_t | SuggestActionBindingsResult { Success = 0, ValidationFailure = -1, RuntimeFailure = -2, HandleInvalid = -12, InstanceLost = -13, PathInvalid = -19, PathUnsupported = -22, MaxEnum = 0x7fffffff} |
| enum class int32_t | AttachActionSetsResult { Success = 0, ValidationFailure = -1, RuntimeFailure = -2, HandleInvalid = -12, InstanceLost = -13, SessionLost = -17, MaxEnum = 0x7fffffff} |
| enum class int32_t | SyncActionsResult { Success = 0, SessionLossPending = 3, SessionNotFocussed = 8, ValidationFailure = -1, RuntimeFailure = -2, HandleInvalid = -12, InstanceLost = -13, SessionLost = -17, PathInvalid = -19, PathUnsupported = -22, ActionSetNotAttached = -46, MaxEnum = 0x7fffffff} |
| enum class int32_t | GetInteractionProfileResult { Success = 0, SessionLossPending = 3, ValidationFailure = -1, RuntimeFailure = -2, HandleInvalid = -12, InstanceLost = -13, SessionLost = -17, PathInvalid = -19, PathUnsupported = -22, ActionSetNotAttached = -46, MaxEnum = 0x7fffffff} |
| enum class int32_t | GetActionStateResult { Success = 0, SessionLossPending = 3, ValidationFailure = -1, RuntimeFailure = -2, HandleInvalid = -12, InstanceLost = -13, SessionLost = -17, PathInvalid = -19, PathUnsupported = -22, ActionTypeMismatch = -27, ActionSetNotAttached = -46, MaxEnum = 0x7fffffff} |
| enum class int32_t | VibrateOutputResult { Success = 0, SessionLossPending = 3, SessionNotFocussed = 8, ValidationFailure = -1, RuntimeFailure = -2, HandleInvalid = -12, InstanceLost = -13, SessionLost = -17, PathInvalid = -19, PathUnsupported = -22, ActionTypeMismatch = -27, ActionSetNotAttached = -46, MaxEnum = 0x7fffffff} |
| enum class int32_t | LocateSpaceResult { Success = 0, SessionLossPending = 3, ValidationFailure = -1, RuntimeFailure = -2, HandleInvalid = -12, InstanceLost = -13, SessionLost = -17, TimeInvalid = -30, MaxEnum = 0x7fffffff} |
| enum class uint32_t | SpaceStateFlagBits { OrientationValidBit = 0x00000001, PositionValidBit = 0x00000002, OrientationTrackedBit = 0x00000004, PositionTrackedBit = 0x00000008, LinearVelocityValidBit = 0x00000010, AngularVelocityValidBit = 0x00000020, MaxEnum = 0x7fffffff} |
| using uint64_t | DeviceSize |
| using uint32_t | SampleMask |
| using uint32_t | TimestampIndex |
| using std::variant< std::monostate, int, HANDLE > | HandleOrFD |
| using KDGpu::Flags< SampleCountFlagBits > | SampleCountFlags |
| using KDGpu::Flags< QueueFlagBits > | QueueFlags |
| using KDGpu::Flags< SurfaceTransformFlagBits > | SurfaceTransformFlags |
| using KDGpu::Flags< CompositeAlphaFlagBits > | CompositeAlphaFlags |
| using KDGpu::Flags< TextureUsageFlagBits > | TextureUsageFlags |
| using KDGpu::Flags< TextureAspectFlagBits > | TextureAspectFlags |
| using KDGpu::Flags< BufferUsageFlagBits > | BufferUsageFlags |
| using KDGpu::Flags< ShaderStageFlagBits > | ShaderStageFlags |
| using KDGpu::Flags< ResourceBindingFlagBits > | ResourceBindingFlags |
| using KDGpu::Flags< CullModeFlagBits > | CullModeFlags |
| using KDGpu::Flags< ColorComponentFlagBits > | ColorComponentFlags |
| using KDGpu::Flags< AccessFlagBit > | AccessFlags |
| using KDGpu::Flags< PipelineStageFlagBit > | PipelineStageFlags |
| using KDGpu::Flags< FormatFeatureFlagBit > | FormatFeatureFlags |
| using PresentResult | AcquireImageResult |
| using KDGpu::Flags< ExternalSemaphoreHandleTypeFlagBits > | ExternalSemaphoreHandleTypeFlags |
| using KDGpu::Flags< ExternalFenceHandleTypeFlagBits > | ExternalFenceHandleTypeFlags |
| using KDGpu::Flags< ExternalMemoryHandleTypeFlagBits > | ExternalMemoryHandleTypeFlags |
| using KDGpu::Flags< ResolveModeFlagBits > | ResolveModeFlags |
| using KDGpu::Flags< StencilFaceFlagBits > | StencilFaceFlags |
| using KDGpu::Flags< GeometryInstanceFlagBits > | GeometryInstanceFlags |
| using KDGpu::Flags< AccelerationStructureFlagBits > | AccelerationStructureFlags |
| using int64_t | Time |
| using int64_t | Duration |
| using KDGpu::Flags< SwapchainUsageFlagBits > | SwapchainUsageFlags |
| using AcquireSwapchainTextureResult | ReleaseTextureResult |
| using KDGpu::Flags< ViewStateFlagBits > | ViewStateFlags |
| using KDGpu::Flags< CompositionLayerFlagBits > | CompositionLayerFlags |
| using KDGpu::Flags< SpaceStateFlagBits > | SpaceStateFlags |
Functions¶
| Name | |
|---|---|
| uint32_t | getSuitableImageCount(const SurfaceCapabilities & capabilities) Returns a suitable image count for a given surface, which can be used for minImageCount in SwapchainOptions. |
| std::string | surfaceCapabilitiesToString(const SurfaceCapabilities & capabilities) |
| bool | operator==(const ColorClearValue & lhs, const ColorClearValue & rhs) |
| std::string | adapterDeviceTypeToString(AdapterDeviceType deviceType) |
| std::string | presentModeToString(PresentMode presentMode) |
| std::string | surfaceTransformFlagBitsToString(SurfaceTransformFlagBits transform) |
| uint32_t | viewCount(ViewConfigurationType viewConfigurationType) |
| bool | operator==(const Quaternion & other) const =default |
| bool | operator==(const Vector3 & other) const =default |
| bool | operator==(const Vector2 & other) const =default |
| bool | operator==(const Pose & other) const =default |
| uint32_t | viewCount() const |
Attributes¶
Detailed Description¶
Holds the Public API
Holds the Public API
Types Documentation¶
enum SampleCountFlagBits¶
| Enumerator | Value | Description |
|---|---|---|
| Samples1Bit | 0x00000001 | |
| Samples2Bit | 0x00000002 | |
| Samples4Bit | 0x00000004 | |
| Samples8Bit | 0x00000008 | |
| Samples16Bit | 0x00000010 | |
| Samples32Bit | 0x00000020 | |
| Samples64Bit | 0x00000040 | |
| MaxEnum | 0x7FFFFFFF |
enum AdapterDeviceType¶
| Enumerator | Value | Description |
|---|---|---|
| Other | 0 | |
| IntegratedGpu | 1 | |
| DiscreteGpu | 2 | |
| VirtualGpu | 3 | |
| Cpu | 4 | |
| Default | 0x7FFFFFFE | |
| MaxEnum | 0x7FFFFFFF |
enum QueueFlagBits¶
| Enumerator | Value | Description |
|---|---|---|
| GraphicsBit | 0x00000001 | |
| ComputeBit | 0x00000002 | |
| TransferBit | 0x00000004 | |
| SparseBindingBit | 0x00000008 | |
| ProtectedBit | 0x00000010 | |
| VideoDecodeBit | 0x00000020 | |
| VideoEncodeBit | 0x00000040 | |
| MaxEnum | 0x7FFFFFFF |
enum PresentMode¶
| Enumerator | Value | Description |
|---|---|---|
| Immediate | 0 | |
| Mailbox | 1 | |
| Fifo | 2 | |
| FifoRelaxed | 3 | |
| SharedDemandRefresh | 1000111000 | |
| SharedContinuousRefresh | 1000111001 | |
| MaxEnum | 0x7FFFFFFF |
enum ColorSpace¶
| Enumerator | Value | Description |
|---|---|---|
| SRgbNonlinear | 0 | |
| DisplayP3Nonlinear | 1000104001 | |
| ExtendedSRgbLinear | 1000104002 | |
| DisplayP3Linear | 1000104003 | |
| DciP3Nonlinear | 1000104004 | |
| Bt709Linear | 1000104005 | |
| Bt709Nonlinear | 1000104006 | |
| Bt2020Linear | 1000104007 | |
| Hdr10St2084 | 1000104008 | |
| Dolbyvision | 1000104009 | |
| Hdr10Hlg | 1000104010 | |
| AdobergbLinear | 1000104011 | |
| AdobergbNonlinear | 1000104012 | |
| PassThrough | 1000104013 | |
| ExtendedSRgbNonlinear_ext | 1000104014 | |
| DisplayNative | 1000213000 | |
| DciP3Linear | DisplayP3Linear | |
| MaxEnum | 0x7fffffff |
enum Format¶
| Enumerator | Value | Description |
|---|---|---|
| UNDEFINED | 0 | |
| R4G4_UNORM_PACK8 | 1 | |
| R4G4B4A4_UNORM_PACK16 | 2 | |
| B4G4R4A4_UNORM_PACK16 | 3 | |
| R5G6B5_UNORM_PACK16 | 4 | |
| B5G6R5_UNORM_PACK16 | 5 | |
| R5G5B5A1_UNORM_PACK16 | 6 | |
| B5G5R5A1_UNORM_PACK16 | 7 | |
| A1R5G5B5_UNORM_PACK16 | 8 | |
| R8_UNORM | 9 | |
| R8_SNORM | 10 | |
| R8_USCALED | 11 | |
| R8_SSCALED | 12 | |
| R8_UINT | 13 | |
| R8_SINT | 14 | |
| R8_SRGB | 15 | |
| R8G8_UNORM | 16 | |
| R8G8_SNORM | 17 | |
| R8G8_USCALED | 18 | |
| R8G8_SSCALED | 19 | |
| R8G8_UINT | 20 | |
| R8G8_SINT | 21 | |
| R8G8_SRGB | 22 | |
| R8G8B8_UNORM | 23 | |
| R8G8B8_SNORM | 24 | |
| R8G8B8_USCALED | 25 | |
| R8G8B8_SSCALED | 26 | |
| R8G8B8_UINT | 27 | |
| R8G8B8_SINT | 28 | |
| R8G8B8_SRGB | 29 | |
| B8G8R8_UNORM | 30 | |
| B8G8R8_SNORM | 31 | |
| B8G8R8_USCALED | 32 | |
| B8G8R8_SSCALED | 33 | |
| B8G8R8_UINT | 34 | |
| B8G8R8_SINT | 35 | |
| B8G8R8_SRGB | 36 | |
| R8G8B8A8_UNORM | 37 | |
| R8G8B8A8_SNORM | 38 | |
| R8G8B8A8_USCALED | 39 | |
| R8G8B8A8_SSCALED | 40 | |
| R8G8B8A8_UINT | 41 | |
| R8G8B8A8_SINT | 42 | |
| R8G8B8A8_SRGB | 43 | |
| B8G8R8A8_UNORM | 44 | |
| B8G8R8A8_SNORM | 45 | |
| B8G8R8A8_USCALED | 46 | |
| B8G8R8A8_SSCALED | 47 | |
| B8G8R8A8_UINT | 48 | |
| B8G8R8A8_SINT | 49 | |
| B8G8R8A8_SRGB | 50 | |
| A8B8G8R8_UNORM_PACK32 | 51 | |
| A8B8G8R8_SNORM_PACK32 | 52 | |
| A8B8G8R8_USCALED_PACK32 | 53 | |
| A8B8G8R8_SSCALED_PACK32 | 54 | |
| A8B8G8R8_UINT_PACK32 | 55 | |
| A8B8G8R8_SINT_PACK32 | 56 | |
| A8B8G8R8_SRGB_PACK32 | 57 | |
| A2R10G10B10_UNORM_PACK32 | 58 | |
| A2R10G10B10_SNORM_PACK32 | 59 | |
| A2R10G10B10_USCALED_PACK32 | 60 | |
| A2R10G10B10_SSCALED_PACK32 | 61 | |
| A2R10G10B10_UINT_PACK32 | 62 | |
| A2R10G10B10_SINT_PACK32 | 63 | |
| A2B10G10R10_UNORM_PACK32 | 64 | |
| A2B10G10R10_SNORM_PACK32 | 65 | |
| A2B10G10R10_USCALED_PACK32 | 66 | |
| A2B10G10R10_SSCALED_PACK32 | 67 | |
| A2B10G10R10_UINT_PACK32 | 68 | |
| A2B10G10R10_SINT_PACK32 | 69 | |
| R16_UNORM | 70 | |
| R16_SNORM | 71 | |
| R16_USCALED | 72 | |
| R16_SSCALED | 73 | |
| R16_UINT | 74 | |
| R16_SINT | 75 | |
| R16_SFLOAT | 76 | |
| R16G16_UNORM | 77 | |
| R16G16_SNORM | 78 | |
| R16G16_USCALED | 79 | |
| R16G16_SSCALED | 80 | |
| R16G16_UINT | 81 | |
| R16G16_SINT | 82 | |
| R16G16_SFLOAT | 83 | |
| R16G16B16_UNORM | 84 | |
| R16G16B16_SNORM | 85 | |
| R16G16B16_USCALED | 86 | |
| R16G16B16_SSCALED | 87 | |
| R16G16B16_UINT | 88 | |
| R16G16B16_SINT | 89 | |
| R16G16B16_SFLOAT | 90 | |
| R16G16B16A16_UNORM | 91 | |
| R16G16B16A16_SNORM | 92 | |
| R16G16B16A16_USCALED | 93 | |
| R16G16B16A16_SSCALED | 94 | |
| R16G16B16A16_UINT | 95 | |
| R16G16B16A16_SINT | 96 | |
| R16G16B16A16_SFLOAT | 97 | |
| R32_UINT | 98 | |
| R32_SINT | 99 | |
| R32_SFLOAT | 100 | |
| R32G32_UINT | 101 | |
| R32G32_SINT | 102 | |
| R32G32_SFLOAT | 103 | |
| R32G32B32_UINT | 104 | |
| R32G32B32_SINT | 105 | |
| R32G32B32_SFLOAT | 106 | |
| R32G32B32A32_UINT | 107 | |
| R32G32B32A32_SINT | 108 | |
| R32G32B32A32_SFLOAT | 109 | |
| R64_UINT | 110 | |
| R64_SINT | 111 | |
| R64_SFLOAT | 112 | |
| R64G64_UINT | 113 | |
| R64G64_SINT | 114 | |
| R64G64_SFLOAT | 115 | |
| R64G64B64_UINT | 116 | |
| R64G64B64_SINT | 117 | |
| R64G64B64_SFLOAT | 118 | |
| R64G64B64A64_UINT | 119 | |
| R64G64B64A64_SINT | 120 | |
| R64G64B64A64_SFLOAT | 121 | |
| B10G11R11_UFLOAT_PACK32 | 122 | |
| E5B9G9R9_UFLOAT_PACK32 | 123 | |
| D16_UNORM | 124 | |
| X8_D24_UNORM_PACK32 | 125 | |
| D32_SFLOAT | 126 | |
| S8_UINT | 127 | |
| D16_UNORM_S8_UINT | 128 | |
| D24_UNORM_S8_UINT | 129 | |
| D32_SFLOAT_S8_UINT | 130 | |
| BC1_RGB_UNORM_BLOCK | 131 | |
| BC1_RGB_SRGB_BLOCK | 132 | |
| BC1_RGBA_UNORM_BLOCK | 133 | |
| BC1_RGBA_SRGB_BLOCK | 134 | |
| BC2_UNORM_BLOCK | 135 | |
| BC2_SRGB_BLOCK | 136 | |
| BC3_UNORM_BLOCK | 137 | |
| BC3_SRGB_BLOCK | 138 | |
| BC4_UNORM_BLOCK | 139 | |
| BC4_SNORM_BLOCK | 140 | |
| BC5_UNORM_BLOCK | 141 | |
| BC5_SNORM_BLOCK | 142 | |
| BC6H_UFLOAT_BLOCK | 143 | |
| BC6H_SFLOAT_BLOCK | 144 | |
| BC7_UNORM_BLOCK | 145 | |
| BC7_SRGB_BLOCK | 146 | |
| ETC2_R8G8B8_UNORM_BLOCK | 147 | |
| ETC2_R8G8B8_SRGB_BLOCK | 148 | |
| ETC2_R8G8B8A1_UNORM_BLOCK | 149 | |
| ETC2_R8G8B8A1_SRGB_BLOCK | 150 | |
| ETC2_R8G8B8A8_UNORM_BLOCK | 151 | |
| ETC2_R8G8B8A8_SRGB_BLOCK | 152 | |
| EAC_R11_UNORM_BLOCK | 153 | |
| EAC_R11_SNORM_BLOCK | 154 | |
| EAC_R11G11_UNORM_BLOCK | 155 | |
| EAC_R11G11_SNORM_BLOCK | 156 | |
| ASTC_4x4_UNORM_BLOCK | 157 | |
| ASTC_4x4_SRGB_BLOCK | 158 | |
| ASTC_5x4_UNORM_BLOCK | 159 | |
| ASTC_5x4_SRGB_BLOCK | 160 | |
| ASTC_5x5_UNORM_BLOCK | 161 | |
| ASTC_5x5_SRGB_BLOCK | 162 | |
| ASTC_6x5_UNORM_BLOCK | 163 | |
| ASTC_6x5_SRGB_BLOCK | 164 | |
| ASTC_6x6_UNORM_BLOCK | 165 | |
| ASTC_6x6_SRGB_BLOCK | 166 | |
| ASTC_8x5_UNORM_BLOCK | 167 | |
| ASTC_8x5_SRGB_BLOCK | 168 | |
| ASTC_8x6_UNORM_BLOCK | 169 | |
| ASTC_8x6_SRGB_BLOCK | 170 | |
| ASTC_8x8_UNORM_BLOCK | 171 | |
| ASTC_8x8_SRGB_BLOCK | 172 | |
| ASTC_10x5_UNORM_BLOCK | 173 | |
| ASTC_10x5_SRGB_BLOCK | 174 | |
| ASTC_10x6_UNORM_BLOCK | 175 | |
| ASTC_10x6_SRGB_BLOCK | 176 | |
| ASTC_10x8_UNORM_BLOCK | 177 | |
| ASTC_10x8_SRGB_BLOCK | 178 | |
| ASTC_10x10_UNORM_BLOCK | 179 | |
| ASTC_10x10_SRGB_BLOCK | 180 | |
| ASTC_12x10_UNORM_BLOCK | 181 | |
| ASTC_12x10_SRGB_BLOCK | 182 | |
| ASTC_12x12_UNORM_BLOCK | 183 | |
| ASTC_12x12_SRGB_BLOCK | 184 | |
| G8B8G8R8_422_UNORM | 1000156000 | |
| B8G8R8G8_422_UNORM | 1000156001 | |
| G8_B8_R8_3PLANE_420_UNORM | 1000156002 | |
| G8_B8R8_2PLANE_420_UNORM | 1000156003 | |
| G8_B8_R8_3PLANE_422_UNORM | 1000156004 | |
| G8_B8R8_2PLANE_422_UNORM | 1000156005 | |
| G8_B8_R8_3PLANE_444_UNORM | 1000156006 | |
| R10X6_UNORM_PACK16 | 1000156007 | |
| R10X6G10X6_UNORM_2PACK16 | 1000156008 | |
| R10X6G10X6B10X6A10X6_UNORM_4PACK16 | 1000156009 | |
| G10X6B10X6G10X6R10X6_422_UNORM_4PACK16 | 1000156010 | |
| B10X6G10X6R10X6G10X6_422_UNORM_4PACK16 | 1000156011 | |
| G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16 | 1000156012 | |
| G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16 | 1000156013 | |
| G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16 | 1000156014 | |
| G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16 | 1000156015 | |
| G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16 | 1000156016 | |
| R12X4_UNORM_PACK16 | 1000156017 | |
| R12X4G12X4_UNORM_2PACK16 | 1000156018 | |
| R12X4G12X4B12X4A12X4_UNORM_4PACK16 | 1000156019 | |
| G12X4B12X4G12X4R12X4_422_UNORM_4PACK16 | 1000156020 | |
| B12X4G12X4R12X4G12X4_422_UNORM_4PACK16 | 1000156021 | |
| G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16 | 1000156022 | |
| G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16 | 1000156023 | |
| G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16 | 1000156024 | |
| G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16 | 1000156025 | |
| G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16 | 1000156026 | |
| G16B16G16R16_422_UNORM | 1000156027 | |
| B16G16R16G16_422_UNORM | 1000156028 | |
| G16_B16_R16_3PLANE_420_UNORM | 1000156029 | |
| G16_B16R16_2PLANE_420_UNORM | 1000156030 | |
| G16_B16_R16_3PLANE_422_UNORM | 1000156031 | |
| G16_B16R16_2PLANE_422_UNORM | 1000156032 | |
| G16_B16_R16_3PLANE_444_UNORM | 1000156033 | |
| PVRTC1_2BPP_UNORM_BLOCK_IMG | 1000054000 | |
| PVRTC1_4BPP_UNORM_BLOCK_IMG | 1000054001 | |
| PVRTC2_2BPP_UNORM_BLOCK_IMG | 1000054002 | |
| PVRTC2_4BPP_UNORM_BLOCK_IMG | 1000054003 | |
| PVRTC1_2BPP_SRGB_BLOCK_IMG | 1000054004 | |
| PVRTC1_4BPP_SRGB_BLOCK_IMG | 1000054005 | |
| PVRTC2_2BPP_SRGB_BLOCK_IMG | 1000054006 | |
| PVRTC2_4BPP_SRGB_BLOCK_IMG | 1000054007 | |
| ASTC_4x4_SFLOAT_BLOCK_EXT | 1000066000 | |
| ASTC_5x4_SFLOAT_BLOCK_EXT | 1000066001 | |
| ASTC_5x5_SFLOAT_BLOCK_EXT | 1000066002 | |
| ASTC_6x5_SFLOAT_BLOCK_EXT | 1000066003 | |
| ASTC_6x6_SFLOAT_BLOCK_EXT | 1000066004 | |
| ASTC_8x5_SFLOAT_BLOCK_EXT | 1000066005 | |
| ASTC_8x6_SFLOAT_BLOCK_EXT | 1000066006 | |
| ASTC_8x8_SFLOAT_BLOCK_EXT | 1000066007 | |
| ASTC_10x5_SFLOAT_BLOCK_EXT | 1000066008 | |
| ASTC_10x6_SFLOAT_BLOCK_EXT | 1000066009 | |
| ASTC_10x8_SFLOAT_BLOCK_EXT | 1000066010 | |
| ASTC_10x10_SFLOAT_BLOCK_EXT | 1000066011 | |
| ASTC_12x10_SFLOAT_BLOCK_EXT | 1000066012 | |
| ASTC_12x12_SFLOAT_BLOCK_EXT | 1000066013 | |
| G8_B8R8_2PLANE_444_UNORM_EXT | 1000330000 | |
| G10X6_B10X6R10X6_2PLANE_444_UNORM_3PACK16_EXT | 1000330001 | |
| G12X4_B12X4R12X4_2PLANE_444_UNORM_3PACK16_EXT | 1000330002 | |
| G16_B16R16_2PLANE_444_UNORM_EXT | 1000330003 | |
| A4R4G4B4_UNORM_PACK16_EXT | 1000340000 | |
| A4B4G4R4_UNORM_PACK16_EXT | 1000340001 | |
| MAX_ENUM | 0x7FFFFFFF |
enum SurfaceTransformFlagBits¶
| Enumerator | Value | Description |
|---|---|---|
| IdentityBit | 0x00000001 | |
| Rotate90Bit | 0x00000002 | |
| Rotate180Bit | 0x00000004 | |
| Rotate270Bit | 0x00000008 | |
| HorizontalMirrorBit | 0x00000010 | |
| HorizontalMirrorRotate90Bit | 0x00000020 | |
| HorizontalMirrorRotate180Bit | 0x00000040 | |
| HorizontalMirrorRotate270Bit | 0x00000080 | |
| InheritBit | 0x00000100 | |
| MaxEnum | 0x7fffffff |
enum CompositeAlphaFlagBits¶
| Enumerator | Value | Description |
|---|---|---|
| OpaqueBit | 0x00000001 | |
| PreMultipliedBit | 0x00000002 | |
| PostMultipliedBit | 0x00000004 | |
| InheritBit | 0x00000008 | |
| MaxEnum | 0x7FFFFFFF |
enum TextureUsageFlagBits¶
| Enumerator | Value | Description |
|---|---|---|
| TransferSrcBit | 0x00000001 | |
| TransferDstBit | 0x00000002 | |
| SampledBit | 0x00000004 | |
| StorageBit | 0x00000008 | |
| ColorAttachmentBit | 0x00000010 | |
| DepthStencilAttachmentBit | 0x00000020 | |
| TransientAttachmentBit | 0x00000040 | |
| InputAttachmentBit | 0x00000080 | |
| VideoDecodeDstBit | 0x00000400 | |
| VideoDecodeSrcBit | 0x00000800 | |
| VideoDecodeDpbBit | 0x00001000 | |
| FragmentDensityMapBit | 0x00000200 | |
| FragmentShadingRateAttachmentBit | 0x00000100 | |
| VideoEncodeDstBit | 0x00002000 | |
| VideoEncodeSrcBit | 0x00004000 | |
| VideoEncodeDpbBit | 0x00008000 | |
| InvocationMaskBit | 0x00040000 | |
| MaxEnum | 0x7fffffff |
enum TextureTiling¶
| Enumerator | Value | Description |
|---|---|---|
| Optimal | 0 | |
| Linear | 1 | |
| DrmFormatModifier | 1000158000 | |
| MaxEnum | 0x7fffffff |
enum TextureLayout¶
| Enumerator | Value | Description |
|---|---|---|
| Undefined | 0 | |
| General | 1 | |
| ColorAttachmentOptimal | 2 | |
| DepthStencilAttachmentOptimal | 3 | |
| DepthStencilReadOnlyOptimal | 4 | |
| ShaderReadOnlyOptimal | 5 | |
| TransferSrcOptimal | 6 | |
| TransferDstOptimal | 7 | |
| Preinitialized | 8 | |
| DepthReadOnlyStencilAttachmentOptimal | 1000117000 | |
| DepthAttachmentStencilReadOnlyOptimal | 1000117001 | |
| DepthAttachmentOptimal | 1000241000 | |
| DepthReadOnlyOptimal | 1000241001 | |
| StencilAttachmentOptimal | 1000241002 | |
| StencilReadOnlyOptimal | 1000241003 | |
| PresentSrc | 1000001002 | |
| VideoDecodeDst | 1000024000 | |
| VideoDecodeSrc | 1000024001 | |
| VideoDecodeDpb | 1000024002 | |
| SharedPresent | 1000111000 | |
| FragmentDensityMapOptimal | 1000218000 | |
| FragmentShadingRateAttachmentOptimal | 1000164003 | |
| VideoEncodeDst | 1000299000 | |
| VideoEncodeSrc | 1000299001 | |
| VideoEncodeDpb | 1000299002 | |
| ReadOnlyOptimal | 1000314000 | |
| AttachmentOptimal | 1000314001 | |
| MaxEnum | 0x7fffffff |
enum SharingMode¶
| Enumerator | Value | Description |
|---|---|---|
| Exclusive | 0 | |
| Concurrent | 1 | |
| MaxEnum | 0x7FFFFFFF |
enum TextureType¶
| Enumerator | Value | Description |
|---|---|---|
| TextureType1D | 0 | |
| TextureType2D | 1 | |
| TextureType3D | 2 | |
| TextureTypeCube | 3 | |
| MaxEnum | 0x7fffffff |
enum ViewType¶
| Enumerator | Value | Description |
|---|---|---|
| ViewType1D | 0 | |
| ViewType2D | 1 | |
| ViewType3D | 2 | |
| ViewTypeCube | 3 | |
| ViewType1DArray | 4 | |
| ViewType2DArray | 5 | |
| ViewTypeCubeArray | 6 | |
| MaxEnum | 0x7fffffff |
enum TextureAspectFlagBits¶
| Enumerator | Value | Description |
|---|---|---|
| None | 0 | |
| ColorBit | 0x00000001 | |
| DepthBit | 0x00000002 | |
| StencilBit | 0x00000004 | |
| MetadataBit | 0x00000008 | |
| Plane0Bit | 0x00000010 | |
| Plane1Bit | 0x00000020 | |
| Plane2Bit | 0x00000040 | |
| MemoryPlane0Bit | 0x00000080 | |
| MemoryPlane1Bit | 0x00000100 | |
| MemoryPlane2Bit | 0x00000200 | |
| MemoryPlane3Bit | 0x00000400 | |
| MaxEnum | 0x7fffffff |
enum BufferUsageFlagBits¶
| Enumerator | Value | Description |
|---|---|---|
| TransferSrcBit | 0x00000001 | |
| TransferDstBit | 0x00000002 | |
| UniformTexelBufferBit | 0x00000004 | |
| StorageTexelBufferBit | 0x00000008 | |
| UniformBufferBit | 0x00000010 | |
| StorageBufferBit | 0x00000020 | |
| IndexBufferBit | 0x00000040 | |
| VertexBufferBit | 0x00000080 | |
| IndirectBufferBit | 0x00000100 | |
| ShaderDeviceAddressBit | 0x00020000 | |
| VideoDecodeSrcBit | 0x00002000 | |
| VideoDecodeDstBit | 0x00004000 | |
| TransformFeedbackBufferBit | 0x00000800 | |
| TransformFeedbackCounterBufferBit | 0x00001000 | |
| ConditionalRenderingBit | 0x00000200 | |
| AccelerationStructureBuildInputReadOnlyBit | 0x00080000 | |
| AccelerationStructureStorageBit | 0x00100000 | |
| ShaderBindingTableBit | 0x00000400 | |
| VideoEncodeDstBit | 0x00008000 | |
| VideoEncodeSrcBit | 0x00010000 | |
| SamplerDescriptorBufferBit | 0x00200000 | |
| ResourceDescriptorBufferBit | 0x00400000 | |
| PushDescriptorsDescriptorBufferBit | 0x04000000 | |
| MicromapBuildInputReadOnlyBit | 0x00800000 | |
| MicromapStorageBit | 0x01000000 | |
| MaxEnum | 0x7fffffff |
enum VertexRate¶
| Enumerator | Value | Description |
|---|---|---|
| Vertex | 0 | |
| Instance | 1 | |
| MaxEnum | 0x7fffffff |
enum IndexType¶
| Enumerator | Value | Description |
|---|---|---|
| Uint16 | 0 | |
| Uint32 | 1 | |
| None | 1000165000 | |
| Uint8 | 1000265000 | |
| MaxEnum | 0x7fffffff |
enum MemoryUsage¶
| Enumerator | Value | Description |
|---|---|---|
| Unknown | 0 | |
| GpuOnly | 1 | |
| CpuOnly | 2 | |
| CpuToGpu | 3 | |
| GpuToCpu | 4 | |
| CpuCopy | 5 | |
| GpuLazilyAllocated | 6 | |
| MaxEnum | 0x7fffffff |
enum ShaderStageFlagBits¶
| Enumerator | Value | Description |
|---|---|---|
| VertexBit | 0x00000001 | |
| TessellationControlBit | 0x00000002 | |
| TessellationEvaluationBit | 0x00000004 | |
| GeometryBit | 0x00000008 | |
| FragmentBit | 0x00000010 | |
| ComputeBit | 0x00000020 | |
| AllGraphics | 0x0000001f | |
| All | 0x7fffffff | |
| RaygenBit | 0x00000100 | |
| AnyHitBit | 0x00000200 | |
| ClosestHitBit | 0x00000400 | |
| MissBit | 0x00000800 | |
| IntersectionBit | 0x00001000 | |
| CallableBit | 0x00002000 | |
| TaskBit | 0x00000040 | |
| MeshBit | 0x00000080 | |
| MaxEnum | 0x7fffffff |
enum ResourceBindingType¶
| Enumerator | Value | Description |
|---|---|---|
| Sampler | 0 | |
| CombinedImageSampler | 1 | |
| SampledImage | 2 | |
| StorageImage | 3 | |
| UniformTexelBuffer | 4 | |
| StorageTexelBuffer | 5 | |
| UniformBuffer | 6 | |
| StorageBuffer | 7 | |
| DynamicUniformBuffer | 8 | |
| DynamicStorageBuffer | 9 | |
| InputAttachment | 10 | |
| AccelerationStructure | 1000150000 | |
| MaxEnum | 0x7fffffff |
enum ResourceBindingFlagBits¶
| Enumerator | Value | Description |
|---|---|---|
| None | 0 | |
| UpdateAfterBindBit | 0x00000001 | |
| UpdateUnusedWhilePendingBit | 0x00000002 | |
| PartiallyBoundBit | 0x00000004 | |
| VariableBindGroupEntriesCountBit | 0x00000008 |
enum PrimitiveTopology¶
| Enumerator | Value | Description |
|---|---|---|
| PointList | 0 | |
| LineList | 1 | |
| LineStrip | 2 | |
| TriangleList | 3 | |
| TriangleStrip | 4 | |
| TriangleFan | 5 | |
| LineListWithAdjacency | 6 | |
| LineStripWithAdjacency | 7 | |
| TriangleListWithAdjacency | 8 | |
| TriangleStripWithAdjacency | 9 | |
| PatchList | 10 | |
| MaxEnum | 0x7fffffff |
enum CullModeFlagBits¶
| Enumerator | Value | Description |
|---|---|---|
| None | 0 | |
| FrontBit | 0x00000001 | |
| BackBit | 0x00000002 | |
| FrontAndBack | 0x00000003 | |
| MaxEnum | 0x7fffffff |
enum FrontFace¶
| Enumerator | Value | Description |
|---|---|---|
| CounterClockwise | 0 | |
| Clockwise | 1 | |
| MaxEnum | 0x7fffffff |
enum PolygonMode¶
| Enumerator | Value | Description |
|---|---|---|
| Fill | 0 | |
| Line | 1 | |
| Point | 2 | |
| MaxEnum | 0x7fffffff |
enum CompareOperation¶
| Enumerator | Value | Description |
|---|---|---|
| Never | 0 | |
| Less | 1 | |
| Equal | 2 | |
| LessOrEqual | 3 | |
| Greater | 4 | |
| NotEqual | 5 | |
| GreaterOrEqual | 6 | |
| Always | 7 | |
| MaxEnum | 0x7fffffff |
enum StencilOperation¶
| Enumerator | Value | Description |
|---|---|---|
| Keep | 0 | |
| Zero | 1 | |
| Replace | 2 | |
| IncrementAndClamp | 3 | |
| DecrementAndClamp | 4 | |
| Invert | 5 | |
| IncrementAndWrap | 6 | |
| DecrementAndWrap | 7 | |
| MaxEnum | 0x7fffffff |
enum ColorComponentFlagBits¶
| Enumerator | Value | Description |
|---|---|---|
| RedBit | 0x00000001 | |
| GreenBit | 0x00000002 | |
| BlueBit | 0x00000004 | |
| AlphaBit | 0x00000008 | |
| AllComponents | RedBit | GreenBit | BlueBit | AlphaBit | |
| MaxEnum | 0x7fffffff |
enum BlendOperation¶
| Enumerator | Value | Description |
|---|---|---|
| Add | 0 | |
| Subtract | 1 | |
| ReverseSubtract | 2 | |
| Min | 3 | |
| Max | 4 | |
| Zero | 1000148000 | |
| Src | 1000148001 | |
| Dst | 1000148002 | |
| SrcOver | 1000148003 | |
| DstOver | 1000148004 | |
| SrcIn | 1000148005 | |
| DstIn | 1000148006 | |
| SrcOut | 1000148007 | |
| DstOut | 1000148008 | |
| SrcAtop | 1000148009 | |
| DstAtop | 1000148010 | |
| Xor | 1000148011 | |
| Multiply | 1000148012 | |
| Screen | 1000148013 | |
| Overlay | 1000148014 | |
| Darken | 1000148015 | |
| Lighten | 1000148016 | |
| ColorDodge | 1000148017 | |
| ColorBurn | 1000148018 | |
| HardLight | 1000148019 | |
| SoftLight | 1000148020 | |
| Difference | 1000148021 | |
| Exclusion | 1000148022 | |
| Invert | 1000148023 | |
| InvertRgb | 1000148024 | |
| LinearDodge | 1000148025 | |
| LinearBurn | 1000148026 | |
| VividLight | 1000148027 | |
| LinearLight | 1000148028 | |
| PinLight | 1000148029 | |
| HardMix | 1000148030 | |
| HslHue | 1000148031 | |
| HslSaturation | 1000148032 | |
| HslColor | 1000148033 | |
| HslLuminosity | 1000148034 | |
| Plus | 1000148035 | |
| PlusClamped | 1000148036 | |
| PlusClampedAlpha | 1000148037 | |
| PlusDarker | 1000148038 | |
| Minus | 1000148039 | |
| MinusClamped | 1000148040 | |
| Contrast | 1000148041 | |
| InvertOvg | 1000148042 | |
| Red | 1000148043 | |
| Green | 1000148044 | |
| Blue | 1000148045 | |
| MaxEnum | 0x7fffffff |
enum BlendFactor¶
| Enumerator | Value | Description |
|---|---|---|
| Zero | 0 | |
| One | 1 | |
| SrcColor | 2 | |
| OneMinusSrcColor | 3 | |
| DstColor | 4 | |
| OneMinusDstColor | 5 | |
| SrcAlpha | 6 | |
| OneMinusSrcAlpha | 7 | |
| DstAlpha | 8 | |
| OneMinusDstAlpha | 9 | |
| ConstantColor | 10 | |
| OneMinusConstantColor | 11 | |
| ConstantAlpha | 12 | |
| OneMinusConstantAlpha | 13 | |
| SrcAlphaSaturate | 14 | |
| Src1Color | 15 | |
| OneMinusSrc1Color | 16 | |
| Src1Alpha | 17 | |
| OneMinusSrc1Alpha | 18 | |
| MaxEnum | 0x7fffffff |
enum AttachmentLoadOperation¶
| Enumerator | Value | Description |
|---|---|---|
| Load | 0 | |
| Clear | 1 | |
| DontCare | 2 | |
| MaxEnum | 0x7fffffff |
enum AttachmentStoreOperation¶
| Enumerator | Value | Description |
|---|---|---|
| Store | 0 | |
| DontCare | 1 | |
| MaxEnum | 0x7fffffff |
enum AddressMode¶
| Enumerator | Value | Description |
|---|---|---|
| Repeat | 0 | |
| MirroredRepeat | 1 | |
| ClampToEdge | 2 | |
| ClampToBorder | 3 | |
| MirrorClampToEdge | 4 | |
| MaxEnum | 0x7fffffff |
enum FilterMode¶
| Enumerator | Value | Description |
|---|---|---|
| Nearest | 0 | |
| Linear | 1 | |
| MaxEnum | 0x7fffffff |
enum MipmapFilterMode¶
| Enumerator | Value | Description |
|---|---|---|
| Nearest | 0 | |
| Linear | 1 | |
| MaxEnum | 0x7fffffff |
enum AccessFlagBit¶
| Enumerator | Value | Description |
|---|---|---|
| None | 0 | |
| IndirectCommandReadBit | 0x00000001 | |
| IndexReadBit | 0x00000002 | |
| VertexAttributeReadBit | 0x00000004 | |
| UniformReadBit | 0x00000008 | |
| InputAttachmentReadBit | 0x00000010 | |
| ShaderReadBit | 0x00000020 | |
| ShaderWriteBit | 0x00000040 | |
| ColorAttachmentReadBit | 0x00000080 | |
| ColorAttachmentWriteBit | 0x00000100 | |
| DepthStencilAttachmentReadBit | 0x00000200 | |
| DepthStencilAttachmentWriteBit | 0x00000400 | |
| TransferReadBit | 0x00000800 | |
| TransferWriteBit | 0x00001000 | |
| HostReadBit | 0x00002000 | |
| HostWriteBit | 0x00004000 | |
| MemoryReadBit | 0x00008000 | |
| MemoryWriteBit | 0x00010000 | |
| ShaderSampledReadBit | 0x100000000ULL | |
| ShaderStorageReadBit | 0x200000000ULL | |
| ShaderStorageWriteBit | 0x400000000ULL | |
| VideoDecodeReadBit | 0x800000000ULL | |
| VideoDecodeWriteBit | 0x1000000000ULL | |
| VideoEncodeReadBit | 0x2000000000ULL | |
| VideoEncodeWriteBit | 0x4000000000ULL | |
| TransformFeedbackWriteBit | 0x02000000ULL | |
| TransformFeedbackCounterReadBit | 0x04000000ULL | |
| TransformFeedbackCounterWriteBit | 0x08000000ULL | |
| ConditionalRenderingReadBit | 0x00100000ULL | |
| CommandPreprocessReadBit | 0x00020000ULL | |
| CommandPreprocessWriteBit | 0x00040000ULL | |
| FragmentShadingRateAttachmentReadBit | 0x00800000ULL | |
| ShadingRateImageReadBit | 0x00800000ULL | |
| AccelerationStructureReadBit | 0x00200000ULL | |
| AccelerationStructureWriteBit | 0x00400000ULL | |
| FragmentDensityMapReadBit | 0x01000000ULL | |
| ColorAttachmentReadNoncoherentBit | 0x00080000ULL | |
| DescriptorBufferReadBit | 0x20000000000ULL | |
| ShaderBindingTableReadBit | 0x10000000000ULL | |
| MicromapReadBit | 0x100000000000ULL | |
| MicromapWriteBit | 0x200000000000ULL | |
| OpticalFlowReadBit | 0x40000000000ULL | |
| OpticalFlowWriteBit | 0x80000000000ULL |
enum PipelineStageFlagBit¶
| Enumerator | Value | Description |
|---|---|---|
| None | 0 | |
| TopOfPipeBit | 0x00000001ULL | |
| DrawIndirectBit | 0x00000002ULL | |
| VertexInputBit | 0x00000004ULL | |
| VertexShaderBit | 0x00000008ULL | |
| TessellationControlShaderBit | 0x00000010ULL | |
| TessellationEvaluationShaderBit | 0x00000020ULL | |
| GeometryShaderBit | 0x00000040ULL | |
| FragmentShaderBit | 0x00000080ULL | |
| EarlyFragmentTestBit | 0x00000100ULL | |
| LateFragmentTestBit | 0x00000200ULL | |
| ColorAttachmentOutputBit | 0x00000400ULL | |
| ComputeShaderBit | 0x00000800ULL | |
| TransferBit | 0x00001000ULL | |
| BottomOfPipeBit | 0x00002000ULL | |
| HostBit | 0x00004000ULL | |
| AllGraphicsBit | 0x00008000ULL | |
| AllCommandsBit | 0x00010000ULL | |
| CopyBit | 0x100000000ULL | |
| ResolveBit | 0x200000000ULL | |
| BlitBit | 0x400000000ULL | |
| ClearBit | 0x800000000ULL | |
| IndexInputBit | 0x1000000000ULL | |
| VertexAttributeInputBit | 0x2000000000ULL | |
| PreRasterizationShadersBit | 0x4000000000ULL | |
| VideoDecodeBit | 0x04000000ULL | |
| VideoEncodeBit | 0x08000000ULL | |
| TransformFeedbackBit | 0x01000000ULL | |
| ConditionalRenderingBit | 0x00040000ULL | |
| CommandPreprocessBit | 0x00020000ULL | |
| FragmentShadingRateAttachmentBit | 0x00400000ULL | |
| ShadingRateImageBit | 0x00400000ULL | |
| AccelerationStructureBuildBit | 0x02000000ULL | |
| RayTracingShaderBit | 0x00200000ULL | |
| FragmentDensityProcessBit | 0x00800000ULL | |
| TaskShaderBit | 0x00080000ULL | |
| MeshShaderBit | 0x00100000ULL | |
| AccelerationStructureCopyBit | 0x10000000ULL | |
| MicromapBuildBit | 0x40000000ULL | |
| OpticalFlowBit | 0x20000000ULL |
enum CommandBufferLevel¶
| Enumerator | Value | Description |
|---|---|---|
| Primary | 0 | |
| Secondary | 1 | |
| MaxEnum | 0x7FFFFFFF |
enum FormatFeatureFlagBit¶
| Enumerator | Value | Description |
|---|---|---|
| SampledImageBit | 0x00000001 | |
| StorageImageBit | 0x00000002 | |
| StorageAtomicBit | 0x00000004 | |
| UniformTexelBufferBit | 0x00000008 | |
| StorageTexelBufferBit | 0x00000010 | |
| StorageTexelBufferAtomicBit | 0x00000020 | |
| VertexBufferBit | 0x00000040 | |
| ColorAttachmentBit | 0x00000080 | |
| ColorAttachmentBlendBit | 0x00000100 | |
| DepthStencilAttachmentBit | 0x00000200 | |
| BlitSrcBit | 0x00000400 | |
| BlitDstBit | 0x00000800 | |
| SampledImageFilterLinearBit | 0x00001000 | |
| TransferSrcBit | 0x00004000 | |
| TransferDstBit | 0x00008000 | |
| MidpointChromaSampleBit | 0x00020000 | |
| SampledImageYCBCRConversionLinearFilterBit | 0x00040000 | |
| SampledImageYCBCRConversionSeparateReconstructionFilterBit | 0x00080000 | |
| SampledImageYCBCRConversionChromaReconstructionExplicitBit | 0x00100000 | |
| SampledImageYCBCRConversionChromaReconstructionExplicitForceableBit | 0x00200000 | |
| DisjointBit | 0x00400000 | |
| CositedChromaSampledBit | 0x00800000 | |
| SampledImageFilterMinMaxBit | 0x00010000 | |
| SampledImageFilterCubicBit | 0x00002000 | |
| MaxEnum | 0x7FFFFFFF |
enum PresentResult¶
| Enumerator | Value | Description |
|---|---|---|
| OutOfMemory | ||
| DeviceLost | ||
| OutOfDate | ||
| SurfaceLost | ||
| Success |
enum FenceStatus¶
| Enumerator | Value | Description |
|---|---|---|
| Signalled | 0 | |
| Unsignalled | 1 | |
| Error | 2 |
enum ExternalSemaphoreHandleTypeFlagBits¶
| Enumerator | Value | Description |
|---|---|---|
| None | 0 | |
| OpaqueFD | 0x00000001 | |
| OpaqueWin32 | 0x00000002 | |
| OpaqueWin32Kmt | 0x00000004 | |
| D3D12Fence | 0x00000008 | |
| SyncFD | 0x00000010 | |
| ZirconEventFuchsia | 0x00000080 |
enum ExternalFenceHandleTypeFlagBits¶
| Enumerator | Value | Description |
|---|---|---|
| None | 0 | |
| OpaqueFD | 0x00000001 | |
| OpaqueWin32 | 0x00000002 | |
| OpaqueWin32Kmt | 0x00000004 | |
| SyncFD | 0x00000008 |
enum ExternalMemoryHandleTypeFlagBits¶
| Enumerator | Value | Description |
|---|---|---|
| None | 0 | |
| OpaqueFD | 0x00000001 | |
| OpaqueWin32 | 0x00000002 | |
| OpaqueWin32Kmt | 0x00000004 | |
| D3D11Texture | 0x00000008 | |
| D3D11TextureKmt | 0x00000010 | |
| D3D12Heap | 0x00000020 | |
| D3D12Resource | 0x00000040 | |
| DmaBuf | 0x00000200 | |
| AndroidHardwareBuffer | 0x00000400 | |
| HostAllocation | 0x00000080 | |
| HostMappedForeignMemor | 0x00000100 | |
| ZirconVmoFuschia | 0x00000800 | |
| RmdaAddressNV | 0x00001000 | |
| ScreenBufferQnx | 0x00004000 |
enum ResolveModeFlagBits¶
| Enumerator | Value | Description |
|---|---|---|
| None | 0 | |
| SampleZero | 0x00000001 | |
| Average | 0x00000002 | |
| Min | 0x00000004 | |
| Max | 0x00000008 |
enum StencilFaceFlagBits¶
| Enumerator | Value | Description |
|---|---|---|
| FrontBit | 0x00000001 | |
| BackBit | 0x00000002 | |
| FrontAndBack | 0x00000003 | |
| MaxEnum | 0x7fffffff |
enum DynamicState¶
| Enumerator | Value | Description |
|---|---|---|
| StencilReference | 8 |
enum BuildAccelerationStructureMode¶
| Enumerator | Value | Description |
|---|---|---|
| Build | 0 | |
| Update | 1 |
enum AccelerationStructureType¶
| Enumerator | Value | Description |
|---|---|---|
| TopLevel | 0 | |
| BottomLevel | 1 | |
| Generic | 2 |
enum GeometryInstanceFlagBits¶
| Enumerator | Value | Description |
|---|---|---|
| None | 0 | |
| TriangleFacingCullDisable | 0x00000001 | |
| TriangleFlipFacing | 0x00000002 | |
| ForceOpaque | 0x00000004 | |
| ForceNoOpaque | 0x00000008 |
enum RayTracingShaderGroupType¶
| Enumerator | Value | Description |
|---|---|---|
| General | 0 | |
| TrianglesHit | 1 | |
| ProceduralHit | 2 |
enum AccelerationStructureFlagBits¶
| Enumerator | Value | Description |
|---|---|---|
| None | 0 | |
| AllowUpdate | 0x00000001 | |
| AllowCompaction | 0x00000002 | |
| PreferFastTrace | 0x00000004 | |
| PreferFastBuild | 0x00000008 | |
| LowMemory | 0x00000010 |
enum FormFactor¶
| Enumerator | Value | Description |
|---|---|---|
| HeadMountedDisplay | 1 | |
| HandheldDisplay | 2 | |
| MaxEnum | 0x7fffffff |
enum ViewConfigurationType¶
| Enumerator | Value | Description |
|---|---|---|
| PrimaryMono | 1 | |
| PrimaryStereo | 2 | |
| PrimaryQuadVarjo | 1000037000 | |
| MaxEnum | 0x7fffffff |
enum EnvironmentBlendMode¶
| Enumerator | Value | Description |
|---|---|---|
| Opaque | 1 | |
| Additive | 2 | |
| AlphaBlend | 3 | |
| MaxEnum | 0x7fffffff |
enum ReferenceSpaceType¶
| Enumerator | Value | Description |
|---|---|---|
| View | 1 | |
| Local | 2 | |
| Stage | 3 | |
| LocalFloor | 1000426000 | |
| MaxEnum | 0x7fffffff |
enum SwapchainUsageFlagBits¶
| Enumerator | Value | Description |
|---|---|---|
| ColorAttachmentBit | 0x00000001 | |
| DepthStencilAttachmentBit | 0x00000002 | |
| UnorderedAccessBit | 0x00000004 | |
| TransferSrcBit | 0x00000008 | |
| TransferDstBit | 0x00000010 | |
| SampledBit | 0x00000020 | |
| MutableFormatBit | 0x00000040 | |
| InputAttachmentBit | 0x00000080 | |
| MaxEnum | 0x7fffffff |
enum AcquireSwapchainTextureResult¶
| Enumerator | Value | Description |
|---|---|---|
| Success | 0 | |
| SessionLossPending | 3 | |
| ValidationFailure | -1 | |
| RuntimeFailure | -2 | |
| HandleInvalid | -12 | |
| InstanceLost | -13 | |
| SessionLost | -17 | |
| CallOrderInvalid | -37 | |
| MaxEnum | 0x7fffffff |
enum WaitSwapchainTextureResult¶
| Enumerator | Value | Description |
|---|---|---|
| Success | 0 | |
| TimeoutExpired | 1 | |
| SessionLossPending | 3 | |
| ValidationFailure | -1 | |
| RuntimeFailure | -2 | |
| HandleInvalid | -12 | |
| InstanceLost | -13 | |
| SessionLost | -17 | |
| CallOrderInvalid | -37 | |
| MaxEnum | 0x7fffffff |
enum ProcessEventsResult¶
| Enumerator | Value | Description |
|---|---|---|
| Success | 0 | |
| EventUnavailable | 4 | |
| ValidationFailure | -1 | |
| RuntimeFailure | -2 | |
| HandleInvalid | -12 | |
| InstanceLost | -13 | |
| MaxEnum | 0x7fffffff |
enum SessionState¶
| Enumerator | Value | Description |
|---|---|---|
| Unknown | 0 | |
| Idle | 1 | |
| Ready | 2 | |
| Synchronized | 3 | |
| Visible | 4 | |
| Focused | 5 | |
| Stopping | 6 | |
| LossPending | 7 | |
| Exiting | 8 | |
| MaxEnum | 0x7fffffff |
enum WaitFrameResult¶
| Enumerator | Value | Description |
|---|---|---|
| Success | 0 | |
| SessionLossPending | 3 | |
| ValidationFailure | -1 | |
| RuntimeFailure | -2 | |
| HandleInvalid | -12 | |
| InstanceLost | -13 | |
| SessionNotRunning | -16 | |
| SessionLost | -17 | |
| MaxEnum | 0x7fffffff |
enum BeginFrameResult¶
| Enumerator | Value | Description |
|---|---|---|
| Success | 0 | |
| SessionLossPending | 3 | |
| FrameDiscarded | 9 | |
| ValidationFailure | -1 | |
| RuntimeFailure | -2 | |
| HandleInvalid | -12 | |
| InstanceLost | -13 | |
| SessionNotRunning | -16 | |
| SessionLost | -17 | |
| CallOrderInvalid | -37 | |
| MaxEnum | 0x7fffffff |
enum EndFrameResult¶
| Enumerator | Value | Description |
|---|---|---|
| Success | 0 | |
| SessionLossPending | 3 | |
| ValidationFailure | -1 | |
| RuntimeFailure | -2 | |
| HandleInvalid | -12 | |
| InstanceLost | -13 | |
| SessionNotRunning | -16 | |
| SessionLost | -17 | |
| LayerInvalid | -23 | |
| LayerLimitExceeded | -24 | |
| SwapchainRectInvalid | -25 | |
| TimeInvalid | -30 | |
| CallOrderInvalid | -37 | |
| PoseInvalid | -39 | |
| EnvironmentBlendModeUnsupported | -42 | |
| MaxEnum | 0x7fffffff |
enum ViewStateFlagBits¶
| Enumerator | Value | Description |
|---|---|---|
| OrientationValidBit | 0x00000001 | |
| PositionValidBit | 0x00000002 | |
| OrientationTrackedBit | 0x00000004 | |
| PositionTrackedBit | 0x00000008 | |
| MaxEnum | 0x7fffffff |
enum LocateViewsResult¶
| Enumerator | Value | Description |
|---|---|---|
| Success | 0 | |
| SessionLossPending | 3 | |
| ValidationFailure | -1 | |
| RuntimeFailure | -2 | |
| HandleInvalid | -12 | |
| InstanceLost | -13 | |
| SessionLost | -17 | |
| TimeInvalid | -30 | |
| ViewConfigurationTypeUnsupported | -41 | |
| MaxEnum | 0x7fffffffffffffff |
enum CompositionLayerFlagBits¶
| Enumerator | Value | Description |
|---|---|---|
| CorrectChromaticAberrationBit | 0x00000001 | |
| BlendTextureSourceAlphaBit | 0x00000002 | |
| UnpremultiplyAlphaBit | 0x00000004 | |
| MaxEnum | 0x7fffffff |
enum EyeVisibility¶
| Enumerator | Value | Description |
|---|---|---|
| Both | 0 | |
| Left | 1 | |
| Right | 2 | |
| MaxEnum | 0x7fffffff |
enum ActionType¶
| Enumerator | Value | Description |
|---|---|---|
| BooleanInput | 1 | |
| FloatInput | 2 | |
| Vector2Input | 3 | |
| PoseInput | 4 | |
| VibrationOutput | 100 | |
| MaxEnum | 0x7fffffff |
enum SuggestActionBindingsResult¶
| Enumerator | Value | Description |
|---|---|---|
| Success | 0 | |
| ValidationFailure | -1 | |
| RuntimeFailure | -2 | |
| HandleInvalid | -12 | |
| InstanceLost | -13 | |
| PathInvalid | -19 | |
| PathUnsupported | -22 | |
| MaxEnum | 0x7fffffff |
enum AttachActionSetsResult¶
| Enumerator | Value | Description |
|---|---|---|
| Success | 0 | |
| ValidationFailure | -1 | |
| RuntimeFailure | -2 | |
| HandleInvalid | -12 | |
| InstanceLost | -13 | |
| SessionLost | -17 | |
| MaxEnum | 0x7fffffff |
enum SyncActionsResult¶
| Enumerator | Value | Description |
|---|---|---|
| Success | 0 | |
| SessionLossPending | 3 | |
| SessionNotFocussed | 8 | |
| ValidationFailure | -1 | |
| RuntimeFailure | -2 | |
| HandleInvalid | -12 | |
| InstanceLost | -13 | |
| SessionLost | -17 | |
| PathInvalid | -19 | |
| PathUnsupported | -22 | |
| ActionSetNotAttached | -46 | |
| MaxEnum | 0x7fffffff |
enum GetInteractionProfileResult¶
| Enumerator | Value | Description |
|---|---|---|
| Success | 0 | |
| SessionLossPending | 3 | |
| ValidationFailure | -1 | |
| RuntimeFailure | -2 | |
| HandleInvalid | -12 | |
| InstanceLost | -13 | |
| SessionLost | -17 | |
| PathInvalid | -19 | |
| PathUnsupported | -22 | |
| ActionSetNotAttached | -46 | |
| MaxEnum | 0x7fffffff |
enum GetActionStateResult¶
| Enumerator | Value | Description |
|---|---|---|
| Success | 0 | |
| SessionLossPending | 3 | |
| ValidationFailure | -1 | |
| RuntimeFailure | -2 | |
| HandleInvalid | -12 | |
| InstanceLost | -13 | |
| SessionLost | -17 | |
| PathInvalid | -19 | |
| PathUnsupported | -22 | |
| ActionTypeMismatch | -27 | |
| ActionSetNotAttached | -46 | |
| MaxEnum | 0x7fffffff |
enum VibrateOutputResult¶
| Enumerator | Value | Description |
|---|---|---|
| Success | 0 | |
| SessionLossPending | 3 | |
| SessionNotFocussed | 8 | |
| ValidationFailure | -1 | |
| RuntimeFailure | -2 | |
| HandleInvalid | -12 | |
| InstanceLost | -13 | |
| SessionLost | -17 | |
| PathInvalid | -19 | |
| PathUnsupported | -22 | |
| ActionTypeMismatch | -27 | |
| ActionSetNotAttached | -46 | |
| MaxEnum | 0x7fffffff |
enum LocateSpaceResult¶
| Enumerator | Value | Description |
|---|---|---|
| Success | 0 | |
| SessionLossPending | 3 | |
| ValidationFailure | -1 | |
| RuntimeFailure | -2 | |
| HandleInvalid | -12 | |
| InstanceLost | -13 | |
| SessionLost | -17 | |
| TimeInvalid | -30 | |
| MaxEnum | 0x7fffffff |
enum SpaceStateFlagBits¶
| Enumerator | Value | Description |
|---|---|---|
| OrientationValidBit | 0x00000001 | |
| PositionValidBit | 0x00000002 | |
| OrientationTrackedBit | 0x00000004 | |
| PositionTrackedBit | 0x00000008 | |
| LinearVelocityValidBit | 0x00000010 | |
| AngularVelocityValidBit | 0x00000020 | |
| MaxEnum | 0x7fffffff |
using DeviceSize¶
1 | |
using SampleMask¶
1 | |
using TimestampIndex¶
1 | |
using HandleOrFD¶
1 | |
using SampleCountFlags¶
1 | |
using QueueFlags¶
1 | |
using SurfaceTransformFlags¶
1 | |
using CompositeAlphaFlags¶
1 | |
using TextureUsageFlags¶
1 | |
using TextureAspectFlags¶
1 | |
using BufferUsageFlags¶
1 | |
using ShaderStageFlags¶
1 | |
using ResourceBindingFlags¶
1 | |
using CullModeFlags¶
1 | |
using ColorComponentFlags¶
1 | |
using AccessFlags¶
1 | |
using PipelineStageFlags¶
1 | |
using FormatFeatureFlags¶
1 | |
using AcquireImageResult¶
1 | |
using ExternalSemaphoreHandleTypeFlags¶
1 | |
using ExternalFenceHandleTypeFlags¶
1 | |
using ExternalMemoryHandleTypeFlags¶
1 | |
using ResolveModeFlags¶
1 | |
using StencilFaceFlags¶
1 | |
using GeometryInstanceFlags¶
1 | |
using AccelerationStructureFlags¶
1 | |
using Time¶
1 | |
using Duration¶
1 | |
using SwapchainUsageFlags¶
1 | |
using ReleaseTextureResult¶
1 | |
using ViewStateFlags¶
1 | |
using CompositionLayerFlags¶
1 | |
using SpaceStateFlags¶
1 | |
Functions Documentation¶
function getSuitableImageCount¶
1 2 3 | |
Returns a suitable image count for a given surface, which can be used for minImageCount in SwapchainOptions.
function surfaceCapabilitiesToString¶
1 2 3 | |
function operator==¶
1 2 3 4 | |
function adapterDeviceTypeToString¶
1 2 3 | |
function presentModeToString¶
1 2 3 | |
function surfaceTransformFlagBitsToString¶
1 2 3 | |
function viewCount¶
1 2 3 | |
function operator==¶
1 2 3 | |
function operator==¶
1 2 3 | |
function operator==¶
1 2 3 | |
function operator==¶
1 2 3 | |
function viewCount¶
1 | |
Attributes Documentation¶
variable maxAdapterNameSize¶
1 | |
variable UuidSize¶
1 | |
variable remainingArrayLayers¶
1 | |
variable remainingMipLevels¶
1 | |
variable IgnoreQueueType¶
1 | |
variable WholeSize¶
1 | |
variable InfiniteDuration¶
1 | |
variable MinimumHapticDuration¶
1 | |
variable UnspecifiedHapticFrequency¶
1 | |
variable name¶
1 | |
variable description¶
1 | |
variable specVersion¶
1 | |
variable layerVersion¶
1 | |
variable name¶
1 | |
variable extensionVersion¶
1 | |
variable runtimeName¶
1 | |
variable runtimeVersion¶
1 | |
variable maxSwapchainWidth¶
1 | |
variable maxSwapchainHeight¶
1 | |
variable maxLayerCount¶
1 | |
variable hasOrientationTracking¶
1 | |
variable hasPositionTracking¶
1 | |
variable vendorId¶
1 | |
variable systemName¶
1 | |
variable graphicsProperties¶
1 | |
variable trackingProperties¶
1 | |
variable recommendedTextureWidth¶
1 | |
variable maxTextureWidth¶
1 | |
variable recommendedTextureHeight¶
1 | |
variable maxTextureHeight¶
1 | |
variable recommendedSwapchainSampleCount¶
1 | |
variable maxSwapchainSampleCount¶
1 | |
variable minApiVersionSupported¶
1 | |
variable maxApiVersionSupported¶
1 | |
variable x¶
1 | |
variable y¶
1 | |
variable z¶
1 | |
variable w¶
1 | |
variable x¶
1 | |
variable y¶
1 | |
variable z¶
1 | |
variable x¶
1 | |
variable y¶
1 | |
variable orientation¶
1 | |
variable position¶
1 | |
variable waitFrameResult¶
1 | |
variable predictedDisplayTime¶
1 | |
variable predictedDisplayPeriod¶
1 | |
variable shouldRender¶
1 | |
variable angleLeft¶
1 | |
variable angleRight¶
1 | |
variable angleUp¶
1 | |
variable angleDown¶
1 | |
variable pose¶
1 | |
variable fieldOfView¶
1 | |
variable viewStateFlags¶
1 | |
variable views¶
1 | |
variable result¶
1 | |
variable interactionProfile¶
1 | |
variable currentState¶
1 | |
variable changedSinceLastSync¶
1 | |
variable lastChangeTime¶
1 | |
variable active¶
1 | |
variable currentState¶
1 | |
variable changedSinceLastSync¶
1 | |
variable lastChangeTime¶
1 | |
variable active¶
1 | |
variable currentState¶
1 | |
variable changedSinceLastSync¶
1 | |
variable lastChangeTime¶
1 | |
variable active¶
1 | |
variable active¶
1 | |
variable spaceStateFlags¶
1 | |
variable pose¶
1 | |
variable linearVelocity¶
1 | |
variable angularVelocity¶
1 | |
Updated on 2025-07-08 at 12:01:11 +0000