vulkan

package
v0.0.0-...-3a05198 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FormatTable map[string]Format = formatTable

Functions

func GetDescriptor

func GetDescriptor(format Format, endianness kdf.Endianness) *kdf.Descriptor

Types

type Format

type Format uint32
const (
	FormatUndefined                                  Format = 0
	FormatR4G4_UNORM_PACK8                           Format = 1
	FormatR4G4B4A4_UNORM_PACK16                      Format = 2
	FormatB4G4R4A4_UNORM_PACK16                      Format = 3
	FormatR5G6B5_UNORM_PACK16                        Format = 4
	FormatB5G6R5_UNORM_PACK16                        Format = 5
	FormatR5G5B5A1_UNORM_PACK16                      Format = 6
	FormatB5G5R5A1_UNORM_PACK16                      Format = 7
	FormatA1R5G5B5_UNORM_PACK16                      Format = 8
	FormatR8_UNORM                                   Format = 9
	FormatR8_SNORM                                   Format = 10
	FormatR8_USCALED                                 Format = 11
	FormatR8_SSCALED                                 Format = 12
	FormatR8_UINT                                    Format = 13
	FormatR8_SINT                                    Format = 14
	FormatR8_SRGB                                    Format = 15
	FormatR8G8_UNORM                                 Format = 16
	FormatR8G8_SNORM                                 Format = 17
	FormatR8G8_USCALED                               Format = 18
	FormatR8G8_SSCALED                               Format = 19
	FormatR8G8_UINT                                  Format = 20
	FormatR8G8_SINT                                  Format = 21
	FormatR8G8_SRGB                                  Format = 22
	FormatR8G8B8_UNORM                               Format = 23
	FormatR8G8B8_SNORM                               Format = 24
	FormatR8G8B8_USCALED                             Format = 25
	FormatR8G8B8_SSCALED                             Format = 26
	FormatR8G8B8_UINT                                Format = 27
	FormatR8G8B8_SINT                                Format = 28
	FormatR8G8B8_SRGB                                Format = 29
	FormatB8G8R8_UNORM                               Format = 30
	FormatB8G8R8_SNORM                               Format = 31
	FormatB8G8R8_USCALED                             Format = 32
	FormatB8G8R8_SSCALED                             Format = 33
	FormatB8G8R8_UINT                                Format = 34
	FormatB8G8R8_SINT                                Format = 35
	FormatB8G8R8_SRGB                                Format = 36
	FormatR8G8B8A8_UNORM                             Format = 37
	FormatR8G8B8A8_SNORM                             Format = 38
	FormatR8G8B8A8_USCALED                           Format = 39
	FormatR8G8B8A8_SSCALED                           Format = 40
	FormatR8G8B8A8_UINT                              Format = 41
	FormatR8G8B8A8_SINT                              Format = 42
	FormatR8G8B8A8_SRGB                              Format = 43
	FormatB8G8R8A8_UNORM                             Format = 44
	FormatB8G8R8A8_SNORM                             Format = 45
	FormatB8G8R8A8_USCALED                           Format = 46
	FormatB8G8R8A8_SSCALED                           Format = 47
	FormatB8G8R8A8_UINT                              Format = 48
	FormatB8G8R8A8_SINT                              Format = 49
	FormatB8G8R8A8_SRGB                              Format = 50
	FormatA8B8G8R8_UNORM_PACK32                      Format = 51
	FormatA8B8G8R8_SNORM_PACK32                      Format = 52
	FormatA8B8G8R8_USCALED_PACK32                    Format = 53
	FormatA8B8G8R8_SSCALED_PACK32                    Format = 54
	FormatA8B8G8R8_UINT_PACK32                       Format = 55
	FormatA8B8G8R8_SINT_PACK32                       Format = 56
	FormatA8B8G8R8_SRGB_PACK32                       Format = 57
	FormatA2R10G10B10_UNORM_PACK32                   Format = 58
	FormatA2R10G10B10_SNORM_PACK32                   Format = 59
	FormatA2R10G10B10_USCALED_PACK32                 Format = 60
	FormatA2R10G10B10_SSCALED_PACK32                 Format = 61
	FormatA2R10G10B10_UINT_PACK32                    Format = 62
	FormatA2R10G10B10_SINT_PACK32                    Format = 63
	FormatA2B10G10R10_UNORM_PACK32                   Format = 64
	FormatA2B10G10R10_SNORM_PACK32                   Format = 65
	FormatA2B10G10R10_USCALED_PACK32                 Format = 66
	FormatA2B10G10R10_SSCALED_PACK32                 Format = 67
	FormatA2B10G10R10_UINT_PACK32                    Format = 68
	FormatA2B10G10R10_SINT_PACK32                    Format = 69
	FormatR16_UNORM                                  Format = 70
	FormatR16_SNORM                                  Format = 71
	FormatR16_USCALED                                Format = 72
	FormatR16_SSCALED                                Format = 73
	FormatR16_UINT                                   Format = 74
	FormatR16_SINT                                   Format = 75
	FormatR16_SFLOAT                                 Format = 76
	FormatR16G16_UNORM                               Format = 77
	FormatR16G16_SNORM                               Format = 78
	FormatR16G16_USCALED                             Format = 79
	FormatR16G16_SSCALED                             Format = 80
	FormatR16G16_UINT                                Format = 81
	FormatR16G16_SINT                                Format = 82
	FormatR16G16_SFLOAT                              Format = 83
	FormatR16G16B16_UNORM                            Format = 84
	FormatR16G16B16_SNORM                            Format = 85
	FormatR16G16B16_USCALED                          Format = 86
	FormatR16G16B16_SSCALED                          Format = 87
	FormatR16G16B16_UINT                             Format = 88
	FormatR16G16B16_SINT                             Format = 89
	FormatR16G16B16_SFLOAT                           Format = 90
	FormatR16G16B16A16_UNORM                         Format = 91
	FormatR16G16B16A16_SNORM                         Format = 92
	FormatR16G16B16A16_USCALED                       Format = 93
	FormatR16G16B16A16_SSCALED                       Format = 94
	FormatR16G16B16A16_UINT                          Format = 95
	FormatR16G16B16A16_SINT                          Format = 96
	FormatR16G16B16A16_SFLOAT                        Format = 97
	FormatR32_UINT                                   Format = 98
	FormatR32_SINT                                   Format = 99
	FormatR32_SFLOAT                                 Format = 100
	FormatR32G32_UINT                                Format = 101
	FormatR32G32_SINT                                Format = 102
	FormatR32G32_SFLOAT                              Format = 103
	FormatR32G32B32_UINT                             Format = 104
	FormatR32G32B32_SINT                             Format = 105
	FormatR32G32B32_SFLOAT                           Format = 106
	FormatR32G32B32A32_UINT                          Format = 107
	FormatR32G32B32A32_SINT                          Format = 108
	FormatR32G32B32A32_SFLOAT                        Format = 109
	FormatR64_UINT                                   Format = 110
	FormatR64_SINT                                   Format = 111
	FormatR64_SFLOAT                                 Format = 112
	FormatR64G64_UINT                                Format = 113
	FormatR64G64_SINT                                Format = 114
	FormatR64G64_SFLOAT                              Format = 115
	FormatR64G64B64_UINT                             Format = 116
	FormatR64G64B64_SINT                             Format = 117
	FormatR64G64B64_SFLOAT                           Format = 118
	FormatR64G64B64A64_UINT                          Format = 119
	FormatR64G64B64A64_SINT                          Format = 120
	FormatR64G64B64A64_SFLOAT                        Format = 121
	FormatB10G11R11_UFLOAT_PACK32                    Format = 122
	FormatE5B9G9R9_UFLOAT_PACK32                     Format = 123
	FormatD16_UNORM                                  Format = 124
	FormatX8_D24_UNORM_PACK32                        Format = 125
	FormatD32_SFLOAT                                 Format = 126
	FormatS8_UINT                                    Format = 127
	FormatD16_UNORM_S8_UINT                          Format = 128
	FormatD24_UNORM_S8_UINT                          Format = 129
	FormatD32_SFLOAT_S8_UINT                         Format = 130
	FormatBC1_RGB_UNORM_BLOCK                        Format = 131
	FormatBC1_RGB_SRGB_BLOCK                         Format = 132
	FormatBC1_RGBA_UNORM_BLOCK                       Format = 133
	FormatBC1_RGBA_SRGB_BLOCK                        Format = 134
	FormatBC2_UNORM_BLOCK                            Format = 135
	FormatBC2_SRGB_BLOCK                             Format = 136
	FormatBC3_UNORM_BLOCK                            Format = 137
	FormatBC3_SRGB_BLOCK                             Format = 138
	FormatBC4_UNORM_BLOCK                            Format = 139
	FormatBC4_SNORM_BLOCK                            Format = 140
	FormatBC5_UNORM_BLOCK                            Format = 141
	FormatBC5_SNORM_BLOCK                            Format = 142
	FormatBC6H_UFLOAT_BLOCK                          Format = 143
	FormatBC6H_SFLOAT_BLOCK                          Format = 144
	FormatBC7_UNORM_BLOCK                            Format = 145
	FormatBC7_SRGB_BLOCK                             Format = 146
	FormatETC2_R8G8B8_UNORM_BLOCK                    Format = 147
	FormatETC2_R8G8B8_SRGB_BLOCK                     Format = 148
	FormatETC2_R8G8B8A1_UNORM_BLOCK                  Format = 149
	FormatETC2_R8G8B8A1_SRGB_BLOCK                   Format = 150
	FormatETC2_R8G8B8A8_UNORM_BLOCK                  Format = 151
	FormatETC2_R8G8B8A8_SRGB_BLOCK                   Format = 152
	FormatEAC_R11_UNORM_BLOCK                        Format = 153
	FormatEAC_R11_SNORM_BLOCK                        Format = 154
	FormatEAC_R11G11_UNORM_BLOCK                     Format = 155
	FormatEAC_R11G11_SNORM_BLOCK                     Format = 156
	FormatASTC_4x4_UNORM_BLOCK                       Format = 157
	FormatASTC_4x4_SRGB_BLOCK                        Format = 158
	FormatASTC_5x4_UNORM_BLOCK                       Format = 159
	FormatASTC_5x4_SRGB_BLOCK                        Format = 160
	FormatASTC_5x5_UNORM_BLOCK                       Format = 161
	FormatASTC_5x5_SRGB_BLOCK                        Format = 162
	FormatASTC_6x5_UNORM_BLOCK                       Format = 163
	FormatASTC_6x5_SRGB_BLOCK                        Format = 164
	FormatASTC_6x6_UNORM_BLOCK                       Format = 165
	FormatASTC_6x6_SRGB_BLOCK                        Format = 166
	FormatASTC_8x5_UNORM_BLOCK                       Format = 167
	FormatASTC_8x5_SRGB_BLOCK                        Format = 168
	FormatASTC_8x6_UNORM_BLOCK                       Format = 169
	FormatASTC_8x6_SRGB_BLOCK                        Format = 170
	FormatASTC_8x8_UNORM_BLOCK                       Format = 171
	FormatASTC_8x8_SRGB_BLOCK                        Format = 172
	FormatASTC_10x5_UNORM_BLOCK                      Format = 173
	FormatASTC_10x5_SRGB_BLOCK                       Format = 174
	FormatASTC_10x6_UNORM_BLOCK                      Format = 175
	FormatASTC_10x6_SRGB_BLOCK                       Format = 176
	FormatASTC_10x8_UNORM_BLOCK                      Format = 177
	FormatASTC_10x8_SRGB_BLOCK                       Format = 178
	FormatASTC_10x10_UNORM_BLOCK                     Format = 179
	FormatASTC_10x10_SRGB_BLOCK                      Format = 180
	FormatASTC_12x10_UNORM_BLOCK                     Format = 181
	FormatASTC_12x10_SRGB_BLOCK                      Format = 182
	FormatASTC_12x12_UNORM_BLOCK                     Format = 183
	FormatASTC_12x12_SRGB_BLOCK                      Format = 184
	FormatG8B8G8R8_422_UNORM                         Format = 1000157000
	FormatB8G8R8G8_422_UNORM                         Format = 1000157001
	FormatG8_B8_R8_3PLANE_420_UNORM                  Format = 1000157002
	FormatG8_B8R8_2PLANE_420_UNORM                   Format = 1000157003
	FormatG8_B8_R8_3PLANE_422_UNORM                  Format = 1000157004
	FormatG8_B8R8_2PLANE_422_UNORM                   Format = 1000157005
	FormatG8_B8_R8_3PLANE_444_UNORM                  Format = 1000157006
	FormatR10X6_UNORM_PACK16                         Format = 1000157007
	FormatR10X6G10X6_UNORM_2PACK16                   Format = 1000157008
	FormatR10X6G10X6B10X6A10X6_UNORM_4PACK16         Format = 1000157009
	FormatG10X6B10X6G10X6R10X6_422_UNORM_4PACK16     Format = 1000157010
	FormatB10X6G10X6R10X6G10X6_422_UNORM_4PACK16     Format = 1000157011
	FormatG10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16 Format = 1000157012
	FormatG10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16  Format = 1000157013
	FormatG10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16 Format = 1000157014
	FormatG10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16  Format = 1000157015
	FormatG10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16 Format = 1000157016
	FormatR12X4_UNORM_PACK16                         Format = 1000157017
	FormatR12X4G12X4_UNORM_2PACK16                   Format = 1000157018
	FormatR12X4G12X4B12X4A12X4_UNORM_4PACK16         Format = 1000157019
	FormatG12X4B12X4G12X4R12X4_422_UNORM_4PACK16     Format = 1000157020
	FormatB12X4G12X4R12X4G12X4_422_UNORM_4PACK16     Format = 1000157021
	FormatG12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16 Format = 1000157022
	FormatG12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16  Format = 1000157023
	FormatG12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16 Format = 1000157024
	FormatG12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16  Format = 1000157025
	FormatG12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16 Format = 1000157026
	FormatG16B16G16R16_422_UNORM                     Format = 1000157027
	FormatB16G16R16G16_422_UNORM                     Format = 1000157028
	FormatG16_B16_R16_3PLANE_420_UNORM               Format = 1000157029
	FormatG16_B16R16_2PLANE_420_UNORM                Format = 1000157030
	FormatG16_B16_R16_3PLANE_422_UNORM               Format = 1000157031
	FormatG16_B16R16_2PLANE_422_UNORM                Format = 1000157032
	FormatG16_B16_R16_3PLANE_444_UNORM               Format = 1000157033
	FormatG8_B8R8_2PLANE_444_UNORM                   Format = 1000331000
	FormatG10X6_B10X6R10X6_2PLANE_444_UNORM_3PACK16  Format = 1000331001
	FormatG12X4_B12X4R12X4_2PLANE_444_UNORM_3PACK16  Format = 1000331002
	FormatG16_B16R16_2PLANE_444_UNORM                Format = 1000331003
	FormatA4R4G4B4_UNORM_PACK16                      Format = 1000341000
	FormatA4B4G4R4_UNORM_PACK16                      Format = 1000341001
	FormatASTC_4x4_SFLOAT_BLOCK                      Format = 1000067000
	FormatASTC_5x4_SFLOAT_BLOCK                      Format = 1000067001
	FormatASTC_5x5_SFLOAT_BLOCK                      Format = 1000067002
	FormatASTC_6x5_SFLOAT_BLOCK                      Format = 1000067003
	FormatASTC_6x6_SFLOAT_BLOCK                      Format = 1000067004
	FormatASTC_8x5_SFLOAT_BLOCK                      Format = 1000067005
	FormatASTC_8x6_SFLOAT_BLOCK                      Format = 1000067006
	FormatASTC_8x8_SFLOAT_BLOCK                      Format = 1000067007
	FormatASTC_10x5_SFLOAT_BLOCK                     Format = 1000067008
	FormatASTC_10x6_SFLOAT_BLOCK                     Format = 1000067009
	FormatASTC_10x8_SFLOAT_BLOCK                     Format = 1000067010
	FormatASTC_10x10_SFLOAT_BLOCK                    Format = 1000067011
	FormatASTC_12x10_SFLOAT_BLOCK                    Format = 1000067012
	FormatASTC_12x12_SFLOAT_BLOCK                    Format = 1000067013
)

func (Format) String

func (format Format) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL