vulkan

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2026 License: MIT Imports: 11 Imported by: 2 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package vulkan exposes low-level Vulkan bindings loaded through purego.

The package is Linux-first and intentionally close to Vulkan's C ABI. Raw calls use explicit pointers, Vulkan-sized scalar types, and caller-managed object lifetimes. Higher-level renderer policy belongs in consuming projects.

Index

Constants

View Source
const Access2ColorAttachmentReadBit = 1 << 7
View Source
const Access2ColorAttachmentReadBitKHR = 1 << 7
View Source
const Access2ColorAttachmentWriteBit = 1 << 8
View Source
const Access2ColorAttachmentWriteBitKHR = 1 << 8
View Source
const Access2DepthStencilAttachmentReadBit = 1 << 9
View Source
const Access2DepthStencilAttachmentReadBitKHR = 1 << 9
View Source
const Access2DepthStencilAttachmentWriteBit = 1 << 10
View Source
const Access2DepthStencilAttachmentWriteBitKHR = 1 << 10
View Source
const Access2HostReadBit = 1 << 13
View Source
const Access2HostReadBitKHR = 1 << 13
View Source
const Access2HostWriteBit = 1 << 14
View Source
const Access2HostWriteBitKHR = 1 << 14
View Source
const Access2IndexReadBit = 1 << 1
View Source
const Access2IndexReadBitKHR = 1 << 1
View Source
const Access2IndirectCommandReadBit = 1 << 0
View Source
const Access2IndirectCommandReadBitKHR = 1 << 0
View Source
const Access2InputAttachmentReadBit = 1 << 4
View Source
const Access2InputAttachmentReadBitKHR = 1 << 4
View Source
const Access2MemoryReadBit = 1 << 15
View Source
const Access2MemoryReadBitKHR = 1 << 15
View Source
const Access2MemoryWriteBit = 1 << 16
View Source
const Access2MemoryWriteBitKHR = 1 << 16
View Source
const Access2None = 0
View Source
const Access2NoneKHR = 0
View Source
const Access2ShaderReadBit = 1 << 5
View Source
const Access2ShaderReadBitKHR = 1 << 5
View Source
const Access2ShaderSampledReadBit = 1 << 32
View Source
const Access2ShaderSampledReadBitKHR = 1 << 32
View Source
const Access2ShaderStorageReadBit = 1 << 33
View Source
const Access2ShaderStorageReadBitKHR = 1 << 33
View Source
const Access2ShaderStorageWriteBit = 1 << 34
View Source
const Access2ShaderStorageWriteBitKHR = 1 << 34
View Source
const Access2ShaderWriteBit = 1 << 6
View Source
const Access2ShaderWriteBitKHR = 1 << 6
View Source
const Access2TransferReadBit = 1 << 11
View Source
const Access2TransferReadBitKHR = 1 << 11
View Source
const Access2TransferWriteBit = 1 << 12
View Source
const Access2TransferWriteBitKHR = 1 << 12
View Source
const Access2UniformReadBit = 1 << 3
View Source
const Access2UniformReadBitKHR = 1 << 3
View Source
const Access2VertexAttributeReadBit = 1 << 2
View Source
const Access2VertexAttributeReadBitKHR = 1 << 2
View Source
const AccessColorAttachmentReadBit = 1 << 7
View Source
const AccessColorAttachmentWriteBit = 1 << 8
View Source
const AccessDepthStencilAttachmentReadBit = 1 << 9
View Source
const AccessDepthStencilAttachmentWriteBit = 1 << 10
View Source
const AccessHostReadBit = 1 << 13
View Source
const AccessHostWriteBit = 1 << 14
View Source
const AccessIndexReadBit = 1 << 1
View Source
const AccessIndirectCommandReadBit = 1 << 0
View Source
const AccessInputAttachmentReadBit = 1 << 4
View Source
const AccessMemoryReadBit = 1 << 15
View Source
const AccessMemoryWriteBit = 1 << 16
View Source
const AccessNoneKHR = 0
View Source
const AccessShaderReadBit = 1 << 5
View Source
const AccessShaderWriteBit = 1 << 6
View Source
const AccessTransferReadBit = 1 << 11
View Source
const AccessTransferWriteBit = 1 << 12
View Source
const AccessUniformReadBit = 1 << 3
View Source
const AccessVertexAttributeReadBit = 1 << 2
View Source
const AttachmentLoadOpClear = 1
View Source
const AttachmentLoadOpDontCare = 2
View Source
const AttachmentLoadOpLoad = 0
View Source
const AttachmentStoreOpDontCare = 1
View Source
const AttachmentStoreOpNoneKHR = 1000301000
View Source
const AttachmentStoreOpStore = 0
View Source
const BlendFactorConstantAlpha = 12
View Source
const BlendFactorConstantColor = 10
View Source
const BlendFactorDstAlpha = 8
View Source
const BlendFactorDstColor = 4
View Source
const BlendFactorOne = 1
View Source
const BlendFactorOneMinusConstantAlpha = 13
View Source
const BlendFactorOneMinusConstantColor = 11
View Source
const BlendFactorOneMinusDstAlpha = 9
View Source
const BlendFactorOneMinusDstColor = 5
View Source
const BlendFactorOneMinusSrc1Alpha = 18
View Source
const BlendFactorOneMinusSrc1Color = 16
View Source
const BlendFactorOneMinusSrcAlpha = 7
View Source
const BlendFactorOneMinusSrcColor = 3
View Source
const BlendFactorSrc1Alpha = 17
View Source
const BlendFactorSrc1Color = 15
View Source
const BlendFactorSrcAlpha = 6
View Source
const BlendFactorSrcAlphaSaturate = 14
View Source
const BlendFactorSrcColor = 2
View Source
const BlendFactorZero = 0
View Source
const BlendOpAdd = 0
View Source
const BlendOpMax = 4
View Source
const BlendOpMin = 3
View Source
const BlendOpReverseSubtract = 2
View Source
const BlendOpSubtract = 1
View Source
const BorderColorFloatOpaqueBlack = 2
View Source
const BorderColorFloatOpaqueWhite = 4
View Source
const BorderColorFloatTransparentBlack = 0
View Source
const BorderColorIntOpaqueBlack = 3
View Source
const BorderColorIntOpaqueWhite = 5
View Source
const BorderColorIntTransparentBlack = 1
View Source
const BufferCreateSparseAliasedBit = 1 << 2
View Source
const BufferCreateSparseBindingBit = 1 << 0
View Source
const BufferCreateSparseResidencyBit = 1 << 1
View Source
const BufferUsageIndexBufferBit = 1 << 6
View Source
const BufferUsageIndirectBufferBit = 1 << 8
View Source
const BufferUsageStorageBufferBit = 1 << 5
View Source
const BufferUsageStorageTexelBufferBit = 1 << 3
View Source
const BufferUsageTransferDstBit = 1 << 1
View Source
const BufferUsageTransferSrcBit = 1 << 0
View Source
const BufferUsageUniformBufferBit = 1 << 4
View Source
const BufferUsageUniformTexelBufferBit = 1 << 2
View Source
const BufferUsageVertexBufferBit = 1 << 7
View Source
const ColorComponentABit = 1 << 3
View Source
const ColorComponentBBit = 1 << 2
View Source
const ColorComponentGBit = 1 << 1
View Source
const ColorComponentRBit = 1 << 0
View Source
const ColorSpaceSrgbNonlinearKHR = 0
View Source
const ColorspaceSrgbNonlinearKHR = 0
View Source
const CommandBufferLevelPrimary = 0
View Source
const CommandBufferLevelSecondary = 1
View Source
const CommandBufferResetReleaseResourcesBit = 1 << 0
View Source
const CommandBufferUsageOneTimeSubmitBit = 1 << 0
View Source
const CommandBufferUsageRenderPassContinueBit = 1 << 1
View Source
const CommandBufferUsageSimultaneousUseBit = 1 << 2
View Source
const CommandPoolCreateResetCommandBufferBit = 1 << 1
View Source
const CommandPoolCreateTransientBit = 1 << 0
View Source
const CompareOpAlways = 7
View Source
const CompareOpEqual = 2
View Source
const CompareOpGreater = 4
View Source
const CompareOpGreaterOrEqual = 6
View Source
const CompareOpLess = 1
View Source
const CompareOpLessOrEqual = 3
View Source
const CompareOpNever = 0
View Source
const CompareOpNotEqual = 5
View Source
const ComponentSwizzleA = 6
View Source
const ComponentSwizzleB = 5
View Source
const ComponentSwizzleG = 4
View Source
const ComponentSwizzleIdentity = 0
View Source
const ComponentSwizzleOne = 2
View Source
const ComponentSwizzleR = 3
View Source
const ComponentSwizzleZero = 1
View Source
const CompositeAlphaInheritBitKHR = 1 << 3
View Source
const CompositeAlphaOpaqueBitKHR = 1 << 0
View Source
const CompositeAlphaPostMultipliedBitKHR = 1 << 2
View Source
const CompositeAlphaPreMultipliedBitKHR = 1 << 1
View Source
const CullModeBackBit = 1 << 1
View Source
const CullModeFrontAndBack = 0x00000003
View Source
const CullModeFrontBit = 1 << 0
View Source
const CullModeNone = 0
View Source
const DebugUtilsMessageSeverityInfoBitEXT = 1 << 4
View Source
const DebugUtilsMessageSeverityVerboseBitEXT = 1 << 0
View Source
const DebugUtilsMessageSeverityWarningBitEXT = 1 << 8
View Source
const DebugUtilsMessageTypeGeneralBitEXT = 1 << 0
View Source
const DebugUtilsMessageTypePerformanceBitEXT = 1 << 2
View Source
const DebugUtilsMessageTypeValidationBitEXT = 1 << 1
View Source
const DependencyByRegionBit = 1 << 0
View Source
const DescriptorPoolCreateFreeDescriptorSetBit = 1 << 0
View Source
const DescriptorTypeCombinedImageSampler = 1
View Source
const DescriptorTypeInputAttachment = 10
View Source
const DescriptorTypeSampledImage = 2
View Source
const DescriptorTypeSampler = 0
View Source
const DescriptorTypeStorageBuffer = 7
View Source
const DescriptorTypeStorageBufferDynamic = 9
View Source
const DescriptorTypeStorageImage = 3
View Source
const DescriptorTypeStorageTexelBuffer = 5
View Source
const DescriptorTypeUniformBuffer = 6
View Source
const DescriptorTypeUniformBufferDynamic = 8
View Source
const DescriptorTypeUniformTexelBuffer = 4
View Source
const DeviceGroupPresentModeLocalBitKHR = 1 << 0
View Source
const DeviceGroupPresentModeLocalMultiDeviceBitKHR = 1 << 3
View Source
const DeviceGroupPresentModeRemoteBitKHR = 1 << 1
View Source
const DeviceGroupPresentModeSumBitKHR = 1 << 2
View Source
const DynamicStateBlendConstants = 4
View Source
const DynamicStateDepthBias = 3
View Source
const DynamicStateDepthBounds = 5
View Source
const DynamicStateLineWidth = 2
View Source
const DynamicStateScissor = 1
View Source
const DynamicStateStencilCompareMask = 6
View Source
const DynamicStateStencilReference = 8
View Source
const DynamicStateStencilWriteMask = 7
View Source
const DynamicStateViewport = 0
View Source
const EXTDebugUtilsExtensionName = "VK_EXT_debug_utils"
View Source
const EXTDebugUtilsSpecVersion = 2
View Source
const EXTExternalMemoryDMABUFExtensionName = "VK_EXT_external_memory_dma_buf"
View Source
const EXTExternalMemoryDMABUFSpecVersion = 1
View Source
const EXTGlobalPriorityExtensionName = "VK_EXT_global_priority"
View Source
const EXTGlobalPrioritySpecVersion = 2
View Source
const EXTImageDRMFormatModifierExtensionName = "VK_EXT_image_drm_format_modifier"
View Source
const EXTImageDRMFormatModifierSpecVersion = 2
View Source
const EXTPhysicalDeviceDRMExtensionName = "VK_EXT_physical_device_drm"
View Source
const EXTPhysicalDeviceDRMSpecVersion = 1
View Source
const EXTQueueFamilyForeignExtensionName = "VK_EXT_queue_family_foreign"
View Source
const EXTQueueFamilyForeignSpecVersion = 1
View Source
const EventCreateDeviceOnlyBitKHR = 1 << 0
View Source
const ExternalMemoryFeatureDedicatedOnlyBit = 1 << 0
View Source
const ExternalMemoryFeatureDedicatedOnlyBitKHR = 1 << 0
View Source
const ExternalMemoryFeatureExportableBit = 1 << 1
View Source
const ExternalMemoryFeatureExportableBitKHR = 1 << 1
View Source
const ExternalMemoryFeatureImportableBit = 1 << 2
View Source
const ExternalMemoryFeatureImportableBitKHR = 1 << 2
View Source
const ExternalMemoryHandleTypeD3d11TextureBit = 1 << 3
View Source
const ExternalMemoryHandleTypeD3d11TextureBitKHR = 1 << 3
View Source
const ExternalMemoryHandleTypeD3d11TextureKmtBit = 1 << 4
View Source
const ExternalMemoryHandleTypeD3d11TextureKmtBitKHR = 1 << 4
View Source
const ExternalMemoryHandleTypeD3d12HeapBit = 1 << 5
View Source
const ExternalMemoryHandleTypeD3d12HeapBitKHR = 1 << 5
View Source
const ExternalMemoryHandleTypeD3d12ResourceBit = 1 << 6
View Source
const ExternalMemoryHandleTypeD3d12ResourceBitKHR = 1 << 6
View Source
const ExternalMemoryHandleTypeDMABUFBitEXT = 1 << 9
View Source
const ExternalMemoryHandleTypeOpaqueFDBit = 1 << 0
View Source
const ExternalMemoryHandleTypeOpaqueFDBitKHR = 1 << 0
View Source
const ExternalMemoryHandleTypeOpaqueWin32Bit = 1 << 1
View Source
const ExternalMemoryHandleTypeOpaqueWin32BitKHR = 1 << 1
View Source
const ExternalMemoryHandleTypeOpaqueWin32KmtBit = 1 << 2
View Source
const ExternalMemoryHandleTypeOpaqueWin32KmtBitKHR = 1 << 2
View Source
const ExternalSemaphoreFeatureExportableBit = 1 << 0
View Source
const ExternalSemaphoreFeatureExportableBitKHR = 1 << 0
View Source
const ExternalSemaphoreFeatureImportableBit = 1 << 1
View Source
const ExternalSemaphoreFeatureImportableBitKHR = 1 << 1
View Source
const ExternalSemaphoreHandleTypeD3d11FenceBit = 1 << 3
View Source
const ExternalSemaphoreHandleTypeD3d12FenceBit = 1 << 3
View Source
const ExternalSemaphoreHandleTypeD3d12FenceBitKHR = 1 << 3
View Source
const ExternalSemaphoreHandleTypeOpaqueFDBit = 1 << 0
View Source
const ExternalSemaphoreHandleTypeOpaqueFDBitKHR = 1 << 0
View Source
const ExternalSemaphoreHandleTypeOpaqueWin32Bit = 1 << 1
View Source
const ExternalSemaphoreHandleTypeOpaqueWin32BitKHR = 1 << 1
View Source
const ExternalSemaphoreHandleTypeOpaqueWin32KmtBit = 1 << 2
View Source
const ExternalSemaphoreHandleTypeOpaqueWin32KmtBitKHR = 1 << 2
View Source
const ExternalSemaphoreHandleTypeSyncFDBit = 1 << 4
View Source
const ExternalSemaphoreHandleTypeSyncFDBitKHR = 1 << 4
View Source
const FenceCreateSignaledBit = 1 << 0
View Source
const FilterLinear = 1
View Source
const FilterNearest = 0
View Source
const FormatA1r5g5b5UnormPack16 = 8
View Source
const FormatA2b10g10r10SintPack32 = 69
View Source
const FormatA2b10g10r10SnormPack32 = 65
View Source
const FormatA2b10g10r10SscaledPack32 = 67
View Source
const FormatA2b10g10r10UintPack32 = 68
View Source
const FormatA2b10g10r10UnormPack32 = 64
View Source
const FormatA2b10g10r10UscaledPack32 = 66
View Source
const FormatA2r10g10b10SintPack32 = 63
View Source
const FormatA2r10g10b10SnormPack32 = 59
View Source
const FormatA2r10g10b10SscaledPack32 = 61
View Source
const FormatA2r10g10b10UintPack32 = 62
View Source
const FormatA2r10g10b10UnormPack32 = 58
View Source
const FormatA2r10g10b10UscaledPack32 = 60
View Source
const FormatA8b8g8r8SintPack32 = 56
View Source
const FormatA8b8g8r8SnormPack32 = 52
View Source
const FormatA8b8g8r8SrgbPack32 = 57
View Source
const FormatA8b8g8r8SscaledPack32 = 54
View Source
const FormatA8b8g8r8UintPack32 = 55
View Source
const FormatA8b8g8r8UnormPack32 = 51
View Source
const FormatA8b8g8r8UscaledPack32 = 53
View Source
const FormatAstc10x10SrgbBlock = 180
View Source
const FormatAstc10x10UnormBlock = 179
View Source
const FormatAstc10x5SrgbBlock = 174
View Source
const FormatAstc10x5UnormBlock = 173
View Source
const FormatAstc10x6SrgbBlock = 176
View Source
const FormatAstc10x6UnormBlock = 175
View Source
const FormatAstc10x8SrgbBlock = 178
View Source
const FormatAstc10x8UnormBlock = 177
View Source
const FormatAstc12x10SrgbBlock = 182
View Source
const FormatAstc12x10UnormBlock = 181
View Source
const FormatAstc12x12SrgbBlock = 184
View Source
const FormatAstc12x12UnormBlock = 183
View Source
const FormatAstc4x4SrgbBlock = 158
View Source
const FormatAstc4x4UnormBlock = 157
View Source
const FormatAstc5x4SrgbBlock = 160
View Source
const FormatAstc5x4UnormBlock = 159
View Source
const FormatAstc5x5SrgbBlock = 162
View Source
const FormatAstc5x5UnormBlock = 161
View Source
const FormatAstc6x5SrgbBlock = 164
View Source
const FormatAstc6x5UnormBlock = 163
View Source
const FormatAstc6x6SrgbBlock = 166
View Source
const FormatAstc6x6UnormBlock = 165
View Source
const FormatAstc8x5SrgbBlock = 168
View Source
const FormatAstc8x5UnormBlock = 167
View Source
const FormatAstc8x6SrgbBlock = 170
View Source
const FormatAstc8x6UnormBlock = 169
View Source
const FormatAstc8x8SrgbBlock = 172
View Source
const FormatAstc8x8UnormBlock = 171
View Source
const FormatB10g11r11UfloatPack32 = 122
View Source
const FormatB4g4r4a4UnormPack16 = 3
View Source
const FormatB5g5r5a1UnormPack16 = 7
View Source
const FormatB5g6r5UnormPack16 = 5
View Source
const FormatB8g8r8Sint = 35
View Source
const FormatB8g8r8Snorm = 31
View Source
const FormatB8g8r8Srgb = 36
View Source
const FormatB8g8r8Sscaled = 33
View Source
const FormatB8g8r8Uint = 34
View Source
const FormatB8g8r8Unorm = 30
View Source
const FormatB8g8r8Uscaled = 32
View Source
const FormatB8g8r8a8Sint = 49
View Source
const FormatB8g8r8a8Snorm = 45
View Source
const FormatB8g8r8a8Srgb = 50
View Source
const FormatB8g8r8a8Sscaled = 47
View Source
const FormatB8g8r8a8Uint = 48
View Source
const FormatB8g8r8a8Unorm = 44
View Source
const FormatB8g8r8a8Uscaled = 46
View Source
const FormatBc1RgbSrgbBlock = 132
View Source
const FormatBc1RgbUnormBlock = 131
View Source
const FormatBc1RgbaSrgbBlock = 134
View Source
const FormatBc1RgbaUnormBlock = 133
View Source
const FormatBc2SrgbBlock = 136
View Source
const FormatBc2UnormBlock = 135
View Source
const FormatBc3SrgbBlock = 138
View Source
const FormatBc3UnormBlock = 137
View Source
const FormatBc4SnormBlock = 140
View Source
const FormatBc4UnormBlock = 139
View Source
const FormatBc5SnormBlock = 142
View Source
const FormatBc5UnormBlock = 141
View Source
const FormatBc6hSfloatBlock = 144
View Source
const FormatBc6hUfloatBlock = 143
View Source
const FormatBc7SrgbBlock = 146
View Source
const FormatBc7UnormBlock = 145
View Source
const FormatD16Unorm = 124
View Source
const FormatD16UnormS8Uint = 128
View Source
const FormatD24UnormS8Uint = 129
View Source
const FormatD32Sfloat = 126
View Source
const FormatD32SfloatS8Uint = 130
View Source
const FormatE5b9g9r9UfloatPack32 = 123
View Source
const FormatEacR11SnormBlock = 154
View Source
const FormatEacR11UnormBlock = 153
View Source
const FormatEacR11g11SnormBlock = 156
View Source
const FormatEacR11g11UnormBlock = 155
View Source
const FormatEtc2R8g8b8SrgbBlock = 148
View Source
const FormatEtc2R8g8b8UnormBlock = 147
View Source
const FormatEtc2R8g8b8a1SrgbBlock = 150
View Source
const FormatEtc2R8g8b8a1UnormBlock = 149
View Source
const FormatEtc2R8g8b8a8SrgbBlock = 152
View Source
const FormatEtc2R8g8b8a8UnormBlock = 151
View Source
const FormatFeature2BlitDstBit = 1 << 11
View Source
const FormatFeature2BlitSrcBit = 1 << 10
View Source
const FormatFeature2ColorAttachmentBit = 1 << 7
View Source
const FormatFeature2ColorAttachmentBlendBit = 1 << 8
View Source
const FormatFeature2CositedChromaSamplesBit = 1 << 23
View Source
const FormatFeature2DepthStencilAttachmentBit = 1 << 9
View Source
const FormatFeature2DisjointBit = 1 << 22
View Source
const FormatFeature2MidpointChromaSamplesBit = 1 << 17
View Source
const FormatFeature2SampledImageBit = 1 << 0
View Source
const FormatFeature2SampledImageDepthComparisonBit = 1 << 33
View Source
const FormatFeature2SampledImageFilterLinearBit = 1 << 12
View Source
const FormatFeature2SampledImageFilterMinmaxBit = 1 << 16
View Source
const FormatFeature2SampledImageYcbcrConversionChromaReconstructionExplicitBit = 1 << 20
View Source
const FormatFeature2SampledImageYcbcrConversionChromaReconstructionExplicitForceableBit = 1 << 21
View Source
const FormatFeature2SampledImageYcbcrConversionLinearFilterBit = 1 << 18
View Source
const FormatFeature2SampledImageYcbcrConversionSeparateReconstructionFilterBit = 1 << 19
View Source
const FormatFeature2StorageImageAtomicBit = 1 << 2
View Source
const FormatFeature2StorageImageBit = 1 << 1
View Source
const FormatFeature2StorageReadWithoutFormatBit = 1 << 31
View Source
const FormatFeature2StorageTexelBufferAtomicBit = 1 << 5
View Source
const FormatFeature2StorageTexelBufferBit = 1 << 4
View Source
const FormatFeature2StorageWriteWithoutFormatBit = 1 << 32
View Source
const FormatFeature2TransferDstBit = 1 << 15
View Source
const FormatFeature2TransferSrcBit = 1 << 14
View Source
const FormatFeature2UniformTexelBufferBit = 1 << 3
View Source
const FormatFeature2VertexBufferBit = 1 << 6
View Source
const FormatFeatureBlitDstBit = 1 << 11
View Source
const FormatFeatureBlitSrcBit = 1 << 10
View Source
const FormatFeatureColorAttachmentBit = 1 << 7
View Source
const FormatFeatureColorAttachmentBlendBit = 1 << 8
View Source
const FormatFeatureDepthStencilAttachmentBit = 1 << 9
View Source
const FormatFeatureSampledImageBit = 1 << 0
View Source
const FormatFeatureSampledImageFilterLinearBit = 1 << 12
View Source
const FormatFeatureStorageImageAtomicBit = 1 << 2
View Source
const FormatFeatureStorageImageBit = 1 << 1
View Source
const FormatFeatureStorageTexelBufferAtomicBit = 1 << 5
View Source
const FormatFeatureStorageTexelBufferBit = 1 << 4
View Source
const FormatFeatureUniformTexelBufferBit = 1 << 3
View Source
const FormatFeatureVertexBufferBit = 1 << 6
View Source
const FormatR16Sfloat = 76
View Source
const FormatR16Sint = 75
View Source
const FormatR16Snorm = 71
View Source
const FormatR16Sscaled = 73
View Source
const FormatR16Uint = 74
View Source
const FormatR16Unorm = 70
View Source
const FormatR16Uscaled = 72
View Source
const FormatR16g16Sfloat = 83
View Source
const FormatR16g16Sint = 82
View Source
const FormatR16g16Snorm = 78
View Source
const FormatR16g16Sscaled = 80
View Source
const FormatR16g16Uint = 81
View Source
const FormatR16g16Unorm = 77
View Source
const FormatR16g16Uscaled = 79
View Source
const FormatR16g16b16Sfloat = 90
View Source
const FormatR16g16b16Sint = 89
View Source
const FormatR16g16b16Snorm = 85
View Source
const FormatR16g16b16Sscaled = 87
View Source
const FormatR16g16b16Uint = 88
View Source
const FormatR16g16b16Unorm = 84
View Source
const FormatR16g16b16Uscaled = 86
View Source
const FormatR16g16b16a16Sfloat = 97
View Source
const FormatR16g16b16a16Sint = 96
View Source
const FormatR16g16b16a16Snorm = 92
View Source
const FormatR16g16b16a16Sscaled = 94
View Source
const FormatR16g16b16a16Uint = 95
View Source
const FormatR16g16b16a16Unorm = 91
View Source
const FormatR16g16b16a16Uscaled = 93
View Source
const FormatR32Sfloat = 100
View Source
const FormatR32Sint = 99
View Source
const FormatR32Uint = 98
View Source
const FormatR32g32Sfloat = 103
View Source
const FormatR32g32Sint = 102
View Source
const FormatR32g32Uint = 101
View Source
const FormatR32g32b32Sfloat = 106
View Source
const FormatR32g32b32Sint = 105
View Source
const FormatR32g32b32Uint = 104
View Source
const FormatR32g32b32a32Sfloat = 109
View Source
const FormatR32g32b32a32Sint = 108
View Source
const FormatR32g32b32a32Uint = 107
View Source
const FormatR4g4UnormPack8 = 1
View Source
const FormatR4g4b4a4UnormPack16 = 2
View Source
const FormatR5g5b5a1UnormPack16 = 6
View Source
const FormatR5g6b5UnormPack16 = 4
View Source
const FormatR64Sfloat = 112
View Source
const FormatR64Sint = 111
View Source
const FormatR64Uint = 110
View Source
const FormatR64g64Sfloat = 115
View Source
const FormatR64g64Sint = 114
View Source
const FormatR64g64Uint = 113
View Source
const FormatR64g64b64Sfloat = 118
View Source
const FormatR64g64b64Sint = 117
View Source
const FormatR64g64b64Uint = 116
View Source
const FormatR64g64b64a64Sfloat = 121
View Source
const FormatR64g64b64a64Sint = 120
View Source
const FormatR64g64b64a64Uint = 119
View Source
const FormatR8Sint = 14
View Source
const FormatR8Snorm = 10
View Source
const FormatR8Srgb = 15
View Source
const FormatR8Sscaled = 12
View Source
const FormatR8Uint = 13
View Source
const FormatR8Unorm = 9
View Source
const FormatR8Uscaled = 11
View Source
const FormatR8g8Sint = 21
View Source
const FormatR8g8Snorm = 17
View Source
const FormatR8g8Srgb = 22
View Source
const FormatR8g8Sscaled = 19
View Source
const FormatR8g8Uint = 20
View Source
const FormatR8g8Unorm = 16
View Source
const FormatR8g8Uscaled = 18
View Source
const FormatR8g8b8Sint = 28
View Source
const FormatR8g8b8Snorm = 24
View Source
const FormatR8g8b8Srgb = 29
View Source
const FormatR8g8b8Sscaled = 26
View Source
const FormatR8g8b8Uint = 27
View Source
const FormatR8g8b8Unorm = 23
View Source
const FormatR8g8b8Uscaled = 25
View Source
const FormatR8g8b8a8Sint = 42
View Source
const FormatR8g8b8a8Snorm = 38
View Source
const FormatR8g8b8a8Srgb = 43
View Source
const FormatR8g8b8a8Sscaled = 40
View Source
const FormatR8g8b8a8Uint = 41
View Source
const FormatR8g8b8a8Unorm = 37
View Source
const FormatR8g8b8a8Uscaled = 39
View Source
const FormatS8Uint = 127
View Source
const FormatUndefined = 0
View Source
const FormatX8D24UnormPack32 = 125
View Source
const FrontFaceClockwise = 1
View Source
const FrontFaceCounterClockwise = 0
View Source
const ImageAspectColorBit = 1 << 0
View Source
const ImageAspectDepthBit = 1 << 1
View Source
const ImageAspectMemoryPlane0BitEXT = 1 << 7
View Source
const ImageAspectMemoryPlane1BitEXT = 1 << 8
View Source
const ImageAspectMemoryPlane2BitEXT = 1 << 9
View Source
const ImageAspectMemoryPlane3BitEXT = 1 << 10
View Source
const ImageAspectMetadataBit = 1 << 3
View Source
const ImageAspectStencilBit = 1 << 2
View Source
const ImageCreateAliasBitKHR = 1 << 10
View Source
const ImageCreateCubeCompatibleBit = 1 << 4
View Source
const ImageCreateMutableFormatBit = 1 << 3
View Source
const ImageCreateSparseAliasedBit = 1 << 2
View Source
const ImageCreateSparseBindingBit = 1 << 0
View Source
const ImageCreateSparseResidencyBit = 1 << 1
View Source
const ImageLayoutAttachmentOptimalKHR = 1000314001
View Source
const ImageLayoutColorAttachmentOptimal = 2
View Source
const ImageLayoutDepthStencilAttachmentOptimal = 3
View Source
const ImageLayoutDepthStencilReadOnlyOptimal = 4
View Source
const ImageLayoutGeneral = 1
View Source
const ImageLayoutPreinitialized = 8
View Source
const ImageLayoutPresentSrcKHR = 1000001002
View Source
const ImageLayoutReadOnlyOptimalKHR = 1000314000
View Source
const ImageLayoutShaderReadOnlyOptimal = 5
View Source
const ImageLayoutTransferDstOptimal = 7
View Source
const ImageLayoutTransferSrcOptimal = 6
View Source
const ImageLayoutUndefined = 0
View Source
const ImageTilingDRMFormatModifierEXT = 1000158000
View Source
const ImageTilingLinear = 1
View Source
const ImageTilingOptimal = 0
View Source
const ImageType1d = 0
View Source
const ImageType2d = 1
View Source
const ImageType3d = 2
View Source
const ImageUsageColorAttachmentBit = 1 << 4
View Source
const ImageUsageDepthStencilAttachmentBit = 1 << 5
View Source
const ImageUsageInputAttachmentBit = 1 << 7
View Source
const ImageUsageSampledBit = 1 << 2
View Source
const ImageUsageStorageBit = 1 << 3
View Source
const ImageUsageTransferDstBit = 1 << 1
View Source
const ImageUsageTransferSrcBit = 1 << 0
View Source
const ImageUsageTransientAttachmentBit = 1 << 6
View Source
const ImageViewType1d = 0
View Source
const ImageViewType1dArray = 4
View Source
const ImageViewType2d = 1
View Source
const ImageViewType2dArray = 5
View Source
const ImageViewType3d = 2
View Source
const ImageViewTypeCube = 3
View Source
const ImageViewTypeCubeArray = 6
View Source
const IndexTypeUint16 = 0
View Source
const IndexTypeUint32 = 1
View Source
const KHRBindMemory2ExtensionName = "VK_KHR_bind_memory2"
View Source
const KHRBindMemory2SpecVersion = 1
View Source
const KHRDedicatedAllocationExtensionName = "VK_KHR_dedicated_allocation"
View Source
const KHRDedicatedAllocationSpecVersion = 3
View Source
const KHRDynamicRenderingExtensionName = "VK_KHR_dynamic_rendering"
View Source
const KHRDynamicRenderingSpecVersion = 1
View Source
const KHRExternalMemoryCapabilitiesExtensionName = "VK_KHR_external_memory_capabilities"
View Source
const KHRExternalMemoryCapabilitiesSpecVersion = 1
View Source
const KHRExternalMemoryExtensionName = "VK_KHR_external_memory"
View Source
const KHRExternalMemoryFDExtensionName = "VK_KHR_external_memory_fd"
View Source
const KHRExternalMemoryFDSpecVersion = 1
View Source
const KHRExternalMemorySpecVersion = 1
View Source
const KHRExternalSemaphoreCapabilitiesExtensionName = "VK_KHR_external_semaphore_capabilities"
View Source
const KHRExternalSemaphoreCapabilitiesSpecVersion = 1
View Source
const KHRExternalSemaphoreExtensionName = "VK_KHR_external_semaphore"
View Source
const KHRExternalSemaphoreFDExtensionName = "VK_KHR_external_semaphore_fd"
View Source
const KHRExternalSemaphoreFDSpecVersion = 1
View Source
const KHRExternalSemaphoreSpecVersion = 1
View Source
const KHRGetMemoryRequirements2ExtensionName = "VK_KHR_get_memory_requirements2"
View Source
const KHRGetMemoryRequirements2SpecVersion = 1
View Source
const KHRGetPhysicalDeviceProperties2ExtensionName = "VK_KHR_get_physical_device_properties2"
View Source
const KHRGetPhysicalDeviceProperties2SpecVersion = 2
View Source
const KHRGlobalPriorityExtensionName = "VK_KHR_global_priority"
View Source
const KHRGlobalPrioritySpecVersion = 1
View Source
const KHRSurfaceExtensionName = "VK_KHR_surface"
View Source
const KHRSurfaceSpecVersion = 25
View Source
const KHRSwapchainExtensionName = "VK_KHR_swapchain"
View Source
const KHRSwapchainSpecVersion = 70
View Source
const KHRSynchronization2ExtensionName = "VK_KHR_synchronization2"
View Source
const KHRSynchronization2SpecVersion = 1
View Source
const KHRTimelineSemaphoreExtensionName = "VK_KHR_timeline_semaphore"
View Source
const KHRTimelineSemaphoreSpecVersion = 2
View Source
const KHRWaylandSurfaceExtensionName = "VK_KHR_wayland_surface"
View Source
const KHRWaylandSurfaceSpecVersion = 6
View Source
const KHRXcbSurfaceExtensionName = "VK_KHR_xcb_surface"
View Source
const KHRXcbSurfaceSpecVersion = 6
View Source
const KHRXlibSurfaceExtensionName = "VK_KHR_xlib_surface"
View Source
const KHRXlibSurfaceSpecVersion = 6
View Source
const LUIDSize = 8
View Source
const LUIDSizeKHR = 8
View Source
const LogicOpAnd = 1
View Source
const LogicOpAndInverted = 4
View Source
const LogicOpAndReverse = 2
View Source
const LogicOpClear = 0
View Source
const LogicOpCopy = 3
View Source
const LogicOpCopyInverted = 12
View Source
const LogicOpEquivalent = 9
View Source
const LogicOpInvert = 10
View Source
const LogicOpNand = 14
View Source
const LogicOpNoOp = 5
View Source
const LogicOpNor = 8
View Source
const LogicOpOr = 7
View Source
const LogicOpOrInverted = 13
View Source
const LogicOpOrReverse = 11
View Source
const LogicOpSet = 15
View Source
const LogicOpXor = 6
View Source
const MaxDescriptionSize = 256
View Source
const MaxDeviceGroupSize = 32
View Source
const MaxDeviceGroupSizeKHR = 32
View Source
const MaxExtensionNameSize = 256
View Source
const MaxGlobalPrioritySize = 16
View Source
const MaxGlobalPrioritySizeEXT = 16
View Source
const MaxGlobalPrioritySizeKHR = 16
View Source
const MaxMemoryHeaps = 16
View Source
const MaxMemoryTypes = 32
View Source
const MaxPhysicalDeviceNameSize = 256
View Source
const MemoryHeapDeviceLocalBit = 1 << 0
View Source
const MemoryPropertyDeviceLocalBit = 1 << 0
View Source
const MemoryPropertyHostCachedBit = 1 << 3
View Source
const MemoryPropertyHostCoherentBit = 1 << 2
View Source
const MemoryPropertyHostVisibleBit = 1 << 1
View Source
const MemoryPropertyLazilyAllocatedBit = 1 << 4
View Source
const ObjectTypeBuffer = 9
View Source
const ObjectTypeBufferView = 13
View Source
const ObjectTypeCommandBuffer = 6
View Source
const ObjectTypeCommandPool = 25
View Source
const ObjectTypeDebugUtilsMessengerEXT = 1000128000
View Source
const ObjectTypeDescriptorPool = 22
View Source
const ObjectTypeDescriptorSet = 23
View Source
const ObjectTypeDescriptorSetLayout = 20
View Source
const ObjectTypeDevice = 3
View Source
const ObjectTypeDeviceMemory = 8
View Source
const ObjectTypeEvent = 11
View Source
const ObjectTypeFence = 7
View Source
const ObjectTypeFramebuffer = 24
View Source
const ObjectTypeImage = 10
View Source
const ObjectTypeImageView = 14
View Source
const ObjectTypeInstance = 1
View Source
const ObjectTypePhysicalDevice = 2
View Source
const ObjectTypePipeline = 19
View Source
const ObjectTypePipelineCache = 16
View Source
const ObjectTypePipelineLayout = 17
View Source
const ObjectTypeQueryPool = 12
View Source
const ObjectTypeQueue = 4
View Source
const ObjectTypeRenderPass = 18
View Source
const ObjectTypeSampler = 21
View Source
const ObjectTypeSemaphore = 5
View Source
const ObjectTypeShaderModule = 15
View Source
const ObjectTypeSurfaceKHR = 1000000000
View Source
const ObjectTypeSwapchainKHR = 1000001000
View Source
const ObjectTypeUnknown = 0
View Source
const PhysicalDeviceTypeCpu = 4
View Source
const PhysicalDeviceTypeDiscreteGpu = 2
View Source
const PhysicalDeviceTypeIntegratedGpu = 1
View Source
const PhysicalDeviceTypeOther = 0
View Source
const PhysicalDeviceTypeVirtualGpu = 3
View Source
const PipelineBindPointCompute = 1
View Source
const PipelineBindPointGraphics = 0
View Source
const PipelineCreateAllowDerivativesBit = 1 << 1
View Source
const PipelineCreateDerivativeBit = 1 << 2
View Source
const PipelineCreateDisableOptimizationBit = 1 << 0
View Source
const PipelineStage2AllCommandsBit = 1 << 16
View Source
const PipelineStage2AllCommandsBitKHR = 1 << 16
View Source
const PipelineStage2AllGraphicsBit = 1 << 15
View Source
const PipelineStage2AllGraphicsBitKHR = 1 << 15
View Source
const PipelineStage2AllTransferBit = 1 << 12
View Source
const PipelineStage2AllTransferBitKHR = 1 << 12
View Source
const PipelineStage2BlitBit = 1 << 34
View Source
const PipelineStage2BlitBitKHR = 1 << 34
View Source
const PipelineStage2BottomOfPipeBit = 1 << 13
View Source
const PipelineStage2BottomOfPipeBitKHR = 1 << 13
View Source
const PipelineStage2ClearBit = 1 << 35
View Source
const PipelineStage2ClearBitKHR = 1 << 35
View Source
const PipelineStage2ColorAttachmentOutputBit = 1 << 10
View Source
const PipelineStage2ColorAttachmentOutputBitKHR = 1 << 10
View Source
const PipelineStage2ComputeShaderBit = 1 << 11
View Source
const PipelineStage2ComputeShaderBitKHR = 1 << 11
View Source
const PipelineStage2CopyBit = 1 << 32
View Source
const PipelineStage2CopyBitKHR = 1 << 32
View Source
const PipelineStage2DrawIndirectBit = 1 << 1
View Source
const PipelineStage2DrawIndirectBitKHR = 1 << 1
View Source
const PipelineStage2EarlyFragmentTestsBit = 1 << 8
View Source
const PipelineStage2EarlyFragmentTestsBitKHR = 1 << 8
View Source
const PipelineStage2FragmentShaderBit = 1 << 7
View Source
const PipelineStage2FragmentShaderBitKHR = 1 << 7
View Source
const PipelineStage2GeometryShaderBit = 1 << 6
View Source
const PipelineStage2GeometryShaderBitKHR = 1 << 6
View Source
const PipelineStage2HostBit = 1 << 14
View Source
const PipelineStage2HostBitKHR = 1 << 14
View Source
const PipelineStage2IndexInputBit = 1 << 36
View Source
const PipelineStage2IndexInputBitKHR = 1 << 36
View Source
const PipelineStage2LateFragmentTestsBit = 1 << 9
View Source
const PipelineStage2LateFragmentTestsBitKHR = 1 << 9
View Source
const PipelineStage2None = 0
View Source
const PipelineStage2NoneKHR = 0
View Source
const PipelineStage2PreRasterizationShadersBit = 1 << 38
View Source
const PipelineStage2PreRasterizationShadersBitKHR = 1 << 38
View Source
const PipelineStage2ResolveBit = 1 << 33
View Source
const PipelineStage2ResolveBitKHR = 1 << 33
View Source
const PipelineStage2TessellationControlShaderBit = 1 << 4
View Source
const PipelineStage2TessellationControlShaderBitKHR = 1 << 4
View Source
const PipelineStage2TessellationEvaluationShaderBit = 1 << 5
View Source
const PipelineStage2TessellationEvaluationShaderBitKHR = 1 << 5
View Source
const PipelineStage2TopOfPipeBit = 1 << 0
View Source
const PipelineStage2TopOfPipeBitKHR = 1 << 0
View Source
const PipelineStage2TransferBit = 1 << 12
View Source
const PipelineStage2TransferBitKHR = 1 << 12
View Source
const PipelineStage2VertexAttributeInputBit = 1 << 37
View Source
const PipelineStage2VertexAttributeInputBitKHR = 1 << 37
View Source
const PipelineStage2VertexInputBit = 1 << 2
View Source
const PipelineStage2VertexInputBitKHR = 1 << 2
View Source
const PipelineStage2VertexShaderBit = 1 << 3
View Source
const PipelineStage2VertexShaderBitKHR = 1 << 3
View Source
const PipelineStageAllCommandsBit = 1 << 16
View Source
const PipelineStageAllGraphicsBit = 1 << 15
View Source
const PipelineStageBottomOfPipeBit = 1 << 13
View Source
const PipelineStageColorAttachmentOutputBit = 1 << 10
View Source
const PipelineStageComputeShaderBit = 1 << 11
View Source
const PipelineStageDrawIndirectBit = 1 << 1
View Source
const PipelineStageEarlyFragmentTestsBit = 1 << 8
View Source
const PipelineStageFragmentShaderBit = 1 << 7
View Source
const PipelineStageGeometryShaderBit = 1 << 6
View Source
const PipelineStageHostBit = 1 << 14
View Source
const PipelineStageLateFragmentTestsBit = 1 << 9
View Source
const PipelineStageNoneKHR = 0
View Source
const PipelineStageTessellationControlShaderBit = 1 << 4
View Source
const PipelineStageTessellationEvaluationShaderBit = 1 << 5
View Source
const PipelineStageTopOfPipeBit = 1 << 0
View Source
const PipelineStageTransferBit = 1 << 12
View Source
const PipelineStageVertexInputBit = 1 << 2
View Source
const PipelineStageVertexShaderBit = 1 << 3
View Source
const PolygonModeFill = 0
View Source
const PolygonModeLine = 1
View Source
const PolygonModePoint = 2
View Source
const PresentModeFifoKHR = 2
View Source
const PresentModeFifoRelaxedKHR = 3
View Source
const PresentModeImmediateKHR = 0
View Source
const PresentModeMailboxKHR = 1
View Source
const PrimitiveTopologyLineList = 1
View Source
const PrimitiveTopologyLineListWithAdjacency = 6
View Source
const PrimitiveTopologyLineStrip = 2
View Source
const PrimitiveTopologyLineStripWithAdjacency = 7
View Source
const PrimitiveTopologyPatchList = 10
View Source
const PrimitiveTopologyPointList = 0
View Source
const PrimitiveTopologyTriangleFan = 5
View Source
const PrimitiveTopologyTriangleList = 3
View Source
const PrimitiveTopologyTriangleListWithAdjacency = 8
View Source
const PrimitiveTopologyTriangleStrip = 4
View Source
const PrimitiveTopologyTriangleStripWithAdjacency = 9
View Source
const QueryControlPreciseBit = 1 << 0
View Source
const QueryPipelineStatisticClippingInvocationsBit = 1 << 5
View Source
const QueryPipelineStatisticClippingPrimitivesBit = 1 << 6
View Source
const QueryPipelineStatisticComputeShaderInvocationsBit = 1 << 10
View Source
const QueryPipelineStatisticFragmentShaderInvocationsBit = 1 << 7
View Source
const QueryPipelineStatisticGeometryShaderInvocationsBit = 1 << 3
View Source
const QueryPipelineStatisticGeometryShaderPrimitivesBit = 1 << 4
View Source
const QueryPipelineStatisticInputAssemblyPrimitivesBit = 1 << 1
View Source
const QueryPipelineStatisticInputAssemblyVerticesBit = 1 << 0
View Source
const QueryPipelineStatisticTessellationControlShaderPatchesBit = 1 << 8
View Source
const QueryPipelineStatisticTessellationEvaluationShaderInvocationsBit = 1 << 9
View Source
const QueryPipelineStatisticVertexShaderInvocationsBit = 1 << 2
View Source
const QueueComputeBit = 1 << 1
View Source
const QueueFamilyExternalKHR = ^uint32(1)
View Source
const QueueFamilyForeignEXT = ^uint32(2)
View Source
const QueueGlobalPriorityHigh = 512
View Source
const QueueGlobalPriorityHighEXT = 512
View Source
const QueueGlobalPriorityHighKHR = 512
View Source
const QueueGlobalPriorityLow = 128
View Source
const QueueGlobalPriorityLowEXT = 128
View Source
const QueueGlobalPriorityLowKHR = 128
View Source
const QueueGlobalPriorityMedium = 256
View Source
const QueueGlobalPriorityMediumEXT = 256
View Source
const QueueGlobalPriorityMediumKHR = 256
View Source
const QueueGlobalPriorityRealtime = 1024
View Source
const QueueGlobalPriorityRealtimeEXT = 1024
View Source
const QueueGlobalPriorityRealtimeKHR = 1024
View Source
const QueueGraphicsBit = 1 << 0
View Source
const QueueSparseBindingBit = 1 << 3
View Source
const QueueTransferBit = 1 << 2
View Source
const RenderingContentsSecondaryCommandBuffersBit = 1 << 0
View Source
const RenderingContentsSecondaryCommandBuffersBitKHR = 1 << 0
View Source
const RenderingResumingBit = 1 << 2
View Source
const RenderingResumingBitKHR = 1 << 2
View Source
const RenderingSuspendingBit = 1 << 1
View Source
const RenderingSuspendingBitKHR = 1 << 1
View Source
const ResolveModeAverageBit = 1 << 1
View Source
const ResolveModeMaxBit = 1 << 3
View Source
const ResolveModeMinBit = 1 << 2
View Source
const ResolveModeNone = 0
View Source
const ResolveModeSampleZeroBit = 1 << 0
View Source
const SampleCount16Bit = 1 << 4
View Source
const SampleCount1Bit = 1 << 0
View Source
const SampleCount2Bit = 1 << 1
View Source
const SampleCount32Bit = 1 << 5
View Source
const SampleCount4Bit = 1 << 2
View Source
const SampleCount64Bit = 1 << 6
View Source
const SampleCount8Bit = 1 << 3
View Source
const SamplerAddressModeClampToBorder = 3
View Source
const SamplerAddressModeClampToEdge = 2
View Source
const SamplerAddressModeMirroredRepeat = 1
View Source
const SamplerAddressModeRepeat = 0
View Source
const SamplerMipmapModeLinear = 1
View Source
const SamplerMipmapModeNearest = 0
View Source
const SemaphoreImportTemporaryBit = 1 << 0
View Source
const SemaphoreImportTemporaryBitKHR = 1 << 0
View Source
const SemaphoreTypeBinary = 0
View Source
const SemaphoreTypeBinaryKHR = 0
View Source
const SemaphoreTypeTimeline = 1
View Source
const SemaphoreTypeTimelineKHR = 1
View Source
const SemaphoreWaitAnyBit = 1 << 0
View Source
const SemaphoreWaitAnyBitKHR = 1 << 0
View Source
const ShaderStageAll = 0x7FFFFFFF
View Source
const ShaderStageAllGraphics = 0x0000001F
View Source
const ShaderStageComputeBit = 1 << 5
View Source
const ShaderStageFragmentBit = 1 << 4
View Source
const ShaderStageGeometryBit = 1 << 3
View Source
const ShaderStageTessellationControlBit = 1 << 1
View Source
const ShaderStageTessellationEvaluationBit = 1 << 2
View Source
const ShaderStageVertexBit = 1 << 0
View Source
const SharingModeConcurrent = 1
View Source
const SharingModeExclusive = 0
View Source
const SparseImageFormatAlignedMipSizeBit = 1 << 1
View Source
const SparseImageFormatNonstandardBlockSizeBit = 1 << 2
View Source
const SparseImageFormatSingleMiptailBit = 1 << 0
View Source
const StencilOpDecrementAndClamp = 4
View Source
const StencilOpDecrementAndWrap = 7
View Source
const StencilOpIncrementAndClamp = 3
View Source
const StencilOpIncrementAndWrap = 6
View Source
const StencilOpInvert = 5
View Source
const StencilOpKeep = 0
View Source
const StencilOpReplace = 2
View Source
const StencilOpZero = 1
View Source
const StructureTypeAcquireNextImageInfoKHR = 1000060010
View Source
const StructureTypeApplicationInfo = 0
View Source
const StructureTypeBindBufferMemoryInfo = 1000157000
View Source
const StructureTypeBindBufferMemoryInfoKHR = 1000157000
View Source
const StructureTypeBindImageMemoryInfo = 1000157001
View Source
const StructureTypeBindImageMemoryInfoKHR = 1000157001
View Source
const StructureTypeBindImageMemorySwapchainInfoKHR = 1000060009
View Source
const StructureTypeBindSparseInfo = 7
View Source
const StructureTypeBufferCreateInfo = 12
View Source
const StructureTypeBufferMemoryBarrier = 44
View Source
const StructureTypeBufferMemoryBarrier2 = 1000314001
View Source
const StructureTypeBufferMemoryBarrier2KHR = 1000314001
View Source
const StructureTypeBufferMemoryRequirementsInfo2 = 1000146000
View Source
const StructureTypeBufferMemoryRequirementsInfo2KHR = 1000146000
View Source
const StructureTypeBufferViewCreateInfo = 13
View Source
const StructureTypeCommandBufferAllocateInfo = 40
View Source
const StructureTypeCommandBufferBeginInfo = 42
View Source
const StructureTypeCommandBufferInheritanceInfo = 41
View Source
const StructureTypeCommandBufferInheritanceRenderingInfo = 1000044004
View Source
const StructureTypeCommandBufferInheritanceRenderingInfoKHR = 1000044004
View Source
const StructureTypeCommandBufferSubmitInfo = 1000314006
View Source
const StructureTypeCommandBufferSubmitInfoKHR = 1000314006
View Source
const StructureTypeCommandPoolCreateInfo = 39
View Source
const StructureTypeComputePipelineCreateInfo = 29
View Source
const StructureTypeCopyDescriptorSet = 36
View Source
const StructureTypeDRMFormatModifierPropertiesList2EXT = 1000158006
View Source
const StructureTypeDRMFormatModifierPropertiesListEXT = 1000158000
View Source
const StructureTypeDebugUtilsLabelEXT = 1000128002
View Source
const StructureTypeDebugUtilsMessengerCallbackDataEXT = 1000128003
View Source
const StructureTypeDebugUtilsMessengerCreateInfoEXT = 1000128004
View Source
const StructureTypeDebugUtilsObjectNameInfoEXT = 1000128000
View Source
const StructureTypeDebugUtilsObjectTagInfoEXT = 1000128001
View Source
const StructureTypeDependencyInfo = 1000314003
View Source
const StructureTypeDependencyInfoKHR = 1000314003
View Source
const StructureTypeDescriptorPoolCreateInfo = 33
View Source
const StructureTypeDescriptorSetAllocateInfo = 34
View Source
const StructureTypeDescriptorSetLayoutCreateInfo = 32
View Source
const StructureTypeDeviceCreateInfo = 3
View Source
const StructureTypeDeviceGroupPresentCapabilitiesKHR = 1000060007
View Source
const StructureTypeDeviceGroupPresentInfoKHR = 1000060011
View Source
const StructureTypeDeviceGroupSwapchainCreateInfoKHR = 1000060012
View Source
const StructureTypeDeviceQueueCreateInfo = 2
View Source
const StructureTypeDeviceQueueGlobalPriorityCreateInfo = 1000174000
View Source
const StructureTypeDeviceQueueGlobalPriorityCreateInfoEXT = 1000174000
View Source
const StructureTypeDeviceQueueGlobalPriorityCreateInfoKHR = 1000174000
View Source
const StructureTypeEventCreateInfo = 10
View Source
const StructureTypeExportMemoryAllocateInfo = 1000072002
View Source
const StructureTypeExportMemoryAllocateInfoKHR = 1000072002
View Source
const StructureTypeExportSemaphoreCreateInfo = 1000077000
View Source
const StructureTypeExportSemaphoreCreateInfoKHR = 1000077000
View Source
const StructureTypeExternalBufferProperties = 1000071003
View Source
const StructureTypeExternalBufferPropertiesKHR = 1000071003
View Source
const StructureTypeExternalImageFormatProperties = 1000071001
View Source
const StructureTypeExternalImageFormatPropertiesKHR = 1000071001
View Source
const StructureTypeExternalMemoryBufferCreateInfo = 1000072000
View Source
const StructureTypeExternalMemoryBufferCreateInfoKHR = 1000072000
View Source
const StructureTypeExternalMemoryImageCreateInfo = 1000072001
View Source
const StructureTypeExternalMemoryImageCreateInfoKHR = 1000072001
View Source
const StructureTypeExternalSemaphoreProperties = 1000076001
View Source
const StructureTypeExternalSemaphorePropertiesKHR = 1000076001
View Source
const StructureTypeFenceCreateInfo = 8
View Source
const StructureTypeFormatProperties2 = 1000059002
View Source
const StructureTypeFormatProperties2KHR = 1000059002
View Source
const StructureTypeFramebufferCreateInfo = 37
View Source
const StructureTypeGraphicsPipelineCreateInfo = 28
View Source
const StructureTypeImageCreateInfo = 14
View Source
const StructureTypeImageDRMFormatModifierExplicitCreateInfoEXT = 1000158004
View Source
const StructureTypeImageDRMFormatModifierListCreateInfoEXT = 1000158003
View Source
const StructureTypeImageDRMFormatModifierPropertiesEXT = 1000158005
View Source
const StructureTypeImageFormatProperties2 = 1000059003
View Source
const StructureTypeImageFormatProperties2KHR = 1000059003
View Source
const StructureTypeImageMemoryBarrier = 45
View Source
const StructureTypeImageMemoryBarrier2 = 1000314002
View Source
const StructureTypeImageMemoryBarrier2KHR = 1000314002
View Source
const StructureTypeImageMemoryRequirementsInfo2 = 1000146001
View Source
const StructureTypeImageMemoryRequirementsInfo2KHR = 1000146001
View Source
const StructureTypeImageSparseMemoryRequirementsInfo2 = 1000146002
View Source
const StructureTypeImageSparseMemoryRequirementsInfo2KHR = 1000146002
View Source
const StructureTypeImageSwapchainCreateInfoKHR = 1000060008
View Source
const StructureTypeImageViewCreateInfo = 15
View Source
const StructureTypeImportMemoryFDInfoKHR = 1000074000
View Source
const StructureTypeImportSemaphoreFDInfoKHR = 1000079000
View Source
const StructureTypeInstanceCreateInfo = 1
View Source
const StructureTypeLoaderDeviceCreateInfo = 48
View Source
const StructureTypeLoaderInstanceCreateInfo = 47
View Source
const StructureTypeMappedMemoryRange = 6
View Source
const StructureTypeMemoryAllocateInfo = 5
View Source
const StructureTypeMemoryBarrier = 46
View Source
const StructureTypeMemoryBarrier2 = 1000314000
View Source
const StructureTypeMemoryBarrier2KHR = 1000314000
View Source
const StructureTypeMemoryDedicatedAllocateInfo = 1000127001
View Source
const StructureTypeMemoryDedicatedAllocateInfoKHR = 1000127001
View Source
const StructureTypeMemoryDedicatedRequirements = 1000127000
View Source
const StructureTypeMemoryDedicatedRequirementsKHR = 1000127000
View Source
const StructureTypeMemoryFDPropertiesKHR = 1000074001
View Source
const StructureTypeMemoryGetFDInfoKHR = 1000074002
View Source
const StructureTypeMemoryRequirements2 = 1000146003
View Source
const StructureTypeMemoryRequirements2KHR = 1000146003
View Source
const StructureTypePhysicalDeviceDRMPropertiesEXT = 1000353000
View Source
const StructureTypePhysicalDeviceDynamicRenderingFeatures = 1000044003
View Source
const StructureTypePhysicalDeviceDynamicRenderingFeaturesKHR = 1000044003
View Source
const StructureTypePhysicalDeviceExternalBufferInfo = 1000071002
View Source
const StructureTypePhysicalDeviceExternalBufferInfoKHR = 1000071002
View Source
const StructureTypePhysicalDeviceExternalImageFormatInfo = 1000071000
View Source
const StructureTypePhysicalDeviceExternalImageFormatInfoKHR = 1000071000
View Source
const StructureTypePhysicalDeviceExternalSemaphoreInfo = 1000076000
View Source
const StructureTypePhysicalDeviceExternalSemaphoreInfoKHR = 1000076000
View Source
const StructureTypePhysicalDeviceFeatures2 = 1000059000
View Source
const StructureTypePhysicalDeviceFeatures2KHR = 1000059000
View Source
const StructureTypePhysicalDeviceGlobalPriorityQueryFeatures = 1000388000
View Source
const StructureTypePhysicalDeviceGlobalPriorityQueryFeaturesEXT = 1000388000
View Source
const StructureTypePhysicalDeviceGlobalPriorityQueryFeaturesKHR = 1000388000
View Source
const StructureTypePhysicalDeviceIDProperties = 1000071004
View Source
const StructureTypePhysicalDeviceIDPropertiesKHR = 1000071004
View Source
const StructureTypePhysicalDeviceImageDRMFormatModifierInfoEXT = 1000158002
View Source
const StructureTypePhysicalDeviceImageFormatInfo2 = 1000059004
View Source
const StructureTypePhysicalDeviceImageFormatInfo2KHR = 1000059004
View Source
const StructureTypePhysicalDeviceMemoryProperties2 = 1000059006
View Source
const StructureTypePhysicalDeviceMemoryProperties2KHR = 1000059006
View Source
const StructureTypePhysicalDeviceProperties2 = 1000059001
View Source
const StructureTypePhysicalDeviceProperties2KHR = 1000059001
View Source
const StructureTypePhysicalDeviceSparseImageFormatInfo2 = 1000059008
View Source
const StructureTypePhysicalDeviceSparseImageFormatInfo2KHR = 1000059008
View Source
const StructureTypePhysicalDeviceSynchronization2Features = 1000314007
View Source
const StructureTypePhysicalDeviceSynchronization2FeaturesKHR = 1000314007
View Source
const StructureTypePhysicalDeviceTimelineSemaphoreFeatures = 1000207000
View Source
const StructureTypePhysicalDeviceTimelineSemaphoreFeaturesKHR = 1000207000
View Source
const StructureTypePhysicalDeviceTimelineSemaphoreProperties = 1000207001
View Source
const StructureTypePhysicalDeviceTimelineSemaphorePropertiesKHR = 1000207001
View Source
const StructureTypePipelineCacheCreateInfo = 17
View Source
const StructureTypePipelineColorBlendStateCreateInfo = 26
View Source
const StructureTypePipelineDepthStencilStateCreateInfo = 25
View Source
const StructureTypePipelineDynamicStateCreateInfo = 27
View Source
const StructureTypePipelineInputAssemblyStateCreateInfo = 20
View Source
const StructureTypePipelineLayoutCreateInfo = 30
View Source
const StructureTypePipelineMultisampleStateCreateInfo = 24
View Source
const StructureTypePipelineRasterizationStateCreateInfo = 23
View Source
const StructureTypePipelineRenderingCreateInfo = 1000044002
View Source
const StructureTypePipelineRenderingCreateInfoKHR = 1000044002
View Source
const StructureTypePipelineShaderStageCreateInfo = 18
View Source
const StructureTypePipelineTessellationStateCreateInfo = 21
View Source
const StructureTypePipelineVertexInputStateCreateInfo = 19
View Source
const StructureTypePipelineViewportStateCreateInfo = 22
View Source
const StructureTypePresentInfoKHR = 1000001001
View Source
const StructureTypeQueryPoolCreateInfo = 11
View Source
const StructureTypeQueueFamilyGlobalPriorityProperties = 1000388001
View Source
const StructureTypeQueueFamilyGlobalPriorityPropertiesEXT = 1000388001
View Source
const StructureTypeQueueFamilyGlobalPriorityPropertiesKHR = 1000388001
View Source
const StructureTypeQueueFamilyProperties2 = 1000059005
View Source
const StructureTypeQueueFamilyProperties2KHR = 1000059005
View Source
const StructureTypeRenderPassBeginInfo = 43
View Source
const StructureTypeRenderPassCreateInfo = 38
View Source
const StructureTypeRenderingAttachmentInfo = 1000044001
View Source
const StructureTypeRenderingAttachmentInfoKHR = 1000044001
View Source
const StructureTypeRenderingInfo = 1000044000
View Source
const StructureTypeRenderingInfoKHR = 1000044000
View Source
const StructureTypeSamplerCreateInfo = 31
View Source
const StructureTypeSemaphoreCreateInfo = 9
View Source
const StructureTypeSemaphoreGetFDInfoKHR = 1000079001
View Source
const StructureTypeSemaphoreSignalInfo = 1000207005
View Source
const StructureTypeSemaphoreSignalInfoKHR = 1000207005
View Source
const StructureTypeSemaphoreSubmitInfo = 1000314005
View Source
const StructureTypeSemaphoreSubmitInfoKHR = 1000314005
View Source
const StructureTypeSemaphoreTypeCreateInfo = 1000207002
View Source
const StructureTypeSemaphoreTypeCreateInfoKHR = 1000207002
View Source
const StructureTypeSemaphoreWaitInfo = 1000207004
View Source
const StructureTypeSemaphoreWaitInfoKHR = 1000207004
View Source
const StructureTypeShaderModuleCreateInfo = 16
View Source
const StructureTypeSparseImageFormatProperties2 = 1000059007
View Source
const StructureTypeSparseImageFormatProperties2KHR = 1000059007
View Source
const StructureTypeSparseImageMemoryRequirements2 = 1000146004
View Source
const StructureTypeSparseImageMemoryRequirements2KHR = 1000146004
View Source
const StructureTypeSubmitInfo = 4
View Source
const StructureTypeSubmitInfo2 = 1000314004
View Source
const StructureTypeSubmitInfo2KHR = 1000314004
View Source
const StructureTypeSwapchainCreateInfoKHR = 1000001000
View Source
const StructureTypeTimelineSemaphoreSubmitInfo = 1000207003
View Source
const StructureTypeTimelineSemaphoreSubmitInfoKHR = 1000207003
View Source
const StructureTypeWaylandSurfaceCreateInfoKHR = 1000006000
View Source
const StructureTypeWriteDescriptorSet = 35
View Source
const StructureTypeXcbSurfaceCreateInfoKHR = 1000005000
View Source
const StructureTypeXlibSurfaceCreateInfoKHR = 1000004000
View Source
const SubmitProtectedBit = 1 << 0
View Source
const SubmitProtectedBitKHR = 1 << 0
View Source
const SurfaceTransformHorizontalMirrorBitKHR = 1 << 4
View Source
const SurfaceTransformHorizontalMirrorRotate180BitKHR = 1 << 6
View Source
const SurfaceTransformHorizontalMirrorRotate270BitKHR = 1 << 7
View Source
const SurfaceTransformHorizontalMirrorRotate90BitKHR = 1 << 5
View Source
const SurfaceTransformIdentityBitKHR = 1 << 0
View Source
const SurfaceTransformInheritBitKHR = 1 << 8
View Source
const SurfaceTransformRotate180BitKHR = 1 << 2
View Source
const SurfaceTransformRotate270BitKHR = 1 << 3
View Source
const SurfaceTransformRotate90BitKHR = 1 << 1
View Source
const SwapchainCreateProtectedBitKHR = 1 << 1
View Source
const SwapchainCreateSplitInstanceBindRegionsBitKHR = 1 << 0
View Source
const UUIDSize = 16
View Source
const VertexInputRateInstance = 1
View Source
const VertexInputRateVertex = 0

Variables

View Source
var VkAcquireNextImage2KHR func(Device, *AcquireNextImageInfoKHR, *uint32) Result
View Source
var VkAcquireNextImageKHR func(Device, SwapchainKHR, uint64, Semaphore, Fence, *uint32) Result
View Source
var VkAllocateCommandBuffers func(Device, *CommandBufferAllocateInfo, *CommandBuffer) Result
View Source
var VkAllocateDescriptorSets func(Device, *DescriptorSetAllocateInfo, *DescriptorSet) Result
View Source
var VkAllocateMemory func(Device, *MemoryAllocateInfo, *AllocationCallbacks, *DeviceMemory) Result
View Source
var VkBeginCommandBuffer func(CommandBuffer, *CommandBufferBeginInfo) Result
View Source
var VkBindBufferMemory func(Device, Buffer, DeviceMemory, DeviceSize) Result
View Source
var VkBindBufferMemory2KHR func(Device, uint32, *BindBufferMemoryInfo) Result
View Source
var VkBindImageMemory func(Device, Image, DeviceMemory, DeviceSize) Result
View Source
var VkBindImageMemory2 func(Device, uint32, *BindImageMemoryInfo) Result
View Source
var VkBindImageMemory2KHR func(Device, uint32, *BindImageMemoryInfo) Result
View Source
var VkCmdBeginDebugUtilsLabelEXT func(CommandBuffer, *DebugUtilsLabelEXT)
View Source
var VkCmdBeginRendering func(CommandBuffer, *RenderingInfo)
View Source
var VkCmdBeginRenderingKHR func(CommandBuffer, *RenderingInfo)
View Source
var VkCmdBindDescriptorSets func(CommandBuffer, PipelineBindPoint, PipelineLayout, uint32, uint32, *DescriptorSet, uint32, *uint32)
View Source
var VkCmdBindIndexBuffer func(CommandBuffer, Buffer, DeviceSize, IndexType)
View Source
var VkCmdBindPipeline func(CommandBuffer, PipelineBindPoint, Pipeline)
View Source
var VkCmdBindVertexBuffers func(CommandBuffer, uint32, uint32, *Buffer, *DeviceSize)
View Source
var VkCmdBlitImage func(CommandBuffer, Image, ImageLayout, Image, ImageLayout, uint32, *ImageBlit, Filter)
View Source
var VkCmdClearColorImage func(CommandBuffer, Image, ImageLayout, *ClearColorValue, uint32, *ImageSubresourceRange)
View Source
var VkCmdCopyBufferToImage func(CommandBuffer, Buffer, Image, ImageLayout, uint32, *BufferImageCopy)
View Source
var VkCmdCopyImage func(CommandBuffer, Image, ImageLayout, Image, ImageLayout, uint32, *ImageCopy)
View Source
var VkCmdCopyImageToBuffer func(CommandBuffer, Image, ImageLayout, Buffer, uint32, *BufferImageCopy)
View Source
var VkCmdDraw func(CommandBuffer, uint32, uint32, uint32, uint32)
View Source
var VkCmdDrawIndexed func(CommandBuffer, uint32, uint32, uint32, int32, uint32)
View Source
var VkCmdEndDebugUtilsLabelEXT func(CommandBuffer)
View Source
var VkCmdEndRendering func(CommandBuffer)
View Source
var VkCmdEndRenderingKHR func(CommandBuffer)
View Source
var VkCmdInsertDebugUtilsLabelEXT func(CommandBuffer, *DebugUtilsLabelEXT)
View Source
var VkCmdPipelineBarrier2 func(CommandBuffer, *DependencyInfo)
View Source
var VkCmdPipelineBarrier2KHR func(CommandBuffer, *DependencyInfo)
View Source
var VkCmdPushConstants func(CommandBuffer, PipelineLayout, ShaderStageFlags, uint32, uint32, unsafe.Pointer)
View Source
var VkCmdResetEvent2KHR func(CommandBuffer, Event, PipelineStageFlags2)
View Source
var VkCmdSetEvent2KHR func(CommandBuffer, Event, *DependencyInfo)
View Source
var VkCmdWaitEvents2KHR func(CommandBuffer, uint32, *Event, *DependencyInfo)
View Source
var VkCmdWriteTimestamp2KHR func(CommandBuffer, PipelineStageFlags2, QueryPool, uint32)
View Source
var VkCreateBuffer func(Device, *BufferCreateInfo, *AllocationCallbacks, *Buffer) Result
View Source
var VkCreateCommandPool func(Device, *CommandPoolCreateInfo, *AllocationCallbacks, *CommandPool) Result
View Source
var VkCreateDebugUtilsMessengerEXT func(Instance, *DebugUtilsMessengerCreateInfoEXT, *AllocationCallbacks, *DebugUtilsMessengerEXT) Result
View Source
var VkCreateDescriptorPool func(Device, *DescriptorPoolCreateInfo, *AllocationCallbacks, *DescriptorPool) Result
View Source
var VkCreateDescriptorSetLayout func(Device, *DescriptorSetLayoutCreateInfo, *AllocationCallbacks, *DescriptorSetLayout) Result
View Source
var VkCreateDevice func(PhysicalDevice, *DeviceCreateInfo, *AllocationCallbacks, *Device) Result
View Source
var VkCreateFence func(Device, *FenceCreateInfo, *AllocationCallbacks, *Fence) Result
View Source
var VkCreateGraphicsPipelines func(Device, PipelineCache, uint32, *GraphicsPipelineCreateInfo, *AllocationCallbacks, *Pipeline) Result
View Source
var VkCreateImage func(Device, *ImageCreateInfo, *AllocationCallbacks, *Image) Result
View Source
var VkCreateImageView func(Device, *ImageViewCreateInfo, *AllocationCallbacks, *ImageView) Result
View Source
var VkCreateInstance func(*InstanceCreateInfo, *AllocationCallbacks, *Instance) Result
View Source
var VkCreatePipelineLayout func(Device, *PipelineLayoutCreateInfo, *AllocationCallbacks, *PipelineLayout) Result
View Source
var VkCreateSampler func(Device, *SamplerCreateInfo, *AllocationCallbacks, *Sampler) Result
View Source
var VkCreateSemaphore func(Device, *SemaphoreCreateInfo, *AllocationCallbacks, *Semaphore) Result
View Source
var VkCreateShaderModule func(Device, *ShaderModuleCreateInfo, *AllocationCallbacks, *ShaderModule) Result
View Source
var VkCreateSwapchainKHR func(Device, *SwapchainCreateInfoKHR, *AllocationCallbacks, *SwapchainKHR) Result
View Source
var VkCreateWaylandSurfaceKHR func(Instance, *WaylandSurfaceCreateInfoKHR, *AllocationCallbacks, *SurfaceKHR) Result
View Source
var VkCreateXcbSurfaceKHR func(Instance, *XcbSurfaceCreateInfoKHR, *AllocationCallbacks, *SurfaceKHR) Result
View Source
var VkCreateXlibSurfaceKHR func(Instance, *XlibSurfaceCreateInfoKHR, *AllocationCallbacks, *SurfaceKHR) Result
View Source
var VkDestroyBuffer func(Device, Buffer, *AllocationCallbacks)
View Source
var VkDestroyCommandPool func(Device, CommandPool, *AllocationCallbacks)
View Source
var VkDestroyDebugUtilsMessengerEXT func(Instance, DebugUtilsMessengerEXT, *AllocationCallbacks)
View Source
var VkDestroyDescriptorPool func(Device, DescriptorPool, *AllocationCallbacks)
View Source
var VkDestroyDescriptorSetLayout func(Device, DescriptorSetLayout, *AllocationCallbacks)
View Source
var VkDestroyDevice func(Device, *AllocationCallbacks)
View Source
var VkDestroyFence func(Device, Fence, *AllocationCallbacks)
View Source
var VkDestroyImage func(Device, Image, *AllocationCallbacks)
View Source
var VkDestroyImageView func(Device, ImageView, *AllocationCallbacks)
View Source
var VkDestroyInstance func(Instance, *AllocationCallbacks)
View Source
var VkDestroyPipeline func(Device, Pipeline, *AllocationCallbacks)
View Source
var VkDestroyPipelineLayout func(Device, PipelineLayout, *AllocationCallbacks)
View Source
var VkDestroySampler func(Device, Sampler, *AllocationCallbacks)
View Source
var VkDestroySemaphore func(Device, Semaphore, *AllocationCallbacks)
View Source
var VkDestroyShaderModule func(Device, ShaderModule, *AllocationCallbacks)
View Source
var VkDestroySurfaceKHR func(Instance, SurfaceKHR, *AllocationCallbacks)
View Source
var VkDestroySwapchainKHR func(Device, SwapchainKHR, *AllocationCallbacks)
View Source
var VkDeviceWaitIdle func(Device) Result
View Source
var VkEndCommandBuffer func(CommandBuffer) Result
View Source
var VkEnumerateDeviceExtensionProperties func(PhysicalDevice, *byte, *uint32, *ExtensionProperties) Result
View Source
var VkEnumerateInstanceExtensionProperties func(*byte, *uint32, *ExtensionProperties) Result
View Source
var VkEnumerateInstanceLayerProperties func(*uint32, *LayerProperties) Result
View Source
var VkEnumerateInstanceVersion func(*uint32) Result
View Source
var VkEnumeratePhysicalDevices func(Instance, *uint32, *PhysicalDevice) Result
View Source
var VkFlushMappedMemoryRanges func(Device, uint32, *MappedMemoryRange) Result
View Source
var VkFreeCommandBuffers func(Device, CommandPool, uint32, *CommandBuffer)
View Source
var VkFreeMemory func(Device, DeviceMemory, *AllocationCallbacks)
View Source
var VkGetBufferMemoryRequirements func(Device, Buffer, *MemoryRequirements)
View Source
var VkGetBufferMemoryRequirements2KHR func(Device, *BufferMemoryRequirementsInfo2, *MemoryRequirements2)
View Source
var VkGetDeviceGroupPresentCapabilitiesKHR func(Device, *DeviceGroupPresentCapabilitiesKHR) Result
View Source
var VkGetDeviceGroupSurfacePresentModesKHR func(Device, SurfaceKHR, *DeviceGroupPresentModeFlagsKHR) Result
View Source
var VkGetDeviceProcAddr func(Device, *byte) PFN_vkVoidFunction
View Source
var VkGetDeviceQueue func(Device, uint32, uint32, *Queue)
View Source
var VkGetImageDrmFormatModifierPropertiesEXT func(Device, Image, *ImageDrmFormatModifierPropertiesEXT) Result
View Source
var VkGetImageMemoryRequirements func(Device, Image, *MemoryRequirements)
View Source
var VkGetImageMemoryRequirements2 func(Device, *ImageMemoryRequirementsInfo2, *MemoryRequirements2)
View Source
var VkGetImageMemoryRequirements2KHR func(Device, *ImageMemoryRequirementsInfo2, *MemoryRequirements2)
View Source
var VkGetImageSparseMemoryRequirements2KHR func(Device, *ImageSparseMemoryRequirementsInfo2, *uint32, *SparseImageMemoryRequirements2)
View Source
var VkGetImageSubresourceLayout func(Device, Image, *ImageSubresource, *SubresourceLayout)
View Source
var VkGetInstanceProcAddr func(Instance, *byte) PFN_vkVoidFunction
View Source
var VkGetMemoryFdKHR func(Device, *MemoryGetFdInfoKHR, *int32) Result
View Source
var VkGetMemoryFdPropertiesKHR func(Device, ExternalMemoryHandleTypeFlagBits, int32, *MemoryFdPropertiesKHR) Result
View Source
var VkGetPhysicalDeviceExternalBufferPropertiesKHR func(PhysicalDevice, *PhysicalDeviceExternalBufferInfo, *ExternalBufferProperties)
View Source
var VkGetPhysicalDeviceExternalSemaphorePropertiesKHR func(PhysicalDevice, *PhysicalDeviceExternalSemaphoreInfo, *ExternalSemaphoreProperties)
View Source
var VkGetPhysicalDeviceFeatures2 func(PhysicalDevice, *PhysicalDeviceFeatures2)
View Source
var VkGetPhysicalDeviceFeatures2KHR func(PhysicalDevice, *PhysicalDeviceFeatures2)
View Source
var VkGetPhysicalDeviceFormatProperties2 func(PhysicalDevice, Format, *FormatProperties2)
View Source
var VkGetPhysicalDeviceFormatProperties2KHR func(PhysicalDevice, Format, *FormatProperties2)
View Source
var VkGetPhysicalDeviceImageFormatProperties2 func(PhysicalDevice, *PhysicalDeviceImageFormatInfo2, *ImageFormatProperties2) Result
View Source
var VkGetPhysicalDeviceImageFormatProperties2KHR func(PhysicalDevice, *PhysicalDeviceImageFormatInfo2, *ImageFormatProperties2) Result
View Source
var VkGetPhysicalDeviceMemoryProperties func(PhysicalDevice, *PhysicalDeviceMemoryProperties)
View Source
var VkGetPhysicalDeviceMemoryProperties2 func(PhysicalDevice, *PhysicalDeviceMemoryProperties2)
View Source
var VkGetPhysicalDeviceMemoryProperties2KHR func(PhysicalDevice, *PhysicalDeviceMemoryProperties2)
View Source
var VkGetPhysicalDevicePresentRectanglesKHR func(PhysicalDevice, SurfaceKHR, *uint32, *Rect2D) Result
View Source
var VkGetPhysicalDeviceProperties func(PhysicalDevice, *PhysicalDeviceProperties)
View Source
var VkGetPhysicalDeviceProperties2 func(PhysicalDevice, *PhysicalDeviceProperties2)
View Source
var VkGetPhysicalDeviceProperties2KHR func(PhysicalDevice, *PhysicalDeviceProperties2)
View Source
var VkGetPhysicalDeviceQueueFamilyProperties func(PhysicalDevice, *uint32, *QueueFamilyProperties)
View Source
var VkGetPhysicalDeviceQueueFamilyProperties2 func(PhysicalDevice, *uint32, *QueueFamilyProperties2)
View Source
var VkGetPhysicalDeviceQueueFamilyProperties2KHR func(PhysicalDevice, *uint32, *QueueFamilyProperties2)
View Source
var VkGetPhysicalDeviceSparseImageFormatProperties2KHR func(PhysicalDevice, *PhysicalDeviceSparseImageFormatInfo2, *uint32, *SparseImageFormatProperties2)
View Source
var VkGetPhysicalDeviceSurfaceCapabilitiesKHR func(PhysicalDevice, SurfaceKHR, *SurfaceCapabilitiesKHR) Result
View Source
var VkGetPhysicalDeviceSurfaceFormatsKHR func(PhysicalDevice, SurfaceKHR, *uint32, *SurfaceFormatKHR) Result
View Source
var VkGetPhysicalDeviceSurfacePresentModesKHR func(PhysicalDevice, SurfaceKHR, *uint32, *PresentModeKHR) Result
View Source
var VkGetPhysicalDeviceSurfaceSupportKHR func(PhysicalDevice, uint32, SurfaceKHR, *Bool32) Result
View Source
var VkGetPhysicalDeviceWaylandPresentationSupportKHR func(PhysicalDevice, uint32, unsafe.Pointer) Bool32
View Source
var VkGetPhysicalDeviceXcbPresentationSupportKHR func(PhysicalDevice, uint32, unsafe.Pointer, uint32) Bool32
View Source
var VkGetPhysicalDeviceXlibPresentationSupportKHR func(PhysicalDevice, uint32, unsafe.Pointer, uintptr) Bool32
View Source
var VkGetSemaphoreCounterValue func(Device, Semaphore, *uint64) Result
View Source
var VkGetSemaphoreCounterValueKHR func(Device, Semaphore, *uint64) Result
View Source
var VkGetSemaphoreFdKHR func(Device, *SemaphoreGetFdInfoKHR, *int32) Result
View Source
var VkGetSwapchainImagesKHR func(Device, SwapchainKHR, *uint32, *Image) Result
View Source
var VkImportSemaphoreFdKHR func(Device, *ImportSemaphoreFdInfoKHR) Result
View Source
var VkInvalidateMappedMemoryRanges func(Device, uint32, *MappedMemoryRange) Result
View Source
var VkMapMemory func(Device, DeviceMemory, DeviceSize, DeviceSize, MemoryMapFlags, *unsafe.Pointer) Result
View Source
var VkQueueBeginDebugUtilsLabelEXT func(Queue, *DebugUtilsLabelEXT)
View Source
var VkQueueEndDebugUtilsLabelEXT func(Queue)
View Source
var VkQueueInsertDebugUtilsLabelEXT func(Queue, *DebugUtilsLabelEXT)
View Source
var VkQueuePresentKHR func(Queue, *PresentInfoKHR) Result
View Source
var VkQueueSubmit func(Queue, uint32, *SubmitInfo, Fence) Result
View Source
var VkQueueSubmit2 func(Queue, uint32, *SubmitInfo2, Fence) Result
View Source
var VkQueueSubmit2KHR func(Queue, uint32, *SubmitInfo2, Fence) Result
View Source
var VkQueueWaitIdle func(Queue) Result
View Source
var VkResetCommandBuffer func(CommandBuffer, CommandBufferResetFlags) Result
View Source
var VkResetFences func(Device, uint32, *Fence) Result
View Source
var VkSetDebugUtilsObjectNameEXT func(Device, *DebugUtilsObjectNameInfoEXT) Result
View Source
var VkSetDebugUtilsObjectTagEXT func(Device, *DebugUtilsObjectTagInfoEXT) Result
View Source
var VkSignalSemaphore func(Device, *SemaphoreSignalInfo) Result
View Source
var VkSignalSemaphoreKHR func(Device, *SemaphoreSignalInfo) Result
View Source
var VkUnmapMemory func(Device, DeviceMemory)
View Source
var VkUpdateDescriptorSets func(Device, uint32, *WriteDescriptorSet, uint32, *CopyDescriptorSet)
View Source
var VkWaitForFences func(Device, uint32, *Fence, Bool32, uint64) Result
View Source
var VkWaitSemaphores func(Device, *SemaphoreWaitInfo, uint64) Result
View Source
var VkWaitSemaphoresKHR func(Device, *SemaphoreWaitInfo, uint64) Result

Functions

func Check

func Check(r Result) error

func FormatVersion

func FormatVersion(version uint32) string

func Init

func Init(opts ...Option) error

Init opens the Vulkan loader and resolves vkGetInstanceProcAddr.

A successful initialization is process-global and runs once. Failed attempts are not cached so callers can retry with different options, such as an explicit loader path discovered after startup.

func MakeAPIVersion

func MakeAPIVersion(variant, major, minor, patch uint32) uint32

func MakeVersion

func MakeVersion(major, minor, patch uint32) uint32

func ResultString

func ResultString(r Result) string

func VersionMajor

func VersionMajor(version uint32) uint32

func VersionMinor

func VersionMinor(version uint32) uint32

func VersionPatch

func VersionPatch(version uint32) uint32

func VersionVariant

func VersionVariant(version uint32) uint32

Types

type AccessFlagBits

type AccessFlagBits int32

type AccessFlagBits2

type AccessFlagBits2 int32

type AccessFlagBits2KHR

type AccessFlagBits2KHR = AccessFlagBits2

type AccessFlags

type AccessFlags uint32

type AccessFlags2

type AccessFlags2 uint64

type AccessFlags2KHR

type AccessFlags2KHR = AccessFlags2

type AcquireNextImageInfoKHR

type AcquireNextImageInfoKHR struct {
	SType      StructureType
	Next       unsafe.Pointer
	Swapchain  SwapchainKHR
	Timeout    uint64
	Semaphore  Semaphore
	Fence      Fence
	DeviceMask uint32
}

type AllocationCallbacks

type AllocationCallbacks struct {
	UserData              unsafe.Pointer
	PfnAllocation         PFN_vkAllocationFunction
	PfnReallocation       PFN_vkReallocationFunction
	PfnFree               PFN_vkFreeFunction
	PfnInternalAllocation PFN_vkInternalAllocationNotification
	PfnInternalFree       PFN_vkInternalFreeNotification
}

type ApplicationInfo

type ApplicationInfo struct {
	SType              StructureType
	Next               unsafe.Pointer
	ApplicationName    *byte
	ApplicationVersion uint32
	EngineName         *byte
	EngineVersion      uint32
	ApiVersion         uint32
}

type AttachmentLoadOp

type AttachmentLoadOp int32

type AttachmentStoreOp

type AttachmentStoreOp int32

type BindBufferMemoryInfo

type BindBufferMemoryInfo struct {
	SType        StructureType
	Next         unsafe.Pointer
	Buffer       Buffer
	Memory       DeviceMemory
	MemoryOffset DeviceSize
}

type BindBufferMemoryInfoKHR

type BindBufferMemoryInfoKHR = BindBufferMemoryInfo

type BindImageMemoryInfo

type BindImageMemoryInfo struct {
	SType        StructureType
	Next         unsafe.Pointer
	Image        Image
	Memory       DeviceMemory
	MemoryOffset DeviceSize
}

type BindImageMemoryInfoKHR

type BindImageMemoryInfoKHR = BindImageMemoryInfo

type BindImageMemorySwapchainInfoKHR

type BindImageMemorySwapchainInfoKHR struct {
	SType      StructureType
	Next       unsafe.Pointer
	Swapchain  SwapchainKHR
	ImageIndex uint32
}

type BlendFactor

type BlendFactor int32

type BlendOp

type BlendOp int32

type Bool32

type Bool32 uint32

type BorderColor

type BorderColor int32

type Buffer

type Buffer uint64

type BufferCreateFlagBits

type BufferCreateFlagBits int32

type BufferCreateFlags

type BufferCreateFlags uint32

type BufferCreateInfo

type BufferCreateInfo struct {
	SType                 StructureType
	Next                  unsafe.Pointer
	Flags                 BufferCreateFlags
	Size                  DeviceSize
	Usage                 BufferUsageFlags
	SharingMode           SharingMode
	QueueFamilyIndexCount uint32
	QueueFamilyIndices    *uint32
}

type BufferImageCopy

type BufferImageCopy struct {
	BufferOffset      DeviceSize
	BufferRowLength   uint32
	BufferImageHeight uint32
	ImageSubresource  ImageSubresourceLayers
	ImageOffset       Offset3D
	ImageExtent       Extent3D
}

type BufferMemoryBarrier

type BufferMemoryBarrier struct {
	SType               StructureType
	Next                unsafe.Pointer
	SrcAccessMask       AccessFlags
	DstAccessMask       AccessFlags
	SrcQueueFamilyIndex uint32
	DstQueueFamilyIndex uint32
	Buffer              Buffer
	Offset              DeviceSize
	Size                DeviceSize
}

type BufferMemoryBarrier2

type BufferMemoryBarrier2 struct {
	SType               StructureType
	Next                unsafe.Pointer
	SrcStageMask        PipelineStageFlags2
	SrcAccessMask       AccessFlags2
	DstStageMask        PipelineStageFlags2
	DstAccessMask       AccessFlags2
	SrcQueueFamilyIndex uint32
	DstQueueFamilyIndex uint32
	Buffer              Buffer
	Offset              DeviceSize
	Size                DeviceSize
}

type BufferMemoryBarrier2KHR

type BufferMemoryBarrier2KHR = BufferMemoryBarrier2

type BufferMemoryRequirementsInfo2

type BufferMemoryRequirementsInfo2 struct {
	SType  StructureType
	Next   unsafe.Pointer
	Buffer Buffer
}

type BufferMemoryRequirementsInfo2KHR

type BufferMemoryRequirementsInfo2KHR = BufferMemoryRequirementsInfo2

type BufferUsageFlagBits

type BufferUsageFlagBits int32

type BufferUsageFlags

type BufferUsageFlags uint32

type BufferView

type BufferView uint64

type ClearColorValue

type ClearColorValue [4]uint32

type ClearDepthStencilValue

type ClearDepthStencilValue struct {
	Depth   float32
	Stencil uint32
}

type ClearValue

type ClearValue [4]uint32

type ColorComponentFlagBits

type ColorComponentFlagBits int32

type ColorComponentFlags

type ColorComponentFlags uint32

type ColorSpaceKHR

type ColorSpaceKHR int32

type CommandBuffer

type CommandBuffer uintptr

type CommandBufferAllocateInfo

type CommandBufferAllocateInfo struct {
	SType              StructureType
	Next               unsafe.Pointer
	CommandPool        CommandPool
	Level              CommandBufferLevel
	CommandBufferCount uint32
}

type CommandBufferBeginInfo

type CommandBufferBeginInfo struct {
	SType           StructureType
	Next            unsafe.Pointer
	Flags           CommandBufferUsageFlags
	InheritanceInfo *CommandBufferInheritanceInfo
}

type CommandBufferInheritanceInfo

type CommandBufferInheritanceInfo struct {
	SType                StructureType
	Next                 unsafe.Pointer
	RenderPass           RenderPass
	Subpass              uint32
	Framebuffer          Framebuffer
	OcclusionQueryEnable Bool32
	QueryFlags           QueryControlFlags
	PipelineStatistics   QueryPipelineStatisticFlags
}

type CommandBufferInheritanceRenderingInfo

type CommandBufferInheritanceRenderingInfo struct {
	SType                   StructureType
	Next                    unsafe.Pointer
	Flags                   RenderingFlags
	ViewMask                uint32
	ColorAttachmentCount    uint32
	ColorAttachmentFormats  *Format
	DepthAttachmentFormat   Format
	StencilAttachmentFormat Format
	RasterizationSamples    SampleCountFlagBits
}

type CommandBufferInheritanceRenderingInfoKHR

type CommandBufferInheritanceRenderingInfoKHR = CommandBufferInheritanceRenderingInfo

type CommandBufferLevel

type CommandBufferLevel int32

type CommandBufferResetFlagBits

type CommandBufferResetFlagBits int32

type CommandBufferResetFlags

type CommandBufferResetFlags uint32

type CommandBufferSubmitInfo

type CommandBufferSubmitInfo struct {
	SType         StructureType
	Next          unsafe.Pointer
	CommandBuffer CommandBuffer
	DeviceMask    uint32
}

type CommandBufferSubmitInfoKHR

type CommandBufferSubmitInfoKHR = CommandBufferSubmitInfo

type CommandBufferUsageFlagBits

type CommandBufferUsageFlagBits int32

type CommandBufferUsageFlags

type CommandBufferUsageFlags uint32

type CommandPool

type CommandPool uint64

type CommandPoolCreateFlagBits

type CommandPoolCreateFlagBits int32

type CommandPoolCreateFlags

type CommandPoolCreateFlags uint32

type CommandPoolCreateInfo

type CommandPoolCreateInfo struct {
	SType            StructureType
	Next             unsafe.Pointer
	Flags            CommandPoolCreateFlags
	QueueFamilyIndex uint32
}

type CompareOp

type CompareOp int32

type ComponentMapping

type ComponentMapping struct {
	R ComponentSwizzle
	G ComponentSwizzle
	B ComponentSwizzle
	A ComponentSwizzle
}

type ComponentSwizzle

type ComponentSwizzle int32

type CompositeAlphaFlagBitsKHR

type CompositeAlphaFlagBitsKHR int32

type CompositeAlphaFlagsKHR

type CompositeAlphaFlagsKHR uint32

type CopyDescriptorSet

type CopyDescriptorSet struct {
	SType           StructureType
	Next            unsafe.Pointer
	SrcSet          DescriptorSet
	SrcBinding      uint32
	SrcArrayElement uint32
	DstSet          DescriptorSet
	DstBinding      uint32
	DstArrayElement uint32
	DescriptorCount uint32
}

type CullModeFlagBits

type CullModeFlagBits int32

type CullModeFlags

type CullModeFlags uint32

type DebugUtilsLabelEXT

type DebugUtilsLabelEXT struct {
	SType     StructureType
	Next      unsafe.Pointer
	LabelName *byte
	Color     [4]float32
}

type DebugUtilsMessageSeverityFlagBitsEXT

type DebugUtilsMessageSeverityFlagBitsEXT int32

type DebugUtilsMessageSeverityFlagsEXT

type DebugUtilsMessageSeverityFlagsEXT uint32

type DebugUtilsMessageTypeFlagBitsEXT

type DebugUtilsMessageTypeFlagBitsEXT int32

type DebugUtilsMessageTypeFlagsEXT

type DebugUtilsMessageTypeFlagsEXT uint32

type DebugUtilsMessengerCallbackDataEXT

type DebugUtilsMessengerCallbackDataEXT struct {
	SType            StructureType
	Next             unsafe.Pointer
	Flags            DebugUtilsMessengerCallbackDataFlagsEXT
	MessageIdName    *byte
	MessageIdNumber  int32
	Message          *byte
	QueueLabelCount  uint32
	QueueLabels      *DebugUtilsLabelEXT
	CmdBufLabelCount uint32
	CmdBufLabels     *DebugUtilsLabelEXT
	ObjectCount      uint32
	Objects          *DebugUtilsObjectNameInfoEXT
}

type DebugUtilsMessengerCallbackDataFlagsEXT

type DebugUtilsMessengerCallbackDataFlagsEXT uint32

type DebugUtilsMessengerCreateFlagsEXT

type DebugUtilsMessengerCreateFlagsEXT uint32

type DebugUtilsMessengerCreateInfoEXT

type DebugUtilsMessengerCreateInfoEXT struct {
	SType           StructureType
	Next            unsafe.Pointer
	Flags           DebugUtilsMessengerCreateFlagsEXT
	MessageSeverity DebugUtilsMessageSeverityFlagsEXT
	MessageType     DebugUtilsMessageTypeFlagsEXT
	PfnUserCallback PFN_vkDebugUtilsMessengerCallbackEXT
	UserData        unsafe.Pointer
}

type DebugUtilsMessengerEXT

type DebugUtilsMessengerEXT uint64

type DebugUtilsObjectNameInfoEXT

type DebugUtilsObjectNameInfoEXT struct {
	SType        StructureType
	Next         unsafe.Pointer
	ObjectType   ObjectType
	ObjectHandle uint64
	ObjectName   *byte
}

type DebugUtilsObjectTagInfoEXT

type DebugUtilsObjectTagInfoEXT struct {
	SType        StructureType
	Next         unsafe.Pointer
	ObjectType   ObjectType
	ObjectHandle uint64
	TagName      uint64
	TagSize      uintptr
	Tag          unsafe.Pointer
}

type DependencyFlagBits

type DependencyFlagBits int32

type DependencyFlags

type DependencyFlags uint32

type DependencyInfo

type DependencyInfo struct {
	SType                    StructureType
	Next                     unsafe.Pointer
	DependencyFlags          DependencyFlags
	MemoryBarrierCount       uint32
	MemoryBarriers           *MemoryBarrier2
	BufferMemoryBarrierCount uint32
	BufferMemoryBarriers     *BufferMemoryBarrier2
	ImageMemoryBarrierCount  uint32
	ImageMemoryBarriers      *ImageMemoryBarrier2
}

type DependencyInfoKHR

type DependencyInfoKHR = DependencyInfo

type DescriptorBufferInfo

type DescriptorBufferInfo struct {
	Buffer Buffer
	Offset DeviceSize
	Range  DeviceSize
}

type DescriptorImageInfo

type DescriptorImageInfo struct {
	Sampler     Sampler
	ImageView   ImageView
	ImageLayout ImageLayout
}

type DescriptorPool

type DescriptorPool uint64

type DescriptorPoolCreateFlagBits

type DescriptorPoolCreateFlagBits int32

type DescriptorPoolCreateFlags

type DescriptorPoolCreateFlags uint32

type DescriptorPoolCreateInfo

type DescriptorPoolCreateInfo struct {
	SType         StructureType
	Next          unsafe.Pointer
	Flags         DescriptorPoolCreateFlags
	MaxSets       uint32
	PoolSizeCount uint32
	PoolSizes     *DescriptorPoolSize
}

type DescriptorPoolSize

type DescriptorPoolSize struct {
	Type            DescriptorType
	DescriptorCount uint32
}

type DescriptorSet

type DescriptorSet uint64

type DescriptorSetAllocateInfo

type DescriptorSetAllocateInfo struct {
	SType              StructureType
	Next               unsafe.Pointer
	DescriptorPool     DescriptorPool
	DescriptorSetCount uint32
	SetLayouts         *DescriptorSetLayout
}

type DescriptorSetLayout

type DescriptorSetLayout uint64

type DescriptorSetLayoutBinding

type DescriptorSetLayoutBinding struct {
	Binding           uint32
	DescriptorType    DescriptorType
	DescriptorCount   uint32
	StageFlags        ShaderStageFlags
	ImmutableSamplers *Sampler
}

type DescriptorSetLayoutCreateFlagBits

type DescriptorSetLayoutCreateFlagBits int32

type DescriptorSetLayoutCreateFlags

type DescriptorSetLayoutCreateFlags uint32

type DescriptorSetLayoutCreateInfo

type DescriptorSetLayoutCreateInfo struct {
	SType        StructureType
	Next         unsafe.Pointer
	Flags        DescriptorSetLayoutCreateFlags
	BindingCount uint32
	Bindings     *DescriptorSetLayoutBinding
}

type DescriptorType

type DescriptorType int32

type Device

type Device uintptr

type DeviceCreateFlags

type DeviceCreateFlags uint32

type DeviceCreateInfo

type DeviceCreateInfo struct {
	SType                   StructureType
	Next                    unsafe.Pointer
	Flags                   DeviceCreateFlags
	QueueCreateInfoCount    uint32
	QueueCreateInfos        *DeviceQueueCreateInfo
	EnabledLayerCount       uint32
	PpEnabledLayerNames     **byte
	EnabledExtensionCount   uint32
	PpEnabledExtensionNames **byte
	EnabledFeatures         *PhysicalDeviceFeatures
}

type DeviceDispatch

type DeviceDispatch struct {
	Device Device
	// contains filtered or unexported fields
}

func LoadDeviceDispatch

func LoadDeviceDispatch(instance *InstanceDispatch, device Device) (*DeviceDispatch, error)

func (*DeviceDispatch) AcquireNextImage2KHR

func (d *DeviceDispatch) AcquireNextImage2KHR(a0 Device, a1 *AcquireNextImageInfoKHR, a2 *uint32) Result

func (*DeviceDispatch) AcquireNextImageKHR

func (d *DeviceDispatch) AcquireNextImageKHR(a0 Device, a1 SwapchainKHR, a2 uint64, a3 Semaphore, a4 Fence, a5 *uint32) Result

func (*DeviceDispatch) AllocateCommandBuffers

func (d *DeviceDispatch) AllocateCommandBuffers(a0 Device, a1 *CommandBufferAllocateInfo, a2 *CommandBuffer) Result

func (*DeviceDispatch) AllocateDescriptorSets

func (d *DeviceDispatch) AllocateDescriptorSets(a0 Device, a1 *DescriptorSetAllocateInfo, a2 *DescriptorSet) Result

func (*DeviceDispatch) AllocateMemory

func (d *DeviceDispatch) AllocateMemory(a0 Device, a1 *MemoryAllocateInfo, a2 *AllocationCallbacks, a3 *DeviceMemory) Result

func (*DeviceDispatch) BeginCommandBuffer

func (d *DeviceDispatch) BeginCommandBuffer(a0 CommandBuffer, a1 *CommandBufferBeginInfo) Result

func (*DeviceDispatch) BindBufferMemory

func (d *DeviceDispatch) BindBufferMemory(a0 Device, a1 Buffer, a2 DeviceMemory, a3 DeviceSize) Result

func (*DeviceDispatch) BindBufferMemory2KHR

func (d *DeviceDispatch) BindBufferMemory2KHR(a0 Device, a1 uint32, a2 *BindBufferMemoryInfo) Result

func (*DeviceDispatch) BindImageMemory

func (d *DeviceDispatch) BindImageMemory(a0 Device, a1 Image, a2 DeviceMemory, a3 DeviceSize) Result

func (*DeviceDispatch) BindImageMemory2

func (d *DeviceDispatch) BindImageMemory2(a0 Device, a1 uint32, a2 *BindImageMemoryInfo) Result

func (*DeviceDispatch) BindImageMemory2KHR

func (d *DeviceDispatch) BindImageMemory2KHR(a0 Device, a1 uint32, a2 *BindImageMemoryInfo) Result

func (*DeviceDispatch) CmdBeginDebugUtilsLabelEXT

func (d *DeviceDispatch) CmdBeginDebugUtilsLabelEXT(a0 CommandBuffer, a1 *DebugUtilsLabelEXT)

func (*DeviceDispatch) CmdBeginRendering

func (d *DeviceDispatch) CmdBeginRendering(a0 CommandBuffer, a1 *RenderingInfo)

func (*DeviceDispatch) CmdBeginRenderingKHR

func (d *DeviceDispatch) CmdBeginRenderingKHR(a0 CommandBuffer, a1 *RenderingInfo)

func (*DeviceDispatch) CmdBindDescriptorSets

func (d *DeviceDispatch) CmdBindDescriptorSets(a0 CommandBuffer, a1 PipelineBindPoint, a2 PipelineLayout, a3 uint32, a4 uint32, a5 *DescriptorSet, a6 uint32, a7 *uint32)

func (*DeviceDispatch) CmdBindIndexBuffer

func (d *DeviceDispatch) CmdBindIndexBuffer(a0 CommandBuffer, a1 Buffer, a2 DeviceSize, a3 IndexType)

func (*DeviceDispatch) CmdBindPipeline

func (d *DeviceDispatch) CmdBindPipeline(a0 CommandBuffer, a1 PipelineBindPoint, a2 Pipeline)

func (*DeviceDispatch) CmdBindVertexBuffers

func (d *DeviceDispatch) CmdBindVertexBuffers(a0 CommandBuffer, a1 uint32, a2 uint32, a3 *Buffer, a4 *DeviceSize)

func (*DeviceDispatch) CmdBlitImage

func (d *DeviceDispatch) CmdBlitImage(a0 CommandBuffer, a1 Image, a2 ImageLayout, a3 Image, a4 ImageLayout, a5 uint32, a6 *ImageBlit, a7 Filter)

func (*DeviceDispatch) CmdClearColorImage

func (d *DeviceDispatch) CmdClearColorImage(a0 CommandBuffer, a1 Image, a2 ImageLayout, a3 *ClearColorValue, a4 uint32, a5 *ImageSubresourceRange)

func (*DeviceDispatch) CmdCopyBufferToImage

func (d *DeviceDispatch) CmdCopyBufferToImage(a0 CommandBuffer, a1 Buffer, a2 Image, a3 ImageLayout, a4 uint32, a5 *BufferImageCopy)

func (*DeviceDispatch) CmdCopyImage added in v0.8.0

func (d *DeviceDispatch) CmdCopyImage(a0 CommandBuffer, a1 Image, a2 ImageLayout, a3 Image, a4 ImageLayout, a5 uint32, a6 *ImageCopy)

func (*DeviceDispatch) CmdCopyImageToBuffer

func (d *DeviceDispatch) CmdCopyImageToBuffer(a0 CommandBuffer, a1 Image, a2 ImageLayout, a3 Buffer, a4 uint32, a5 *BufferImageCopy)

func (*DeviceDispatch) CmdDraw

func (d *DeviceDispatch) CmdDraw(a0 CommandBuffer, a1 uint32, a2 uint32, a3 uint32, a4 uint32)

func (*DeviceDispatch) CmdDrawIndexed

func (d *DeviceDispatch) CmdDrawIndexed(a0 CommandBuffer, a1 uint32, a2 uint32, a3 uint32, a4 int32, a5 uint32)

func (*DeviceDispatch) CmdEndDebugUtilsLabelEXT

func (d *DeviceDispatch) CmdEndDebugUtilsLabelEXT(a0 CommandBuffer)

func (*DeviceDispatch) CmdEndRendering

func (d *DeviceDispatch) CmdEndRendering(a0 CommandBuffer)

func (*DeviceDispatch) CmdEndRenderingKHR

func (d *DeviceDispatch) CmdEndRenderingKHR(a0 CommandBuffer)

func (*DeviceDispatch) CmdInsertDebugUtilsLabelEXT

func (d *DeviceDispatch) CmdInsertDebugUtilsLabelEXT(a0 CommandBuffer, a1 *DebugUtilsLabelEXT)

func (*DeviceDispatch) CmdPipelineBarrier

func (*DeviceDispatch) CmdPipelineBarrier2

func (d *DeviceDispatch) CmdPipelineBarrier2(a0 CommandBuffer, a1 *DependencyInfo)

func (*DeviceDispatch) CmdPipelineBarrier2KHR

func (d *DeviceDispatch) CmdPipelineBarrier2KHR(a0 CommandBuffer, a1 *DependencyInfo)

func (*DeviceDispatch) CmdPushConstants

func (d *DeviceDispatch) CmdPushConstants(a0 CommandBuffer, a1 PipelineLayout, a2 ShaderStageFlags, a3 uint32, a4 uint32, a5 unsafe.Pointer)

func (*DeviceDispatch) CmdResetEvent2KHR

func (d *DeviceDispatch) CmdResetEvent2KHR(a0 CommandBuffer, a1 Event, a2 PipelineStageFlags2)

func (*DeviceDispatch) CmdSetEvent2KHR

func (d *DeviceDispatch) CmdSetEvent2KHR(a0 CommandBuffer, a1 Event, a2 *DependencyInfo)

func (*DeviceDispatch) CmdWaitEvents2KHR

func (d *DeviceDispatch) CmdWaitEvents2KHR(a0 CommandBuffer, a1 uint32, a2 *Event, a3 *DependencyInfo)

func (*DeviceDispatch) CmdWriteTimestamp2KHR

func (d *DeviceDispatch) CmdWriteTimestamp2KHR(a0 CommandBuffer, a1 PipelineStageFlags2, a2 QueryPool, a3 uint32)

func (*DeviceDispatch) CreateBuffer

func (d *DeviceDispatch) CreateBuffer(a0 Device, a1 *BufferCreateInfo, a2 *AllocationCallbacks, a3 *Buffer) Result

func (*DeviceDispatch) CreateCommandPool

func (d *DeviceDispatch) CreateCommandPool(a0 Device, a1 *CommandPoolCreateInfo, a2 *AllocationCallbacks, a3 *CommandPool) Result

func (*DeviceDispatch) CreateDescriptorPool

func (d *DeviceDispatch) CreateDescriptorPool(a0 Device, a1 *DescriptorPoolCreateInfo, a2 *AllocationCallbacks, a3 *DescriptorPool) Result

func (*DeviceDispatch) CreateDescriptorSetLayout

func (d *DeviceDispatch) CreateDescriptorSetLayout(a0 Device, a1 *DescriptorSetLayoutCreateInfo, a2 *AllocationCallbacks, a3 *DescriptorSetLayout) Result

func (*DeviceDispatch) CreateFence

func (d *DeviceDispatch) CreateFence(a0 Device, a1 *FenceCreateInfo, a2 *AllocationCallbacks, a3 *Fence) Result

func (*DeviceDispatch) CreateGraphicsPipelines

func (d *DeviceDispatch) CreateGraphicsPipelines(a0 Device, a1 PipelineCache, a2 uint32, a3 *GraphicsPipelineCreateInfo, a4 *AllocationCallbacks, a5 *Pipeline) Result

func (*DeviceDispatch) CreateImage

func (d *DeviceDispatch) CreateImage(a0 Device, a1 *ImageCreateInfo, a2 *AllocationCallbacks, a3 *Image) Result

func (*DeviceDispatch) CreateImageView

func (d *DeviceDispatch) CreateImageView(a0 Device, a1 *ImageViewCreateInfo, a2 *AllocationCallbacks, a3 *ImageView) Result

func (*DeviceDispatch) CreatePipelineLayout

func (d *DeviceDispatch) CreatePipelineLayout(a0 Device, a1 *PipelineLayoutCreateInfo, a2 *AllocationCallbacks, a3 *PipelineLayout) Result

func (*DeviceDispatch) CreateSampler

func (d *DeviceDispatch) CreateSampler(a0 Device, a1 *SamplerCreateInfo, a2 *AllocationCallbacks, a3 *Sampler) Result

func (*DeviceDispatch) CreateSemaphore

func (d *DeviceDispatch) CreateSemaphore(a0 Device, a1 *SemaphoreCreateInfo, a2 *AllocationCallbacks, a3 *Semaphore) Result

func (*DeviceDispatch) CreateShaderModule

func (d *DeviceDispatch) CreateShaderModule(a0 Device, a1 *ShaderModuleCreateInfo, a2 *AllocationCallbacks, a3 *ShaderModule) Result

func (*DeviceDispatch) CreateSwapchainKHR

func (d *DeviceDispatch) CreateSwapchainKHR(a0 Device, a1 *SwapchainCreateInfoKHR, a2 *AllocationCallbacks, a3 *SwapchainKHR) Result

func (*DeviceDispatch) DestroyBuffer

func (d *DeviceDispatch) DestroyBuffer(a0 Device, a1 Buffer, a2 *AllocationCallbacks)

func (*DeviceDispatch) DestroyCommandPool

func (d *DeviceDispatch) DestroyCommandPool(a0 Device, a1 CommandPool, a2 *AllocationCallbacks)

func (*DeviceDispatch) DestroyDescriptorPool

func (d *DeviceDispatch) DestroyDescriptorPool(a0 Device, a1 DescriptorPool, a2 *AllocationCallbacks)

func (*DeviceDispatch) DestroyDescriptorSetLayout

func (d *DeviceDispatch) DestroyDescriptorSetLayout(a0 Device, a1 DescriptorSetLayout, a2 *AllocationCallbacks)

func (*DeviceDispatch) DestroyDevice

func (d *DeviceDispatch) DestroyDevice(a0 Device, a1 *AllocationCallbacks)

func (*DeviceDispatch) DestroyFence

func (d *DeviceDispatch) DestroyFence(a0 Device, a1 Fence, a2 *AllocationCallbacks)

func (*DeviceDispatch) DestroyImage

func (d *DeviceDispatch) DestroyImage(a0 Device, a1 Image, a2 *AllocationCallbacks)

func (*DeviceDispatch) DestroyImageView

func (d *DeviceDispatch) DestroyImageView(a0 Device, a1 ImageView, a2 *AllocationCallbacks)

func (*DeviceDispatch) DestroyPipeline

func (d *DeviceDispatch) DestroyPipeline(a0 Device, a1 Pipeline, a2 *AllocationCallbacks)

func (*DeviceDispatch) DestroyPipelineLayout

func (d *DeviceDispatch) DestroyPipelineLayout(a0 Device, a1 PipelineLayout, a2 *AllocationCallbacks)

func (*DeviceDispatch) DestroySampler

func (d *DeviceDispatch) DestroySampler(a0 Device, a1 Sampler, a2 *AllocationCallbacks)

func (*DeviceDispatch) DestroySemaphore

func (d *DeviceDispatch) DestroySemaphore(a0 Device, a1 Semaphore, a2 *AllocationCallbacks)

func (*DeviceDispatch) DestroyShaderModule

func (d *DeviceDispatch) DestroyShaderModule(a0 Device, a1 ShaderModule, a2 *AllocationCallbacks)

func (*DeviceDispatch) DestroySwapchainKHR

func (d *DeviceDispatch) DestroySwapchainKHR(a0 Device, a1 SwapchainKHR, a2 *AllocationCallbacks)

func (*DeviceDispatch) DeviceWaitIdle

func (d *DeviceDispatch) DeviceWaitIdle(a0 Device) Result

func (*DeviceDispatch) EndCommandBuffer

func (d *DeviceDispatch) EndCommandBuffer(a0 CommandBuffer) Result

func (*DeviceDispatch) FlushMappedMemoryRanges

func (d *DeviceDispatch) FlushMappedMemoryRanges(a0 Device, a1 uint32, a2 *MappedMemoryRange) Result

func (*DeviceDispatch) FreeCommandBuffers

func (d *DeviceDispatch) FreeCommandBuffers(a0 Device, a1 CommandPool, a2 uint32, a3 *CommandBuffer)

func (*DeviceDispatch) FreeMemory

func (d *DeviceDispatch) FreeMemory(a0 Device, a1 DeviceMemory, a2 *AllocationCallbacks)

func (*DeviceDispatch) GetBufferMemoryRequirements

func (d *DeviceDispatch) GetBufferMemoryRequirements(a0 Device, a1 Buffer, a2 *MemoryRequirements)

func (*DeviceDispatch) GetBufferMemoryRequirements2KHR

func (d *DeviceDispatch) GetBufferMemoryRequirements2KHR(a0 Device, a1 *BufferMemoryRequirementsInfo2, a2 *MemoryRequirements2)

func (*DeviceDispatch) GetDeviceGroupPresentCapabilitiesKHR

func (d *DeviceDispatch) GetDeviceGroupPresentCapabilitiesKHR(a0 Device, a1 *DeviceGroupPresentCapabilitiesKHR) Result

func (*DeviceDispatch) GetDeviceGroupSurfacePresentModesKHR

func (d *DeviceDispatch) GetDeviceGroupSurfacePresentModesKHR(a0 Device, a1 SurfaceKHR, a2 *DeviceGroupPresentModeFlagsKHR) Result

func (*DeviceDispatch) GetDeviceQueue

func (d *DeviceDispatch) GetDeviceQueue(a0 Device, a1 uint32, a2 uint32, a3 *Queue)

func (*DeviceDispatch) GetImageDrmFormatModifierPropertiesEXT

func (d *DeviceDispatch) GetImageDrmFormatModifierPropertiesEXT(a0 Device, a1 Image, a2 *ImageDrmFormatModifierPropertiesEXT) Result

func (*DeviceDispatch) GetImageMemoryRequirements

func (d *DeviceDispatch) GetImageMemoryRequirements(a0 Device, a1 Image, a2 *MemoryRequirements)

func (*DeviceDispatch) GetImageMemoryRequirements2

func (d *DeviceDispatch) GetImageMemoryRequirements2(a0 Device, a1 *ImageMemoryRequirementsInfo2, a2 *MemoryRequirements2)

func (*DeviceDispatch) GetImageMemoryRequirements2KHR

func (d *DeviceDispatch) GetImageMemoryRequirements2KHR(a0 Device, a1 *ImageMemoryRequirementsInfo2, a2 *MemoryRequirements2)

func (*DeviceDispatch) GetImageSparseMemoryRequirements2KHR

func (d *DeviceDispatch) GetImageSparseMemoryRequirements2KHR(a0 Device, a1 *ImageSparseMemoryRequirementsInfo2, a2 *uint32, a3 *SparseImageMemoryRequirements2)

func (*DeviceDispatch) GetImageSubresourceLayout

func (d *DeviceDispatch) GetImageSubresourceLayout(a0 Device, a1 Image, a2 *ImageSubresource, a3 *SubresourceLayout)

func (*DeviceDispatch) GetMemoryFdKHR

func (d *DeviceDispatch) GetMemoryFdKHR(a0 Device, a1 *MemoryGetFdInfoKHR, a2 *int32) Result

func (*DeviceDispatch) GetMemoryFdPropertiesKHR

func (d *DeviceDispatch) GetMemoryFdPropertiesKHR(a0 Device, a1 ExternalMemoryHandleTypeFlagBits, a2 int32, a3 *MemoryFdPropertiesKHR) Result

func (*DeviceDispatch) GetSemaphoreCounterValue

func (d *DeviceDispatch) GetSemaphoreCounterValue(a0 Device, a1 Semaphore, a2 *uint64) Result

func (*DeviceDispatch) GetSemaphoreCounterValueKHR

func (d *DeviceDispatch) GetSemaphoreCounterValueKHR(a0 Device, a1 Semaphore, a2 *uint64) Result

func (*DeviceDispatch) GetSemaphoreFdKHR

func (d *DeviceDispatch) GetSemaphoreFdKHR(a0 Device, a1 *SemaphoreGetFdInfoKHR, a2 *int32) Result

func (*DeviceDispatch) GetSwapchainImagesKHR

func (d *DeviceDispatch) GetSwapchainImagesKHR(a0 Device, a1 SwapchainKHR, a2 *uint32, a3 *Image) Result

func (*DeviceDispatch) HasAcquireNextImage2KHR

func (d *DeviceDispatch) HasAcquireNextImage2KHR() bool

func (*DeviceDispatch) HasAcquireNextImageKHR

func (d *DeviceDispatch) HasAcquireNextImageKHR() bool

func (*DeviceDispatch) HasAllocateCommandBuffers

func (d *DeviceDispatch) HasAllocateCommandBuffers() bool

func (*DeviceDispatch) HasAllocateDescriptorSets

func (d *DeviceDispatch) HasAllocateDescriptorSets() bool

func (*DeviceDispatch) HasAllocateMemory

func (d *DeviceDispatch) HasAllocateMemory() bool

func (*DeviceDispatch) HasBeginCommandBuffer

func (d *DeviceDispatch) HasBeginCommandBuffer() bool

func (*DeviceDispatch) HasBindBufferMemory

func (d *DeviceDispatch) HasBindBufferMemory() bool

func (*DeviceDispatch) HasBindBufferMemory2KHR

func (d *DeviceDispatch) HasBindBufferMemory2KHR() bool

func (*DeviceDispatch) HasBindImageMemory

func (d *DeviceDispatch) HasBindImageMemory() bool

func (*DeviceDispatch) HasBindImageMemory2

func (d *DeviceDispatch) HasBindImageMemory2() bool

func (*DeviceDispatch) HasBindImageMemory2KHR

func (d *DeviceDispatch) HasBindImageMemory2KHR() bool

func (*DeviceDispatch) HasCmdBeginDebugUtilsLabelEXT

func (d *DeviceDispatch) HasCmdBeginDebugUtilsLabelEXT() bool

func (*DeviceDispatch) HasCmdBeginRendering

func (d *DeviceDispatch) HasCmdBeginRendering() bool

func (*DeviceDispatch) HasCmdBeginRenderingKHR

func (d *DeviceDispatch) HasCmdBeginRenderingKHR() bool

func (*DeviceDispatch) HasCmdBindDescriptorSets

func (d *DeviceDispatch) HasCmdBindDescriptorSets() bool

func (*DeviceDispatch) HasCmdBindIndexBuffer

func (d *DeviceDispatch) HasCmdBindIndexBuffer() bool

func (*DeviceDispatch) HasCmdBindPipeline

func (d *DeviceDispatch) HasCmdBindPipeline() bool

func (*DeviceDispatch) HasCmdBindVertexBuffers

func (d *DeviceDispatch) HasCmdBindVertexBuffers() bool

func (*DeviceDispatch) HasCmdBlitImage

func (d *DeviceDispatch) HasCmdBlitImage() bool

func (*DeviceDispatch) HasCmdClearColorImage

func (d *DeviceDispatch) HasCmdClearColorImage() bool

func (*DeviceDispatch) HasCmdCopyBufferToImage

func (d *DeviceDispatch) HasCmdCopyBufferToImage() bool

func (*DeviceDispatch) HasCmdCopyImage added in v0.8.0

func (d *DeviceDispatch) HasCmdCopyImage() bool

func (*DeviceDispatch) HasCmdCopyImageToBuffer

func (d *DeviceDispatch) HasCmdCopyImageToBuffer() bool

func (*DeviceDispatch) HasCmdDraw

func (d *DeviceDispatch) HasCmdDraw() bool

func (*DeviceDispatch) HasCmdDrawIndexed

func (d *DeviceDispatch) HasCmdDrawIndexed() bool

func (*DeviceDispatch) HasCmdEndDebugUtilsLabelEXT

func (d *DeviceDispatch) HasCmdEndDebugUtilsLabelEXT() bool

func (*DeviceDispatch) HasCmdEndRendering

func (d *DeviceDispatch) HasCmdEndRendering() bool

func (*DeviceDispatch) HasCmdEndRenderingKHR

func (d *DeviceDispatch) HasCmdEndRenderingKHR() bool

func (*DeviceDispatch) HasCmdInsertDebugUtilsLabelEXT

func (d *DeviceDispatch) HasCmdInsertDebugUtilsLabelEXT() bool

func (*DeviceDispatch) HasCmdPipelineBarrier

func (d *DeviceDispatch) HasCmdPipelineBarrier() bool

func (*DeviceDispatch) HasCmdPipelineBarrier2

func (d *DeviceDispatch) HasCmdPipelineBarrier2() bool

func (*DeviceDispatch) HasCmdPipelineBarrier2KHR

func (d *DeviceDispatch) HasCmdPipelineBarrier2KHR() bool

func (*DeviceDispatch) HasCmdPushConstants

func (d *DeviceDispatch) HasCmdPushConstants() bool

func (*DeviceDispatch) HasCmdResetEvent2KHR

func (d *DeviceDispatch) HasCmdResetEvent2KHR() bool

func (*DeviceDispatch) HasCmdSetEvent2KHR

func (d *DeviceDispatch) HasCmdSetEvent2KHR() bool

func (*DeviceDispatch) HasCmdWaitEvents2KHR

func (d *DeviceDispatch) HasCmdWaitEvents2KHR() bool

func (*DeviceDispatch) HasCmdWriteTimestamp2KHR

func (d *DeviceDispatch) HasCmdWriteTimestamp2KHR() bool

func (*DeviceDispatch) HasCreateBuffer

func (d *DeviceDispatch) HasCreateBuffer() bool

func (*DeviceDispatch) HasCreateCommandPool

func (d *DeviceDispatch) HasCreateCommandPool() bool

func (*DeviceDispatch) HasCreateDescriptorPool

func (d *DeviceDispatch) HasCreateDescriptorPool() bool

func (*DeviceDispatch) HasCreateDescriptorSetLayout

func (d *DeviceDispatch) HasCreateDescriptorSetLayout() bool

func (*DeviceDispatch) HasCreateFence

func (d *DeviceDispatch) HasCreateFence() bool

func (*DeviceDispatch) HasCreateGraphicsPipelines

func (d *DeviceDispatch) HasCreateGraphicsPipelines() bool

func (*DeviceDispatch) HasCreateImage

func (d *DeviceDispatch) HasCreateImage() bool

func (*DeviceDispatch) HasCreateImageView

func (d *DeviceDispatch) HasCreateImageView() bool

func (*DeviceDispatch) HasCreatePipelineLayout

func (d *DeviceDispatch) HasCreatePipelineLayout() bool

func (*DeviceDispatch) HasCreateSampler

func (d *DeviceDispatch) HasCreateSampler() bool

func (*DeviceDispatch) HasCreateSemaphore

func (d *DeviceDispatch) HasCreateSemaphore() bool

func (*DeviceDispatch) HasCreateShaderModule

func (d *DeviceDispatch) HasCreateShaderModule() bool

func (*DeviceDispatch) HasCreateSwapchainKHR

func (d *DeviceDispatch) HasCreateSwapchainKHR() bool

func (*DeviceDispatch) HasDestroyBuffer

func (d *DeviceDispatch) HasDestroyBuffer() bool

func (*DeviceDispatch) HasDestroyCommandPool

func (d *DeviceDispatch) HasDestroyCommandPool() bool

func (*DeviceDispatch) HasDestroyDescriptorPool

func (d *DeviceDispatch) HasDestroyDescriptorPool() bool

func (*DeviceDispatch) HasDestroyDescriptorSetLayout

func (d *DeviceDispatch) HasDestroyDescriptorSetLayout() bool

func (*DeviceDispatch) HasDestroyDevice

func (d *DeviceDispatch) HasDestroyDevice() bool

func (*DeviceDispatch) HasDestroyFence

func (d *DeviceDispatch) HasDestroyFence() bool

func (*DeviceDispatch) HasDestroyImage

func (d *DeviceDispatch) HasDestroyImage() bool

func (*DeviceDispatch) HasDestroyImageView

func (d *DeviceDispatch) HasDestroyImageView() bool

func (*DeviceDispatch) HasDestroyPipeline

func (d *DeviceDispatch) HasDestroyPipeline() bool

func (*DeviceDispatch) HasDestroyPipelineLayout

func (d *DeviceDispatch) HasDestroyPipelineLayout() bool

func (*DeviceDispatch) HasDestroySampler

func (d *DeviceDispatch) HasDestroySampler() bool

func (*DeviceDispatch) HasDestroySemaphore

func (d *DeviceDispatch) HasDestroySemaphore() bool

func (*DeviceDispatch) HasDestroyShaderModule

func (d *DeviceDispatch) HasDestroyShaderModule() bool

func (*DeviceDispatch) HasDestroySwapchainKHR

func (d *DeviceDispatch) HasDestroySwapchainKHR() bool

func (*DeviceDispatch) HasDeviceWaitIdle

func (d *DeviceDispatch) HasDeviceWaitIdle() bool

func (*DeviceDispatch) HasEndCommandBuffer

func (d *DeviceDispatch) HasEndCommandBuffer() bool

func (*DeviceDispatch) HasFlushMappedMemoryRanges

func (d *DeviceDispatch) HasFlushMappedMemoryRanges() bool

func (*DeviceDispatch) HasFreeCommandBuffers

func (d *DeviceDispatch) HasFreeCommandBuffers() bool

func (*DeviceDispatch) HasFreeMemory

func (d *DeviceDispatch) HasFreeMemory() bool

func (*DeviceDispatch) HasGetBufferMemoryRequirements

func (d *DeviceDispatch) HasGetBufferMemoryRequirements() bool

func (*DeviceDispatch) HasGetBufferMemoryRequirements2KHR

func (d *DeviceDispatch) HasGetBufferMemoryRequirements2KHR() bool

func (*DeviceDispatch) HasGetDeviceGroupPresentCapabilitiesKHR

func (d *DeviceDispatch) HasGetDeviceGroupPresentCapabilitiesKHR() bool

func (*DeviceDispatch) HasGetDeviceGroupSurfacePresentModesKHR

func (d *DeviceDispatch) HasGetDeviceGroupSurfacePresentModesKHR() bool

func (*DeviceDispatch) HasGetDeviceQueue

func (d *DeviceDispatch) HasGetDeviceQueue() bool

func (*DeviceDispatch) HasGetImageDrmFormatModifierPropertiesEXT

func (d *DeviceDispatch) HasGetImageDrmFormatModifierPropertiesEXT() bool

func (*DeviceDispatch) HasGetImageMemoryRequirements

func (d *DeviceDispatch) HasGetImageMemoryRequirements() bool

func (*DeviceDispatch) HasGetImageMemoryRequirements2

func (d *DeviceDispatch) HasGetImageMemoryRequirements2() bool

func (*DeviceDispatch) HasGetImageMemoryRequirements2KHR

func (d *DeviceDispatch) HasGetImageMemoryRequirements2KHR() bool

func (*DeviceDispatch) HasGetImageSparseMemoryRequirements2KHR

func (d *DeviceDispatch) HasGetImageSparseMemoryRequirements2KHR() bool

func (*DeviceDispatch) HasGetImageSubresourceLayout

func (d *DeviceDispatch) HasGetImageSubresourceLayout() bool

func (*DeviceDispatch) HasGetMemoryFdKHR

func (d *DeviceDispatch) HasGetMemoryFdKHR() bool

func (*DeviceDispatch) HasGetMemoryFdPropertiesKHR

func (d *DeviceDispatch) HasGetMemoryFdPropertiesKHR() bool

func (*DeviceDispatch) HasGetSemaphoreCounterValue

func (d *DeviceDispatch) HasGetSemaphoreCounterValue() bool

func (*DeviceDispatch) HasGetSemaphoreCounterValueKHR

func (d *DeviceDispatch) HasGetSemaphoreCounterValueKHR() bool

func (*DeviceDispatch) HasGetSemaphoreFdKHR

func (d *DeviceDispatch) HasGetSemaphoreFdKHR() bool

func (*DeviceDispatch) HasGetSwapchainImagesKHR

func (d *DeviceDispatch) HasGetSwapchainImagesKHR() bool

func (*DeviceDispatch) HasImportSemaphoreFdKHR

func (d *DeviceDispatch) HasImportSemaphoreFdKHR() bool

func (*DeviceDispatch) HasInvalidateMappedMemoryRanges

func (d *DeviceDispatch) HasInvalidateMappedMemoryRanges() bool

func (*DeviceDispatch) HasMapMemory

func (d *DeviceDispatch) HasMapMemory() bool

func (*DeviceDispatch) HasQueueBeginDebugUtilsLabelEXT

func (d *DeviceDispatch) HasQueueBeginDebugUtilsLabelEXT() bool

func (*DeviceDispatch) HasQueueEndDebugUtilsLabelEXT

func (d *DeviceDispatch) HasQueueEndDebugUtilsLabelEXT() bool

func (*DeviceDispatch) HasQueueInsertDebugUtilsLabelEXT

func (d *DeviceDispatch) HasQueueInsertDebugUtilsLabelEXT() bool

func (*DeviceDispatch) HasQueuePresentKHR

func (d *DeviceDispatch) HasQueuePresentKHR() bool

func (*DeviceDispatch) HasQueueSubmit

func (d *DeviceDispatch) HasQueueSubmit() bool

func (*DeviceDispatch) HasQueueSubmit2

func (d *DeviceDispatch) HasQueueSubmit2() bool

func (*DeviceDispatch) HasQueueSubmit2KHR

func (d *DeviceDispatch) HasQueueSubmit2KHR() bool

func (*DeviceDispatch) HasQueueWaitIdle

func (d *DeviceDispatch) HasQueueWaitIdle() bool

func (*DeviceDispatch) HasResetCommandBuffer

func (d *DeviceDispatch) HasResetCommandBuffer() bool

func (*DeviceDispatch) HasResetFences

func (d *DeviceDispatch) HasResetFences() bool

func (*DeviceDispatch) HasSetDebugUtilsObjectNameEXT

func (d *DeviceDispatch) HasSetDebugUtilsObjectNameEXT() bool

func (*DeviceDispatch) HasSetDebugUtilsObjectTagEXT

func (d *DeviceDispatch) HasSetDebugUtilsObjectTagEXT() bool

func (*DeviceDispatch) HasSignalSemaphore

func (d *DeviceDispatch) HasSignalSemaphore() bool

func (*DeviceDispatch) HasSignalSemaphoreKHR

func (d *DeviceDispatch) HasSignalSemaphoreKHR() bool

func (*DeviceDispatch) HasUnmapMemory

func (d *DeviceDispatch) HasUnmapMemory() bool

func (*DeviceDispatch) HasUpdateDescriptorSets

func (d *DeviceDispatch) HasUpdateDescriptorSets() bool

func (*DeviceDispatch) HasWaitForFences

func (d *DeviceDispatch) HasWaitForFences() bool

func (*DeviceDispatch) HasWaitSemaphores

func (d *DeviceDispatch) HasWaitSemaphores() bool

func (*DeviceDispatch) HasWaitSemaphoresKHR

func (d *DeviceDispatch) HasWaitSemaphoresKHR() bool

func (*DeviceDispatch) ImportSemaphoreFdKHR

func (d *DeviceDispatch) ImportSemaphoreFdKHR(a0 Device, a1 *ImportSemaphoreFdInfoKHR) Result

func (*DeviceDispatch) InvalidateMappedMemoryRanges

func (d *DeviceDispatch) InvalidateMappedMemoryRanges(a0 Device, a1 uint32, a2 *MappedMemoryRange) Result

func (*DeviceDispatch) MapMemory

func (*DeviceDispatch) QueueBeginDebugUtilsLabelEXT

func (d *DeviceDispatch) QueueBeginDebugUtilsLabelEXT(a0 Queue, a1 *DebugUtilsLabelEXT)

func (*DeviceDispatch) QueueEndDebugUtilsLabelEXT

func (d *DeviceDispatch) QueueEndDebugUtilsLabelEXT(a0 Queue)

func (*DeviceDispatch) QueueInsertDebugUtilsLabelEXT

func (d *DeviceDispatch) QueueInsertDebugUtilsLabelEXT(a0 Queue, a1 *DebugUtilsLabelEXT)

func (*DeviceDispatch) QueuePresentKHR

func (d *DeviceDispatch) QueuePresentKHR(a0 Queue, a1 *PresentInfoKHR) Result

func (*DeviceDispatch) QueueSubmit

func (d *DeviceDispatch) QueueSubmit(a0 Queue, a1 uint32, a2 *SubmitInfo, a3 Fence) Result

func (*DeviceDispatch) QueueSubmit2

func (d *DeviceDispatch) QueueSubmit2(a0 Queue, a1 uint32, a2 *SubmitInfo2, a3 Fence) Result

func (*DeviceDispatch) QueueSubmit2KHR

func (d *DeviceDispatch) QueueSubmit2KHR(a0 Queue, a1 uint32, a2 *SubmitInfo2, a3 Fence) Result

func (*DeviceDispatch) QueueWaitIdle

func (d *DeviceDispatch) QueueWaitIdle(a0 Queue) Result

func (*DeviceDispatch) ResetCommandBuffer

func (d *DeviceDispatch) ResetCommandBuffer(a0 CommandBuffer, a1 CommandBufferResetFlags) Result

func (*DeviceDispatch) ResetFences

func (d *DeviceDispatch) ResetFences(a0 Device, a1 uint32, a2 *Fence) Result

func (*DeviceDispatch) SetDebugUtilsObjectNameEXT

func (d *DeviceDispatch) SetDebugUtilsObjectNameEXT(a0 Device, a1 *DebugUtilsObjectNameInfoEXT) Result

func (*DeviceDispatch) SetDebugUtilsObjectTagEXT

func (d *DeviceDispatch) SetDebugUtilsObjectTagEXT(a0 Device, a1 *DebugUtilsObjectTagInfoEXT) Result

func (*DeviceDispatch) SignalSemaphore

func (d *DeviceDispatch) SignalSemaphore(a0 Device, a1 *SemaphoreSignalInfo) Result

func (*DeviceDispatch) SignalSemaphoreKHR

func (d *DeviceDispatch) SignalSemaphoreKHR(a0 Device, a1 *SemaphoreSignalInfo) Result

func (*DeviceDispatch) UnmapMemory

func (d *DeviceDispatch) UnmapMemory(a0 Device, a1 DeviceMemory)

func (*DeviceDispatch) UpdateDescriptorSets

func (d *DeviceDispatch) UpdateDescriptorSets(a0 Device, a1 uint32, a2 *WriteDescriptorSet, a3 uint32, a4 *CopyDescriptorSet)

func (*DeviceDispatch) WaitForFences

func (d *DeviceDispatch) WaitForFences(a0 Device, a1 uint32, a2 *Fence, a3 Bool32, a4 uint64) Result

func (*DeviceDispatch) WaitSemaphores

func (d *DeviceDispatch) WaitSemaphores(a0 Device, a1 *SemaphoreWaitInfo, a2 uint64) Result

func (*DeviceDispatch) WaitSemaphoresKHR

func (d *DeviceDispatch) WaitSemaphoresKHR(a0 Device, a1 *SemaphoreWaitInfo, a2 uint64) Result

type DeviceGroupPresentCapabilitiesKHR

type DeviceGroupPresentCapabilitiesKHR struct {
	SType       StructureType
	Next        unsafe.Pointer
	PresentMask [MaxDeviceGroupSize]uint32
	Modes       DeviceGroupPresentModeFlagsKHR
}

type DeviceGroupPresentInfoKHR

type DeviceGroupPresentInfoKHR struct {
	SType          StructureType
	Next           unsafe.Pointer
	SwapchainCount uint32
	DeviceMasks    *uint32
	Mode           DeviceGroupPresentModeFlagBitsKHR
}

type DeviceGroupPresentModeFlagBitsKHR

type DeviceGroupPresentModeFlagBitsKHR int32

type DeviceGroupPresentModeFlagsKHR

type DeviceGroupPresentModeFlagsKHR uint32

type DeviceGroupSwapchainCreateInfoKHR

type DeviceGroupSwapchainCreateInfoKHR struct {
	SType StructureType
	Next  unsafe.Pointer
	Modes DeviceGroupPresentModeFlagsKHR
}

type DeviceMemory

type DeviceMemory uint64

type DeviceQueueCreateFlagBits

type DeviceQueueCreateFlagBits int32

type DeviceQueueCreateFlags

type DeviceQueueCreateFlags uint32

type DeviceQueueCreateInfo

type DeviceQueueCreateInfo struct {
	SType            StructureType
	Next             unsafe.Pointer
	Flags            DeviceQueueCreateFlags
	QueueFamilyIndex uint32
	QueueCount       uint32
	QueuePriorities  *float32
}

type DeviceQueueGlobalPriorityCreateInfo

type DeviceQueueGlobalPriorityCreateInfo struct {
	SType          StructureType
	Next           unsafe.Pointer
	GlobalPriority QueueGlobalPriority
}

type DeviceQueueGlobalPriorityCreateInfoEXT

type DeviceQueueGlobalPriorityCreateInfoEXT = DeviceQueueGlobalPriorityCreateInfo

type DeviceQueueGlobalPriorityCreateInfoKHR

type DeviceQueueGlobalPriorityCreateInfoKHR = DeviceQueueGlobalPriorityCreateInfo

type DeviceSize

type DeviceSize uint64

type DrmFormatModifierProperties2EXT

type DrmFormatModifierProperties2EXT struct {
	DrmFormatModifier               uint64
	DrmFormatModifierPlaneCount     uint32
	DrmFormatModifierTilingFeatures FormatFeatureFlags2
}

type DrmFormatModifierPropertiesEXT

type DrmFormatModifierPropertiesEXT struct {
	DrmFormatModifier               uint64
	DrmFormatModifierPlaneCount     uint32
	DrmFormatModifierTilingFeatures FormatFeatureFlags
}

type DrmFormatModifierPropertiesList2EXT

type DrmFormatModifierPropertiesList2EXT struct {
	SType                       StructureType
	Next                        unsafe.Pointer
	DrmFormatModifierCount      uint32
	DrmFormatModifierProperties *DrmFormatModifierProperties2EXT
}

type DrmFormatModifierPropertiesListEXT

type DrmFormatModifierPropertiesListEXT struct {
	SType                       StructureType
	Next                        unsafe.Pointer
	DrmFormatModifierCount      uint32
	DrmFormatModifierProperties *DrmFormatModifierPropertiesEXT
}

type DynamicState

type DynamicState int32

type Error

type Error struct {
	Result Result
}

func (Error) Error

func (e Error) Error() string

type Event

type Event uint64

type ExportMemoryAllocateInfo

type ExportMemoryAllocateInfo struct {
	SType       StructureType
	Next        unsafe.Pointer
	HandleTypes ExternalMemoryHandleTypeFlags
}

type ExportMemoryAllocateInfoKHR

type ExportMemoryAllocateInfoKHR = ExportMemoryAllocateInfo

type ExportSemaphoreCreateInfo

type ExportSemaphoreCreateInfo struct {
	SType       StructureType
	Next        unsafe.Pointer
	HandleTypes ExternalSemaphoreHandleTypeFlags
}

type ExportSemaphoreCreateInfoKHR

type ExportSemaphoreCreateInfoKHR = ExportSemaphoreCreateInfo

type ExtensionProperties

type ExtensionProperties struct {
	ExtensionName [MaxExtensionNameSize]byte
	SpecVersion   uint32
}

type Extent2D

type Extent2D struct {
	Width  uint32
	Height uint32
}

type Extent3D

type Extent3D struct {
	Width  uint32
	Height uint32
	Depth  uint32
}

type ExternalBufferProperties

type ExternalBufferProperties struct {
	SType                    StructureType
	Next                     unsafe.Pointer
	ExternalMemoryProperties ExternalMemoryProperties
}

type ExternalBufferPropertiesKHR

type ExternalBufferPropertiesKHR = ExternalBufferProperties

type ExternalImageFormatProperties

type ExternalImageFormatProperties struct {
	SType                    StructureType
	Next                     unsafe.Pointer
	ExternalMemoryProperties ExternalMemoryProperties
}

type ExternalImageFormatPropertiesKHR

type ExternalImageFormatPropertiesKHR = ExternalImageFormatProperties

type ExternalMemoryBufferCreateInfo

type ExternalMemoryBufferCreateInfo struct {
	SType       StructureType
	Next        unsafe.Pointer
	HandleTypes ExternalMemoryHandleTypeFlags
}

type ExternalMemoryBufferCreateInfoKHR

type ExternalMemoryBufferCreateInfoKHR = ExternalMemoryBufferCreateInfo

type ExternalMemoryFeatureFlagBits

type ExternalMemoryFeatureFlagBits int32

type ExternalMemoryFeatureFlagBitsKHR

type ExternalMemoryFeatureFlagBitsKHR = ExternalMemoryFeatureFlagBits

type ExternalMemoryFeatureFlags

type ExternalMemoryFeatureFlags uint32

type ExternalMemoryFeatureFlagsKHR

type ExternalMemoryFeatureFlagsKHR = ExternalMemoryFeatureFlags

type ExternalMemoryHandleTypeFlagBits

type ExternalMemoryHandleTypeFlagBits int32

type ExternalMemoryHandleTypeFlagBitsKHR

type ExternalMemoryHandleTypeFlagBitsKHR = ExternalMemoryHandleTypeFlagBits

type ExternalMemoryHandleTypeFlags

type ExternalMemoryHandleTypeFlags uint32

type ExternalMemoryHandleTypeFlagsKHR

type ExternalMemoryHandleTypeFlagsKHR = ExternalMemoryHandleTypeFlags

type ExternalMemoryImageCreateInfo

type ExternalMemoryImageCreateInfo struct {
	SType       StructureType
	Next        unsafe.Pointer
	HandleTypes ExternalMemoryHandleTypeFlags
}

type ExternalMemoryImageCreateInfoKHR

type ExternalMemoryImageCreateInfoKHR = ExternalMemoryImageCreateInfo

type ExternalMemoryProperties

type ExternalMemoryProperties struct {
	ExternalMemoryFeatures        ExternalMemoryFeatureFlags
	ExportFromImportedHandleTypes ExternalMemoryHandleTypeFlags
	CompatibleHandleTypes         ExternalMemoryHandleTypeFlags
}

type ExternalMemoryPropertiesKHR

type ExternalMemoryPropertiesKHR = ExternalMemoryProperties

type ExternalSemaphoreFeatureFlagBits

type ExternalSemaphoreFeatureFlagBits int32

type ExternalSemaphoreFeatureFlagBitsKHR

type ExternalSemaphoreFeatureFlagBitsKHR = ExternalSemaphoreFeatureFlagBits

type ExternalSemaphoreFeatureFlags

type ExternalSemaphoreFeatureFlags uint32

type ExternalSemaphoreFeatureFlagsKHR

type ExternalSemaphoreFeatureFlagsKHR = ExternalSemaphoreFeatureFlags

type ExternalSemaphoreHandleTypeFlagBits

type ExternalSemaphoreHandleTypeFlagBits int32

type ExternalSemaphoreHandleTypeFlagBitsKHR

type ExternalSemaphoreHandleTypeFlagBitsKHR = ExternalSemaphoreHandleTypeFlagBits

type ExternalSemaphoreHandleTypeFlags

type ExternalSemaphoreHandleTypeFlags uint32

type ExternalSemaphoreHandleTypeFlagsKHR

type ExternalSemaphoreHandleTypeFlagsKHR = ExternalSemaphoreHandleTypeFlags

type ExternalSemaphoreProperties

type ExternalSemaphoreProperties struct {
	SType                         StructureType
	Next                          unsafe.Pointer
	ExportFromImportedHandleTypes ExternalSemaphoreHandleTypeFlags
	CompatibleHandleTypes         ExternalSemaphoreHandleTypeFlags
	ExternalSemaphoreFeatures     ExternalSemaphoreFeatureFlags
}

type ExternalSemaphorePropertiesKHR

type ExternalSemaphorePropertiesKHR = ExternalSemaphoreProperties

type Fence

type Fence uint64

type FenceCreateFlagBits

type FenceCreateFlagBits int32

type FenceCreateFlags

type FenceCreateFlags uint32

type FenceCreateInfo

type FenceCreateInfo struct {
	SType StructureType
	Next  unsafe.Pointer
	Flags FenceCreateFlags
}

type Filter

type Filter int32

type Flags

type Flags uint32

type Flags64

type Flags64 uint64

type Format

type Format int32

type FormatFeatureFlagBits

type FormatFeatureFlagBits int32

type FormatFeatureFlagBits2

type FormatFeatureFlagBits2 int32

type FormatFeatureFlags

type FormatFeatureFlags uint32

type FormatFeatureFlags2

type FormatFeatureFlags2 uint64

type FormatProperties

type FormatProperties struct {
	LinearTilingFeatures  FormatFeatureFlags
	OptimalTilingFeatures FormatFeatureFlags
	BufferFeatures        FormatFeatureFlags
}

type FormatProperties2

type FormatProperties2 struct {
	SType            StructureType
	Next             unsafe.Pointer
	FormatProperties FormatProperties
}

type FormatProperties2KHR

type FormatProperties2KHR = FormatProperties2

type Framebuffer

type Framebuffer uint64

type FrontFace

type FrontFace int32

type GlobalDispatch

type GlobalDispatch struct {
	// contains filtered or unexported fields
}

func Global

func Global() *GlobalDispatch

func (*GlobalDispatch) CreateInstance

func (d *GlobalDispatch) CreateInstance(a0 *InstanceCreateInfo, a1 *AllocationCallbacks, a2 *Instance) Result

func (*GlobalDispatch) EnumerateInstanceExtensionProperties

func (d *GlobalDispatch) EnumerateInstanceExtensionProperties(a0 *byte, a1 *uint32, a2 *ExtensionProperties) Result

func (*GlobalDispatch) EnumerateInstanceLayerProperties

func (d *GlobalDispatch) EnumerateInstanceLayerProperties(a0 *uint32, a1 *LayerProperties) Result

func (*GlobalDispatch) EnumerateInstanceVersion

func (d *GlobalDispatch) EnumerateInstanceVersion(a0 *uint32) Result

func (*GlobalDispatch) GetInstanceProcAddr

func (d *GlobalDispatch) GetInstanceProcAddr(a0 Instance, a1 *byte) PFN_vkVoidFunction

func (*GlobalDispatch) HasCreateInstance

func (d *GlobalDispatch) HasCreateInstance() bool

func (*GlobalDispatch) HasEnumerateInstanceExtensionProperties

func (d *GlobalDispatch) HasEnumerateInstanceExtensionProperties() bool

func (*GlobalDispatch) HasEnumerateInstanceLayerProperties

func (d *GlobalDispatch) HasEnumerateInstanceLayerProperties() bool

func (*GlobalDispatch) HasEnumerateInstanceVersion

func (d *GlobalDispatch) HasEnumerateInstanceVersion() bool

func (*GlobalDispatch) HasGetInstanceProcAddr

func (d *GlobalDispatch) HasGetInstanceProcAddr() bool

type GraphicsPipelineCreateInfo

type GraphicsPipelineCreateInfo struct {
	SType              StructureType
	Next               unsafe.Pointer
	Flags              PipelineCreateFlags
	StageCount         uint32
	Stages             *PipelineShaderStageCreateInfo
	VertexInputState   *PipelineVertexInputStateCreateInfo
	InputAssemblyState *PipelineInputAssemblyStateCreateInfo
	TessellationState  *PipelineTessellationStateCreateInfo
	ViewportState      *PipelineViewportStateCreateInfo
	RasterizationState *PipelineRasterizationStateCreateInfo
	MultisampleState   *PipelineMultisampleStateCreateInfo
	DepthStencilState  *PipelineDepthStencilStateCreateInfo
	ColorBlendState    *PipelineColorBlendStateCreateInfo
	DynamicState       *PipelineDynamicStateCreateInfo
	Layout             PipelineLayout
	RenderPass         RenderPass
	Subpass            uint32
	BasePipelineHandle Pipeline
	BasePipelineIndex  int32
}

type Image

type Image uint64

type ImageAspectFlagBits

type ImageAspectFlagBits int32

type ImageAspectFlags

type ImageAspectFlags uint32

type ImageBlit

type ImageBlit struct {
	SrcSubresource ImageSubresourceLayers
	SrcOffsets     [2]Offset3D
	DstSubresource ImageSubresourceLayers
	DstOffsets     [2]Offset3D
}

type ImageCopy added in v0.8.0

type ImageCopy struct {
	SrcSubresource ImageSubresourceLayers
	SrcOffset      Offset3D
	DstSubresource ImageSubresourceLayers
	DstOffset      Offset3D
	Extent         Extent3D
}

type ImageCreateFlagBits

type ImageCreateFlagBits int32

type ImageCreateFlags

type ImageCreateFlags uint32

type ImageCreateInfo

type ImageCreateInfo struct {
	SType                 StructureType
	Next                  unsafe.Pointer
	Flags                 ImageCreateFlags
	ImageType             ImageType
	Format                Format
	Extent                Extent3D
	MipLevels             uint32
	ArrayLayers           uint32
	Samples               SampleCountFlagBits
	Tiling                ImageTiling
	Usage                 ImageUsageFlags
	SharingMode           SharingMode
	QueueFamilyIndexCount uint32
	QueueFamilyIndices    *uint32
	InitialLayout         ImageLayout
}

type ImageDrmFormatModifierExplicitCreateInfoEXT

type ImageDrmFormatModifierExplicitCreateInfoEXT struct {
	SType                       StructureType
	Next                        unsafe.Pointer
	DrmFormatModifier           uint64
	DrmFormatModifierPlaneCount uint32
	PlaneLayouts                *SubresourceLayout
}

type ImageDrmFormatModifierListCreateInfoEXT

type ImageDrmFormatModifierListCreateInfoEXT struct {
	SType                  StructureType
	Next                   unsafe.Pointer
	DrmFormatModifierCount uint32
	DrmFormatModifiers     *uint64
}

type ImageDrmFormatModifierPropertiesEXT

type ImageDrmFormatModifierPropertiesEXT struct {
	SType             StructureType
	Next              unsafe.Pointer
	DrmFormatModifier uint64
}

type ImageFormatProperties

type ImageFormatProperties struct {
	MaxExtent       Extent3D
	MaxMipLevels    uint32
	MaxArrayLayers  uint32
	SampleCounts    SampleCountFlags
	MaxResourceSize DeviceSize
}

type ImageFormatProperties2

type ImageFormatProperties2 struct {
	SType                 StructureType
	Next                  unsafe.Pointer
	ImageFormatProperties ImageFormatProperties
}

type ImageFormatProperties2KHR

type ImageFormatProperties2KHR = ImageFormatProperties2

type ImageLayout

type ImageLayout int32

type ImageMemoryBarrier

type ImageMemoryBarrier struct {
	SType               StructureType
	Next                unsafe.Pointer
	SrcAccessMask       AccessFlags
	DstAccessMask       AccessFlags
	OldLayout           ImageLayout
	NewLayout           ImageLayout
	SrcQueueFamilyIndex uint32
	DstQueueFamilyIndex uint32
	Image               Image
	SubresourceRange    ImageSubresourceRange
}

type ImageMemoryBarrier2

type ImageMemoryBarrier2 struct {
	SType               StructureType
	Next                unsafe.Pointer
	SrcStageMask        PipelineStageFlags2
	SrcAccessMask       AccessFlags2
	DstStageMask        PipelineStageFlags2
	DstAccessMask       AccessFlags2
	OldLayout           ImageLayout
	NewLayout           ImageLayout
	SrcQueueFamilyIndex uint32
	DstQueueFamilyIndex uint32
	Image               Image
	SubresourceRange    ImageSubresourceRange
}

type ImageMemoryBarrier2KHR

type ImageMemoryBarrier2KHR = ImageMemoryBarrier2

type ImageMemoryRequirementsInfo2

type ImageMemoryRequirementsInfo2 struct {
	SType StructureType
	Next  unsafe.Pointer
	Image Image
}

type ImageMemoryRequirementsInfo2KHR

type ImageMemoryRequirementsInfo2KHR = ImageMemoryRequirementsInfo2

type ImageSparseMemoryRequirementsInfo2

type ImageSparseMemoryRequirementsInfo2 struct {
	SType StructureType
	Next  unsafe.Pointer
	Image Image
}

type ImageSparseMemoryRequirementsInfo2KHR

type ImageSparseMemoryRequirementsInfo2KHR = ImageSparseMemoryRequirementsInfo2

type ImageSubresource

type ImageSubresource struct {
	AspectMask ImageAspectFlags
	MipLevel   uint32
	ArrayLayer uint32
}

type ImageSubresourceLayers

type ImageSubresourceLayers struct {
	AspectMask     ImageAspectFlags
	MipLevel       uint32
	BaseArrayLayer uint32
	LayerCount     uint32
}

type ImageSubresourceRange

type ImageSubresourceRange struct {
	AspectMask     ImageAspectFlags
	BaseMipLevel   uint32
	LevelCount     uint32
	BaseArrayLayer uint32
	LayerCount     uint32
}

type ImageSwapchainCreateInfoKHR

type ImageSwapchainCreateInfoKHR struct {
	SType     StructureType
	Next      unsafe.Pointer
	Swapchain SwapchainKHR
}

type ImageTiling

type ImageTiling int32

type ImageType

type ImageType int32

type ImageUsageFlagBits

type ImageUsageFlagBits int32

type ImageUsageFlags

type ImageUsageFlags uint32

type ImageView

type ImageView uint64

type ImageViewCreateFlagBits

type ImageViewCreateFlagBits int32

type ImageViewCreateFlags

type ImageViewCreateFlags uint32

type ImageViewCreateInfo

type ImageViewCreateInfo struct {
	SType            StructureType
	Next             unsafe.Pointer
	Flags            ImageViewCreateFlags
	Image            Image
	ViewType         ImageViewType
	Format           Format
	Components       ComponentMapping
	SubresourceRange ImageSubresourceRange
}

type ImageViewType

type ImageViewType int32

type ImportMemoryFdInfoKHR

type ImportMemoryFdInfoKHR struct {
	SType      StructureType
	Next       unsafe.Pointer
	HandleType ExternalMemoryHandleTypeFlagBits
	Fd         int32
}

type ImportSemaphoreFdInfoKHR

type ImportSemaphoreFdInfoKHR struct {
	SType      StructureType
	Next       unsafe.Pointer
	Semaphore  Semaphore
	Flags      SemaphoreImportFlags
	HandleType ExternalSemaphoreHandleTypeFlagBits
	Fd         int32
}

type IndexType

type IndexType int32

type Instance

type Instance uintptr

type InstanceCreateFlagBits

type InstanceCreateFlagBits int32

type InstanceCreateFlags

type InstanceCreateFlags uint32

type InstanceCreateInfo

type InstanceCreateInfo struct {
	SType                   StructureType
	Next                    unsafe.Pointer
	Flags                   InstanceCreateFlags
	ApplicationInfo         *ApplicationInfo
	EnabledLayerCount       uint32
	PpEnabledLayerNames     **byte
	EnabledExtensionCount   uint32
	PpEnabledExtensionNames **byte
}

type InstanceDispatch

type InstanceDispatch struct {
	Instance Instance
	// contains filtered or unexported fields
}

func LoadInstanceDispatch

func LoadInstanceDispatch(instance Instance) (*InstanceDispatch, error)

func (*InstanceDispatch) CreateDebugUtilsMessengerEXT

func (*InstanceDispatch) CreateDevice

func (*InstanceDispatch) CreateWaylandSurfaceKHR

func (d *InstanceDispatch) CreateWaylandSurfaceKHR(a0 Instance, a1 *WaylandSurfaceCreateInfoKHR, a2 *AllocationCallbacks, a3 *SurfaceKHR) Result

func (*InstanceDispatch) CreateXcbSurfaceKHR

func (d *InstanceDispatch) CreateXcbSurfaceKHR(a0 Instance, a1 *XcbSurfaceCreateInfoKHR, a2 *AllocationCallbacks, a3 *SurfaceKHR) Result

func (*InstanceDispatch) CreateXlibSurfaceKHR

func (d *InstanceDispatch) CreateXlibSurfaceKHR(a0 Instance, a1 *XlibSurfaceCreateInfoKHR, a2 *AllocationCallbacks, a3 *SurfaceKHR) Result

func (*InstanceDispatch) DestroyDebugUtilsMessengerEXT

func (d *InstanceDispatch) DestroyDebugUtilsMessengerEXT(a0 Instance, a1 DebugUtilsMessengerEXT, a2 *AllocationCallbacks)

func (*InstanceDispatch) DestroyInstance

func (d *InstanceDispatch) DestroyInstance(a0 Instance, a1 *AllocationCallbacks)

func (*InstanceDispatch) DestroySurfaceKHR

func (d *InstanceDispatch) DestroySurfaceKHR(a0 Instance, a1 SurfaceKHR, a2 *AllocationCallbacks)

func (*InstanceDispatch) EnumerateDeviceExtensionProperties

func (d *InstanceDispatch) EnumerateDeviceExtensionProperties(a0 PhysicalDevice, a1 *byte, a2 *uint32, a3 *ExtensionProperties) Result

func (*InstanceDispatch) EnumeratePhysicalDevices

func (d *InstanceDispatch) EnumeratePhysicalDevices(a0 Instance, a1 *uint32, a2 *PhysicalDevice) Result

func (*InstanceDispatch) GetDeviceProcAddr

func (d *InstanceDispatch) GetDeviceProcAddr(a0 Device, a1 *byte) PFN_vkVoidFunction

func (*InstanceDispatch) GetPhysicalDeviceExternalBufferPropertiesKHR

func (d *InstanceDispatch) GetPhysicalDeviceExternalBufferPropertiesKHR(a0 PhysicalDevice, a1 *PhysicalDeviceExternalBufferInfo, a2 *ExternalBufferProperties)

func (*InstanceDispatch) GetPhysicalDeviceExternalSemaphorePropertiesKHR

func (d *InstanceDispatch) GetPhysicalDeviceExternalSemaphorePropertiesKHR(a0 PhysicalDevice, a1 *PhysicalDeviceExternalSemaphoreInfo, a2 *ExternalSemaphoreProperties)

func (*InstanceDispatch) GetPhysicalDeviceFeatures2

func (d *InstanceDispatch) GetPhysicalDeviceFeatures2(a0 PhysicalDevice, a1 *PhysicalDeviceFeatures2)

func (*InstanceDispatch) GetPhysicalDeviceFeatures2KHR

func (d *InstanceDispatch) GetPhysicalDeviceFeatures2KHR(a0 PhysicalDevice, a1 *PhysicalDeviceFeatures2)

func (*InstanceDispatch) GetPhysicalDeviceFormatProperties2

func (d *InstanceDispatch) GetPhysicalDeviceFormatProperties2(a0 PhysicalDevice, a1 Format, a2 *FormatProperties2)

func (*InstanceDispatch) GetPhysicalDeviceFormatProperties2KHR

func (d *InstanceDispatch) GetPhysicalDeviceFormatProperties2KHR(a0 PhysicalDevice, a1 Format, a2 *FormatProperties2)

func (*InstanceDispatch) GetPhysicalDeviceImageFormatProperties2

func (d *InstanceDispatch) GetPhysicalDeviceImageFormatProperties2(a0 PhysicalDevice, a1 *PhysicalDeviceImageFormatInfo2, a2 *ImageFormatProperties2) Result

func (*InstanceDispatch) GetPhysicalDeviceImageFormatProperties2KHR

func (d *InstanceDispatch) GetPhysicalDeviceImageFormatProperties2KHR(a0 PhysicalDevice, a1 *PhysicalDeviceImageFormatInfo2, a2 *ImageFormatProperties2) Result

func (*InstanceDispatch) GetPhysicalDeviceMemoryProperties

func (d *InstanceDispatch) GetPhysicalDeviceMemoryProperties(a0 PhysicalDevice, a1 *PhysicalDeviceMemoryProperties)

func (*InstanceDispatch) GetPhysicalDeviceMemoryProperties2

func (d *InstanceDispatch) GetPhysicalDeviceMemoryProperties2(a0 PhysicalDevice, a1 *PhysicalDeviceMemoryProperties2)

func (*InstanceDispatch) GetPhysicalDeviceMemoryProperties2KHR

func (d *InstanceDispatch) GetPhysicalDeviceMemoryProperties2KHR(a0 PhysicalDevice, a1 *PhysicalDeviceMemoryProperties2)

func (*InstanceDispatch) GetPhysicalDevicePresentRectanglesKHR

func (d *InstanceDispatch) GetPhysicalDevicePresentRectanglesKHR(a0 PhysicalDevice, a1 SurfaceKHR, a2 *uint32, a3 *Rect2D) Result

func (*InstanceDispatch) GetPhysicalDeviceProperties

func (d *InstanceDispatch) GetPhysicalDeviceProperties(a0 PhysicalDevice, a1 *PhysicalDeviceProperties)

func (*InstanceDispatch) GetPhysicalDeviceProperties2

func (d *InstanceDispatch) GetPhysicalDeviceProperties2(a0 PhysicalDevice, a1 *PhysicalDeviceProperties2)

func (*InstanceDispatch) GetPhysicalDeviceProperties2KHR

func (d *InstanceDispatch) GetPhysicalDeviceProperties2KHR(a0 PhysicalDevice, a1 *PhysicalDeviceProperties2)

func (*InstanceDispatch) GetPhysicalDeviceQueueFamilyProperties

func (d *InstanceDispatch) GetPhysicalDeviceQueueFamilyProperties(a0 PhysicalDevice, a1 *uint32, a2 *QueueFamilyProperties)

func (*InstanceDispatch) GetPhysicalDeviceQueueFamilyProperties2

func (d *InstanceDispatch) GetPhysicalDeviceQueueFamilyProperties2(a0 PhysicalDevice, a1 *uint32, a2 *QueueFamilyProperties2)

func (*InstanceDispatch) GetPhysicalDeviceQueueFamilyProperties2KHR

func (d *InstanceDispatch) GetPhysicalDeviceQueueFamilyProperties2KHR(a0 PhysicalDevice, a1 *uint32, a2 *QueueFamilyProperties2)

func (*InstanceDispatch) GetPhysicalDeviceSparseImageFormatProperties2KHR

func (d *InstanceDispatch) GetPhysicalDeviceSparseImageFormatProperties2KHR(a0 PhysicalDevice, a1 *PhysicalDeviceSparseImageFormatInfo2, a2 *uint32, a3 *SparseImageFormatProperties2)

func (*InstanceDispatch) GetPhysicalDeviceSurfaceCapabilitiesKHR

func (d *InstanceDispatch) GetPhysicalDeviceSurfaceCapabilitiesKHR(a0 PhysicalDevice, a1 SurfaceKHR, a2 *SurfaceCapabilitiesKHR) Result

func (*InstanceDispatch) GetPhysicalDeviceSurfaceFormatsKHR

func (d *InstanceDispatch) GetPhysicalDeviceSurfaceFormatsKHR(a0 PhysicalDevice, a1 SurfaceKHR, a2 *uint32, a3 *SurfaceFormatKHR) Result

func (*InstanceDispatch) GetPhysicalDeviceSurfacePresentModesKHR

func (d *InstanceDispatch) GetPhysicalDeviceSurfacePresentModesKHR(a0 PhysicalDevice, a1 SurfaceKHR, a2 *uint32, a3 *PresentModeKHR) Result

func (*InstanceDispatch) GetPhysicalDeviceSurfaceSupportKHR

func (d *InstanceDispatch) GetPhysicalDeviceSurfaceSupportKHR(a0 PhysicalDevice, a1 uint32, a2 SurfaceKHR, a3 *Bool32) Result

func (*InstanceDispatch) GetPhysicalDeviceWaylandPresentationSupportKHR

func (d *InstanceDispatch) GetPhysicalDeviceWaylandPresentationSupportKHR(a0 PhysicalDevice, a1 uint32, a2 unsafe.Pointer) Bool32

func (*InstanceDispatch) GetPhysicalDeviceXcbPresentationSupportKHR

func (d *InstanceDispatch) GetPhysicalDeviceXcbPresentationSupportKHR(a0 PhysicalDevice, a1 uint32, a2 unsafe.Pointer, a3 uint32) Bool32

func (*InstanceDispatch) GetPhysicalDeviceXlibPresentationSupportKHR

func (d *InstanceDispatch) GetPhysicalDeviceXlibPresentationSupportKHR(a0 PhysicalDevice, a1 uint32, a2 unsafe.Pointer, a3 uintptr) Bool32

func (*InstanceDispatch) HasCreateDebugUtilsMessengerEXT

func (d *InstanceDispatch) HasCreateDebugUtilsMessengerEXT() bool

func (*InstanceDispatch) HasCreateDevice

func (d *InstanceDispatch) HasCreateDevice() bool

func (*InstanceDispatch) HasCreateWaylandSurfaceKHR

func (d *InstanceDispatch) HasCreateWaylandSurfaceKHR() bool

func (*InstanceDispatch) HasCreateXcbSurfaceKHR

func (d *InstanceDispatch) HasCreateXcbSurfaceKHR() bool

func (*InstanceDispatch) HasCreateXlibSurfaceKHR

func (d *InstanceDispatch) HasCreateXlibSurfaceKHR() bool

func (*InstanceDispatch) HasDestroyDebugUtilsMessengerEXT

func (d *InstanceDispatch) HasDestroyDebugUtilsMessengerEXT() bool

func (*InstanceDispatch) HasDestroyInstance

func (d *InstanceDispatch) HasDestroyInstance() bool

func (*InstanceDispatch) HasDestroySurfaceKHR

func (d *InstanceDispatch) HasDestroySurfaceKHR() bool

func (*InstanceDispatch) HasEnumerateDeviceExtensionProperties

func (d *InstanceDispatch) HasEnumerateDeviceExtensionProperties() bool

func (*InstanceDispatch) HasEnumeratePhysicalDevices

func (d *InstanceDispatch) HasEnumeratePhysicalDevices() bool

func (*InstanceDispatch) HasGetDeviceProcAddr

func (d *InstanceDispatch) HasGetDeviceProcAddr() bool

func (*InstanceDispatch) HasGetPhysicalDeviceExternalBufferPropertiesKHR

func (d *InstanceDispatch) HasGetPhysicalDeviceExternalBufferPropertiesKHR() bool

func (*InstanceDispatch) HasGetPhysicalDeviceExternalSemaphorePropertiesKHR

func (d *InstanceDispatch) HasGetPhysicalDeviceExternalSemaphorePropertiesKHR() bool

func (*InstanceDispatch) HasGetPhysicalDeviceFeatures2

func (d *InstanceDispatch) HasGetPhysicalDeviceFeatures2() bool

func (*InstanceDispatch) HasGetPhysicalDeviceFeatures2KHR

func (d *InstanceDispatch) HasGetPhysicalDeviceFeatures2KHR() bool

func (*InstanceDispatch) HasGetPhysicalDeviceFormatProperties2

func (d *InstanceDispatch) HasGetPhysicalDeviceFormatProperties2() bool

func (*InstanceDispatch) HasGetPhysicalDeviceFormatProperties2KHR

func (d *InstanceDispatch) HasGetPhysicalDeviceFormatProperties2KHR() bool

func (*InstanceDispatch) HasGetPhysicalDeviceImageFormatProperties2

func (d *InstanceDispatch) HasGetPhysicalDeviceImageFormatProperties2() bool

func (*InstanceDispatch) HasGetPhysicalDeviceImageFormatProperties2KHR

func (d *InstanceDispatch) HasGetPhysicalDeviceImageFormatProperties2KHR() bool

func (*InstanceDispatch) HasGetPhysicalDeviceMemoryProperties

func (d *InstanceDispatch) HasGetPhysicalDeviceMemoryProperties() bool

func (*InstanceDispatch) HasGetPhysicalDeviceMemoryProperties2

func (d *InstanceDispatch) HasGetPhysicalDeviceMemoryProperties2() bool

func (*InstanceDispatch) HasGetPhysicalDeviceMemoryProperties2KHR

func (d *InstanceDispatch) HasGetPhysicalDeviceMemoryProperties2KHR() bool

func (*InstanceDispatch) HasGetPhysicalDevicePresentRectanglesKHR

func (d *InstanceDispatch) HasGetPhysicalDevicePresentRectanglesKHR() bool

func (*InstanceDispatch) HasGetPhysicalDeviceProperties

func (d *InstanceDispatch) HasGetPhysicalDeviceProperties() bool

func (*InstanceDispatch) HasGetPhysicalDeviceProperties2

func (d *InstanceDispatch) HasGetPhysicalDeviceProperties2() bool

func (*InstanceDispatch) HasGetPhysicalDeviceProperties2KHR

func (d *InstanceDispatch) HasGetPhysicalDeviceProperties2KHR() bool

func (*InstanceDispatch) HasGetPhysicalDeviceQueueFamilyProperties

func (d *InstanceDispatch) HasGetPhysicalDeviceQueueFamilyProperties() bool

func (*InstanceDispatch) HasGetPhysicalDeviceQueueFamilyProperties2

func (d *InstanceDispatch) HasGetPhysicalDeviceQueueFamilyProperties2() bool

func (*InstanceDispatch) HasGetPhysicalDeviceQueueFamilyProperties2KHR

func (d *InstanceDispatch) HasGetPhysicalDeviceQueueFamilyProperties2KHR() bool

func (*InstanceDispatch) HasGetPhysicalDeviceSparseImageFormatProperties2KHR

func (d *InstanceDispatch) HasGetPhysicalDeviceSparseImageFormatProperties2KHR() bool

func (*InstanceDispatch) HasGetPhysicalDeviceSurfaceCapabilitiesKHR

func (d *InstanceDispatch) HasGetPhysicalDeviceSurfaceCapabilitiesKHR() bool

func (*InstanceDispatch) HasGetPhysicalDeviceSurfaceFormatsKHR

func (d *InstanceDispatch) HasGetPhysicalDeviceSurfaceFormatsKHR() bool

func (*InstanceDispatch) HasGetPhysicalDeviceSurfacePresentModesKHR

func (d *InstanceDispatch) HasGetPhysicalDeviceSurfacePresentModesKHR() bool

func (*InstanceDispatch) HasGetPhysicalDeviceSurfaceSupportKHR

func (d *InstanceDispatch) HasGetPhysicalDeviceSurfaceSupportKHR() bool

func (*InstanceDispatch) HasGetPhysicalDeviceWaylandPresentationSupportKHR

func (d *InstanceDispatch) HasGetPhysicalDeviceWaylandPresentationSupportKHR() bool

func (*InstanceDispatch) HasGetPhysicalDeviceXcbPresentationSupportKHR

func (d *InstanceDispatch) HasGetPhysicalDeviceXcbPresentationSupportKHR() bool

func (*InstanceDispatch) HasGetPhysicalDeviceXlibPresentationSupportKHR

func (d *InstanceDispatch) HasGetPhysicalDeviceXlibPresentationSupportKHR() bool

func (*InstanceDispatch) HasSubmitDebugUtilsMessageEXT

func (d *InstanceDispatch) HasSubmitDebugUtilsMessageEXT() bool

func (*InstanceDispatch) SubmitDebugUtilsMessageEXT

type LayerProperties

type LayerProperties struct {
	LayerName             [MaxExtensionNameSize]byte
	SpecVersion           uint32
	ImplementationVersion uint32
	Description           [MaxDescriptionSize]byte
}

type LogicOp

type LogicOp int32

type MappedMemoryRange

type MappedMemoryRange struct {
	SType  StructureType
	Next   unsafe.Pointer
	Memory DeviceMemory
	Offset DeviceSize
	Size   DeviceSize
}

type MemoryAllocateInfo

type MemoryAllocateInfo struct {
	SType           StructureType
	Next            unsafe.Pointer
	AllocationSize  DeviceSize
	MemoryTypeIndex uint32
}

type MemoryBarrier

type MemoryBarrier struct {
	SType         StructureType
	Next          unsafe.Pointer
	SrcAccessMask AccessFlags
	DstAccessMask AccessFlags
}

type MemoryBarrier2

type MemoryBarrier2 struct {
	SType         StructureType
	Next          unsafe.Pointer
	SrcStageMask  PipelineStageFlags2
	SrcAccessMask AccessFlags2
	DstStageMask  PipelineStageFlags2
	DstAccessMask AccessFlags2
}

type MemoryBarrier2KHR

type MemoryBarrier2KHR = MemoryBarrier2

type MemoryDedicatedAllocateInfo

type MemoryDedicatedAllocateInfo struct {
	SType  StructureType
	Next   unsafe.Pointer
	Image  Image
	Buffer Buffer
}

type MemoryDedicatedAllocateInfoKHR

type MemoryDedicatedAllocateInfoKHR = MemoryDedicatedAllocateInfo

type MemoryDedicatedRequirements

type MemoryDedicatedRequirements struct {
	SType                       StructureType
	Next                        unsafe.Pointer
	PrefersDedicatedAllocation  Bool32
	RequiresDedicatedAllocation Bool32
}

type MemoryDedicatedRequirementsKHR

type MemoryDedicatedRequirementsKHR = MemoryDedicatedRequirements

type MemoryFdPropertiesKHR

type MemoryFdPropertiesKHR struct {
	SType          StructureType
	Next           unsafe.Pointer
	MemoryTypeBits uint32
}

type MemoryGetFdInfoKHR

type MemoryGetFdInfoKHR struct {
	SType      StructureType
	Next       unsafe.Pointer
	Memory     DeviceMemory
	HandleType ExternalMemoryHandleTypeFlagBits
}

type MemoryHeap

type MemoryHeap struct {
	Size  DeviceSize
	Flags MemoryHeapFlags
}

type MemoryHeapFlagBits

type MemoryHeapFlagBits int32

type MemoryHeapFlags

type MemoryHeapFlags uint32

type MemoryMapFlagBits

type MemoryMapFlagBits int32

type MemoryMapFlags

type MemoryMapFlags uint32

type MemoryPropertyFlagBits

type MemoryPropertyFlagBits int32

type MemoryPropertyFlags

type MemoryPropertyFlags uint32

type MemoryRequirements

type MemoryRequirements struct {
	Size           DeviceSize
	Alignment      DeviceSize
	MemoryTypeBits uint32
}

type MemoryRequirements2

type MemoryRequirements2 struct {
	SType              StructureType
	Next               unsafe.Pointer
	MemoryRequirements MemoryRequirements
}

type MemoryRequirements2KHR

type MemoryRequirements2KHR = MemoryRequirements2

type MemoryType

type MemoryType struct {
	PropertyFlags MemoryPropertyFlags
	HeapIndex     uint32
}

type ObjectType

type ObjectType int32

type Offset2D

type Offset2D struct {
	X int32
	Y int32
}

type Offset3D

type Offset3D struct {
	X int32
	Y int32
	Z int32
}

type Option

type Option func(*config)

Option configures process-level Vulkan initialization.

func WithLibraryPath

func WithLibraryPath(path string) Option

WithLibraryPath makes Init try path before the default Vulkan loader names.

type PFN_vkAllocationFunction

type PFN_vkAllocationFunction uintptr

type PFN_vkDebugUtilsMessengerCallbackEXT

type PFN_vkDebugUtilsMessengerCallbackEXT uintptr

type PFN_vkFreeFunction

type PFN_vkFreeFunction uintptr

type PFN_vkInternalAllocationNotification

type PFN_vkInternalAllocationNotification uintptr

type PFN_vkInternalFreeNotification

type PFN_vkInternalFreeNotification uintptr

type PFN_vkReallocationFunction

type PFN_vkReallocationFunction uintptr

type PFN_vkVoidFunction

type PFN_vkVoidFunction uintptr

type PhysicalDevice

type PhysicalDevice uintptr

type PhysicalDeviceDrmPropertiesEXT

type PhysicalDeviceDrmPropertiesEXT struct {
	SType        StructureType
	Next         unsafe.Pointer
	HasPrimary   Bool32
	HasRender    Bool32
	PrimaryMajor int64
	PrimaryMinor int64
	RenderMajor  int64
	RenderMinor  int64
}

type PhysicalDeviceDynamicRenderingFeatures

type PhysicalDeviceDynamicRenderingFeatures struct {
	SType            StructureType
	Next             unsafe.Pointer
	DynamicRendering Bool32
}

type PhysicalDeviceDynamicRenderingFeaturesKHR

type PhysicalDeviceDynamicRenderingFeaturesKHR = PhysicalDeviceDynamicRenderingFeatures

type PhysicalDeviceExternalBufferInfo

type PhysicalDeviceExternalBufferInfo struct {
	SType      StructureType
	Next       unsafe.Pointer
	Flags      BufferCreateFlags
	Usage      BufferUsageFlags
	HandleType ExternalMemoryHandleTypeFlagBits
}

type PhysicalDeviceExternalBufferInfoKHR

type PhysicalDeviceExternalBufferInfoKHR = PhysicalDeviceExternalBufferInfo

type PhysicalDeviceExternalImageFormatInfo

type PhysicalDeviceExternalImageFormatInfo struct {
	SType      StructureType
	Next       unsafe.Pointer
	HandleType ExternalMemoryHandleTypeFlagBits
}

type PhysicalDeviceExternalImageFormatInfoKHR

type PhysicalDeviceExternalImageFormatInfoKHR = PhysicalDeviceExternalImageFormatInfo

type PhysicalDeviceExternalSemaphoreInfo

type PhysicalDeviceExternalSemaphoreInfo struct {
	SType      StructureType
	Next       unsafe.Pointer
	HandleType ExternalSemaphoreHandleTypeFlagBits
}

type PhysicalDeviceExternalSemaphoreInfoKHR

type PhysicalDeviceExternalSemaphoreInfoKHR = PhysicalDeviceExternalSemaphoreInfo

type PhysicalDeviceFeatures

type PhysicalDeviceFeatures struct {
	RobustBufferAccess                      Bool32
	FullDrawIndexUint32                     Bool32
	ImageCubeArray                          Bool32
	IndependentBlend                        Bool32
	GeometryShader                          Bool32
	TessellationShader                      Bool32
	SampleRateShading                       Bool32
	DualSrcBlend                            Bool32
	LogicOp                                 Bool32
	MultiDrawIndirect                       Bool32
	DrawIndirectFirstInstance               Bool32
	DepthClamp                              Bool32
	DepthBiasClamp                          Bool32
	FillModeNonSolid                        Bool32
	DepthBounds                             Bool32
	WideLines                               Bool32
	LargePoints                             Bool32
	AlphaToOne                              Bool32
	MultiViewport                           Bool32
	SamplerAnisotropy                       Bool32
	TextureCompressionETC2                  Bool32
	TextureCompressionASTC_LDR              Bool32
	TextureCompressionBC                    Bool32
	OcclusionQueryPrecise                   Bool32
	PipelineStatisticsQuery                 Bool32
	VertexPipelineStoresAndAtomics          Bool32
	FragmentStoresAndAtomics                Bool32
	ShaderTessellationAndGeometryPointSize  Bool32
	ShaderImageGatherExtended               Bool32
	ShaderStorageImageExtendedFormats       Bool32
	ShaderStorageImageMultisample           Bool32
	ShaderStorageImageReadWithoutFormat     Bool32
	ShaderStorageImageWriteWithoutFormat    Bool32
	ShaderUniformBufferArrayDynamicIndexing Bool32
	ShaderSampledImageArrayDynamicIndexing  Bool32
	ShaderStorageBufferArrayDynamicIndexing Bool32
	ShaderStorageImageArrayDynamicIndexing  Bool32
	ShaderClipDistance                      Bool32
	ShaderCullDistance                      Bool32
	ShaderFloat64                           Bool32
	ShaderInt64                             Bool32
	ShaderInt16                             Bool32
	ShaderResourceResidency                 Bool32
	ShaderResourceMinLod                    Bool32
	SparseBinding                           Bool32
	SparseResidencyBuffer                   Bool32
	SparseResidencyImage2D                  Bool32
	SparseResidencyImage3D                  Bool32
	SparseResidency2Samples                 Bool32
	SparseResidency4Samples                 Bool32
	SparseResidency8Samples                 Bool32
	SparseResidency16Samples                Bool32
	SparseResidencyAliased                  Bool32
	VariableMultisampleRate                 Bool32
	InheritedQueries                        Bool32
}

type PhysicalDeviceFeatures2

type PhysicalDeviceFeatures2 struct {
	SType    StructureType
	Next     unsafe.Pointer
	Features PhysicalDeviceFeatures
}

type PhysicalDeviceFeatures2KHR

type PhysicalDeviceFeatures2KHR = PhysicalDeviceFeatures2

type PhysicalDeviceGlobalPriorityQueryFeatures

type PhysicalDeviceGlobalPriorityQueryFeatures struct {
	SType               StructureType
	Next                unsafe.Pointer
	GlobalPriorityQuery Bool32
}

type PhysicalDeviceGlobalPriorityQueryFeaturesKHR

type PhysicalDeviceGlobalPriorityQueryFeaturesKHR = PhysicalDeviceGlobalPriorityQueryFeatures

type PhysicalDeviceIDProperties

type PhysicalDeviceIDProperties struct {
	SType           StructureType
	Next            unsafe.Pointer
	DeviceUUID      [UUIDSize]uint8
	DriverUUID      [UUIDSize]uint8
	DeviceLUID      [LUIDSize]uint8
	DeviceNodeMask  uint32
	DeviceLUIDValid Bool32
}

type PhysicalDeviceIDPropertiesKHR

type PhysicalDeviceIDPropertiesKHR = PhysicalDeviceIDProperties

type PhysicalDeviceImageDrmFormatModifierInfoEXT

type PhysicalDeviceImageDrmFormatModifierInfoEXT struct {
	SType                 StructureType
	Next                  unsafe.Pointer
	DrmFormatModifier     uint64
	SharingMode           SharingMode
	QueueFamilyIndexCount uint32
	QueueFamilyIndices    *uint32
}

type PhysicalDeviceImageFormatInfo2

type PhysicalDeviceImageFormatInfo2 struct {
	SType  StructureType
	Next   unsafe.Pointer
	Format Format
	Type   ImageType
	Tiling ImageTiling
	Usage  ImageUsageFlags
	Flags  ImageCreateFlags
}

type PhysicalDeviceImageFormatInfo2KHR

type PhysicalDeviceImageFormatInfo2KHR = PhysicalDeviceImageFormatInfo2

type PhysicalDeviceLimits

type PhysicalDeviceLimits struct {
	MaxImageDimension1D                             uint32
	MaxImageDimension2D                             uint32
	MaxImageDimension3D                             uint32
	MaxImageDimensionCube                           uint32
	MaxImageArrayLayers                             uint32
	MaxTexelBufferElements                          uint32
	MaxUniformBufferRange                           uint32
	MaxStorageBufferRange                           uint32
	MaxPushConstantsSize                            uint32
	MaxMemoryAllocationCount                        uint32
	MaxSamplerAllocationCount                       uint32
	BufferImageGranularity                          DeviceSize
	SparseAddressSpaceSize                          DeviceSize
	MaxBoundDescriptorSets                          uint32
	MaxPerStageDescriptorSamplers                   uint32
	MaxPerStageDescriptorUniformBuffers             uint32
	MaxPerStageDescriptorStorageBuffers             uint32
	MaxPerStageDescriptorSampledImages              uint32
	MaxPerStageDescriptorStorageImages              uint32
	MaxPerStageDescriptorInputAttachments           uint32
	MaxPerStageResources                            uint32
	MaxDescriptorSetSamplers                        uint32
	MaxDescriptorSetUniformBuffers                  uint32
	MaxDescriptorSetUniformBuffersDynamic           uint32
	MaxDescriptorSetStorageBuffers                  uint32
	MaxDescriptorSetStorageBuffersDynamic           uint32
	MaxDescriptorSetSampledImages                   uint32
	MaxDescriptorSetStorageImages                   uint32
	MaxDescriptorSetInputAttachments                uint32
	MaxVertexInputAttributes                        uint32
	MaxVertexInputBindings                          uint32
	MaxVertexInputAttributeOffset                   uint32
	MaxVertexInputBindingStride                     uint32
	MaxVertexOutputComponents                       uint32
	MaxTessellationGenerationLevel                  uint32
	MaxTessellationPatchSize                        uint32
	MaxTessellationControlPerVertexInputComponents  uint32
	MaxTessellationControlPerVertexOutputComponents uint32
	MaxTessellationControlPerPatchOutputComponents  uint32
	MaxTessellationControlTotalOutputComponents     uint32
	MaxTessellationEvaluationInputComponents        uint32
	MaxTessellationEvaluationOutputComponents       uint32
	MaxGeometryShaderInvocations                    uint32
	MaxGeometryInputComponents                      uint32
	MaxGeometryOutputComponents                     uint32
	MaxGeometryOutputVertices                       uint32
	MaxGeometryTotalOutputComponents                uint32
	MaxFragmentInputComponents                      uint32
	MaxFragmentOutputAttachments                    uint32
	MaxFragmentDualSrcAttachments                   uint32
	MaxFragmentCombinedOutputResources              uint32
	MaxComputeSharedMemorySize                      uint32
	MaxComputeWorkGroupCount                        [3]uint32
	MaxComputeWorkGroupInvocations                  uint32
	MaxComputeWorkGroupSize                         [3]uint32
	SubPixelPrecisionBits                           uint32
	SubTexelPrecisionBits                           uint32
	MipmapPrecisionBits                             uint32
	MaxDrawIndexedIndexValue                        uint32
	MaxDrawIndirectCount                            uint32
	MaxSamplerLodBias                               float32
	MaxSamplerAnisotropy                            float32
	MaxViewports                                    uint32
	MaxViewportDimensions                           [2]uint32
	ViewportBoundsRange                             [2]float32
	ViewportSubPixelBits                            uint32
	MinMemoryMapAlignment                           uintptr
	MinTexelBufferOffsetAlignment                   DeviceSize
	MinUniformBufferOffsetAlignment                 DeviceSize
	MinStorageBufferOffsetAlignment                 DeviceSize
	MinTexelOffset                                  int32
	MaxTexelOffset                                  uint32
	MinTexelGatherOffset                            int32
	MaxTexelGatherOffset                            uint32
	MinInterpolationOffset                          float32
	MaxInterpolationOffset                          float32
	SubPixelInterpolationOffsetBits                 uint32
	MaxFramebufferWidth                             uint32
	MaxFramebufferHeight                            uint32
	MaxFramebufferLayers                            uint32
	FramebufferColorSampleCounts                    SampleCountFlags
	FramebufferDepthSampleCounts                    SampleCountFlags
	FramebufferStencilSampleCounts                  SampleCountFlags
	FramebufferNoAttachmentsSampleCounts            SampleCountFlags
	MaxColorAttachments                             uint32
	SampledImageColorSampleCounts                   SampleCountFlags
	SampledImageIntegerSampleCounts                 SampleCountFlags
	SampledImageDepthSampleCounts                   SampleCountFlags
	SampledImageStencilSampleCounts                 SampleCountFlags
	StorageImageSampleCounts                        SampleCountFlags
	MaxSampleMaskWords                              uint32
	TimestampComputeAndGraphics                     Bool32
	TimestampPeriod                                 float32
	MaxClipDistances                                uint32
	MaxCullDistances                                uint32
	MaxCombinedClipAndCullDistances                 uint32
	DiscreteQueuePriorities                         uint32
	PointSizeRange                                  [2]float32
	LineWidthRange                                  [2]float32
	PointSizeGranularity                            float32
	LineWidthGranularity                            float32
	StrictLines                                     Bool32
	StandardSampleLocations                         Bool32
	OptimalBufferCopyOffsetAlignment                DeviceSize
	OptimalBufferCopyRowPitchAlignment              DeviceSize
	NonCoherentAtomSize                             DeviceSize
}

type PhysicalDeviceMemoryProperties

type PhysicalDeviceMemoryProperties struct {
	MemoryTypeCount uint32
	MemoryTypes     [MaxMemoryTypes]MemoryType
	MemoryHeapCount uint32
	MemoryHeaps     [MaxMemoryHeaps]MemoryHeap
}

type PhysicalDeviceMemoryProperties2

type PhysicalDeviceMemoryProperties2 struct {
	SType            StructureType
	Next             unsafe.Pointer
	MemoryProperties PhysicalDeviceMemoryProperties
}

type PhysicalDeviceMemoryProperties2KHR

type PhysicalDeviceMemoryProperties2KHR = PhysicalDeviceMemoryProperties2

type PhysicalDeviceProperties

type PhysicalDeviceProperties struct {
	ApiVersion        uint32
	DriverVersion     uint32
	VendorID          uint32
	DeviceID          uint32
	DeviceType        PhysicalDeviceType
	DeviceName        [MaxPhysicalDeviceNameSize]byte
	PipelineCacheUUID [UUIDSize]uint8
	Limits            PhysicalDeviceLimits
	SparseProperties  PhysicalDeviceSparseProperties
}

type PhysicalDeviceProperties2

type PhysicalDeviceProperties2 struct {
	SType      StructureType
	Next       unsafe.Pointer
	Properties PhysicalDeviceProperties
}

type PhysicalDeviceProperties2KHR

type PhysicalDeviceProperties2KHR = PhysicalDeviceProperties2

type PhysicalDeviceSparseImageFormatInfo2

type PhysicalDeviceSparseImageFormatInfo2 struct {
	SType   StructureType
	Next    unsafe.Pointer
	Format  Format
	Type    ImageType
	Samples SampleCountFlagBits
	Usage   ImageUsageFlags
	Tiling  ImageTiling
}

type PhysicalDeviceSparseImageFormatInfo2KHR

type PhysicalDeviceSparseImageFormatInfo2KHR = PhysicalDeviceSparseImageFormatInfo2

type PhysicalDeviceSparseProperties

type PhysicalDeviceSparseProperties struct {
	ResidencyStandard2DBlockShape            Bool32
	ResidencyStandard2DMultisampleBlockShape Bool32
	ResidencyStandard3DBlockShape            Bool32
	ResidencyAlignedMipSize                  Bool32
	ResidencyNonResidentStrict               Bool32
}

type PhysicalDeviceSynchronization2Features

type PhysicalDeviceSynchronization2Features struct {
	SType            StructureType
	Next             unsafe.Pointer
	Synchronization2 Bool32
}

type PhysicalDeviceSynchronization2FeaturesKHR

type PhysicalDeviceSynchronization2FeaturesKHR = PhysicalDeviceSynchronization2Features

type PhysicalDeviceTimelineSemaphoreFeatures

type PhysicalDeviceTimelineSemaphoreFeatures struct {
	SType             StructureType
	Next              unsafe.Pointer
	TimelineSemaphore Bool32
}

type PhysicalDeviceTimelineSemaphoreFeaturesKHR

type PhysicalDeviceTimelineSemaphoreFeaturesKHR = PhysicalDeviceTimelineSemaphoreFeatures

type PhysicalDeviceTimelineSemaphoreProperties

type PhysicalDeviceTimelineSemaphoreProperties struct {
	SType                               StructureType
	Next                                unsafe.Pointer
	MaxTimelineSemaphoreValueDifference uint64
}

type PhysicalDeviceTimelineSemaphorePropertiesKHR

type PhysicalDeviceTimelineSemaphorePropertiesKHR = PhysicalDeviceTimelineSemaphoreProperties

type PhysicalDeviceType

type PhysicalDeviceType int32

type Pipeline

type Pipeline uint64

type PipelineBindPoint

type PipelineBindPoint int32

type PipelineCache

type PipelineCache uint64

type PipelineColorBlendAttachmentState

type PipelineColorBlendAttachmentState struct {
	BlendEnable         Bool32
	SrcColorBlendFactor BlendFactor
	DstColorBlendFactor BlendFactor
	ColorBlendOp        BlendOp
	SrcAlphaBlendFactor BlendFactor
	DstAlphaBlendFactor BlendFactor
	AlphaBlendOp        BlendOp
	ColorWriteMask      ColorComponentFlags
}

type PipelineColorBlendStateCreateFlagBits

type PipelineColorBlendStateCreateFlagBits int32

type PipelineColorBlendStateCreateFlags

type PipelineColorBlendStateCreateFlags uint32

type PipelineColorBlendStateCreateInfo

type PipelineColorBlendStateCreateInfo struct {
	SType           StructureType
	Next            unsafe.Pointer
	Flags           PipelineColorBlendStateCreateFlags
	LogicOpEnable   Bool32
	LogicOp         LogicOp
	AttachmentCount uint32
	Attachments     *PipelineColorBlendAttachmentState
	BlendConstants  [4]float32
}

type PipelineCreateFlagBits

type PipelineCreateFlagBits int32

type PipelineCreateFlags

type PipelineCreateFlags uint32

type PipelineDepthStencilStateCreateFlagBits

type PipelineDepthStencilStateCreateFlagBits int32

type PipelineDepthStencilStateCreateFlags

type PipelineDepthStencilStateCreateFlags uint32

type PipelineDepthStencilStateCreateInfo

type PipelineDepthStencilStateCreateInfo struct {
	SType                 StructureType
	Next                  unsafe.Pointer
	Flags                 PipelineDepthStencilStateCreateFlags
	DepthTestEnable       Bool32
	DepthWriteEnable      Bool32
	DepthCompareOp        CompareOp
	DepthBoundsTestEnable Bool32
	StencilTestEnable     Bool32
	Front                 StencilOpState
	Back                  StencilOpState
	MinDepthBounds        float32
	MaxDepthBounds        float32
}

type PipelineDynamicStateCreateFlags

type PipelineDynamicStateCreateFlags uint32

type PipelineDynamicStateCreateInfo

type PipelineDynamicStateCreateInfo struct {
	SType             StructureType
	Next              unsafe.Pointer
	Flags             PipelineDynamicStateCreateFlags
	DynamicStateCount uint32
	DynamicStates     *DynamicState
}

type PipelineInputAssemblyStateCreateFlags

type PipelineInputAssemblyStateCreateFlags uint32

type PipelineInputAssemblyStateCreateInfo

type PipelineInputAssemblyStateCreateInfo struct {
	SType                  StructureType
	Next                   unsafe.Pointer
	Flags                  PipelineInputAssemblyStateCreateFlags
	Topology               PrimitiveTopology
	PrimitiveRestartEnable Bool32
}

type PipelineLayout

type PipelineLayout uint64

type PipelineLayoutCreateFlagBits

type PipelineLayoutCreateFlagBits int32

type PipelineLayoutCreateFlags

type PipelineLayoutCreateFlags uint32

type PipelineLayoutCreateInfo

type PipelineLayoutCreateInfo struct {
	SType                  StructureType
	Next                   unsafe.Pointer
	Flags                  PipelineLayoutCreateFlags
	SetLayoutCount         uint32
	SetLayouts             *DescriptorSetLayout
	PushConstantRangeCount uint32
	PushConstantRanges     *PushConstantRange
}

type PipelineMultisampleStateCreateFlags

type PipelineMultisampleStateCreateFlags uint32

type PipelineMultisampleStateCreateInfo

type PipelineMultisampleStateCreateInfo struct {
	SType                 StructureType
	Next                  unsafe.Pointer
	Flags                 PipelineMultisampleStateCreateFlags
	RasterizationSamples  SampleCountFlagBits
	SampleShadingEnable   Bool32
	MinSampleShading      float32
	SampleMask            *SampleMask
	AlphaToCoverageEnable Bool32
	AlphaToOneEnable      Bool32
}

type PipelineRasterizationStateCreateFlags

type PipelineRasterizationStateCreateFlags uint32

type PipelineRasterizationStateCreateInfo

type PipelineRasterizationStateCreateInfo struct {
	SType                   StructureType
	Next                    unsafe.Pointer
	Flags                   PipelineRasterizationStateCreateFlags
	DepthClampEnable        Bool32
	RasterizerDiscardEnable Bool32
	PolygonMode             PolygonMode
	CullMode                CullModeFlags
	FrontFace               FrontFace
	DepthBiasEnable         Bool32
	DepthBiasConstantFactor float32
	DepthBiasClamp          float32
	DepthBiasSlopeFactor    float32
	LineWidth               float32
}

type PipelineRenderingCreateInfo

type PipelineRenderingCreateInfo struct {
	SType                   StructureType
	Next                    unsafe.Pointer
	ViewMask                uint32
	ColorAttachmentCount    uint32
	ColorAttachmentFormats  *Format
	DepthAttachmentFormat   Format
	StencilAttachmentFormat Format
}

type PipelineRenderingCreateInfoKHR

type PipelineRenderingCreateInfoKHR = PipelineRenderingCreateInfo

type PipelineShaderStageCreateFlagBits

type PipelineShaderStageCreateFlagBits int32

type PipelineShaderStageCreateFlags

type PipelineShaderStageCreateFlags uint32

type PipelineShaderStageCreateInfo

type PipelineShaderStageCreateInfo struct {
	SType              StructureType
	Next               unsafe.Pointer
	Flags              PipelineShaderStageCreateFlags
	Stage              ShaderStageFlagBits
	Module             ShaderModule
	Name               *byte
	SpecializationInfo *SpecializationInfo
}

type PipelineStageFlagBits

type PipelineStageFlagBits int32

type PipelineStageFlagBits2

type PipelineStageFlagBits2 int32

type PipelineStageFlagBits2KHR

type PipelineStageFlagBits2KHR = PipelineStageFlagBits2

type PipelineStageFlags

type PipelineStageFlags uint32

type PipelineStageFlags2

type PipelineStageFlags2 uint64

type PipelineStageFlags2KHR

type PipelineStageFlags2KHR = PipelineStageFlags2

type PipelineTessellationStateCreateFlags

type PipelineTessellationStateCreateFlags uint32

type PipelineTessellationStateCreateInfo

type PipelineTessellationStateCreateInfo struct {
	SType              StructureType
	Next               unsafe.Pointer
	Flags              PipelineTessellationStateCreateFlags
	PatchControlPoints uint32
}

type PipelineVertexInputStateCreateFlags

type PipelineVertexInputStateCreateFlags uint32

type PipelineVertexInputStateCreateInfo

type PipelineVertexInputStateCreateInfo struct {
	SType                           StructureType
	Next                            unsafe.Pointer
	Flags                           PipelineVertexInputStateCreateFlags
	VertexBindingDescriptionCount   uint32
	VertexBindingDescriptions       *VertexInputBindingDescription
	VertexAttributeDescriptionCount uint32
	VertexAttributeDescriptions     *VertexInputAttributeDescription
}

type PipelineViewportStateCreateFlags

type PipelineViewportStateCreateFlags uint32

type PipelineViewportStateCreateInfo

type PipelineViewportStateCreateInfo struct {
	SType         StructureType
	Next          unsafe.Pointer
	Flags         PipelineViewportStateCreateFlags
	ViewportCount uint32
	Viewports     *Viewport
	ScissorCount  uint32
	Scissors      *Rect2D
}

type PolygonMode

type PolygonMode int32

type PresentInfoKHR

type PresentInfoKHR struct {
	SType              StructureType
	Next               unsafe.Pointer
	WaitSemaphoreCount uint32
	WaitSemaphores     *Semaphore
	SwapchainCount     uint32
	Swapchains         *SwapchainKHR
	ImageIndices       *uint32
	Results            *Result
}

type PresentModeKHR

type PresentModeKHR int32

type PrimitiveTopology

type PrimitiveTopology int32

type PushConstantRange

type PushConstantRange struct {
	StageFlags ShaderStageFlags
	Offset     uint32
	Size       uint32
}

type QueryControlFlagBits

type QueryControlFlagBits int32

type QueryControlFlags

type QueryControlFlags uint32

type QueryPipelineStatisticFlagBits

type QueryPipelineStatisticFlagBits int32

type QueryPipelineStatisticFlags

type QueryPipelineStatisticFlags uint32

type QueryPool

type QueryPool uint64

type Queue

type Queue uintptr

type QueueFamilyGlobalPriorityProperties

type QueueFamilyGlobalPriorityProperties struct {
	SType         StructureType
	Next          unsafe.Pointer
	PriorityCount uint32
	Priorities    [MaxGlobalPrioritySize]QueueGlobalPriority
}

type QueueFamilyGlobalPriorityPropertiesKHR

type QueueFamilyGlobalPriorityPropertiesKHR = QueueFamilyGlobalPriorityProperties

type QueueFamilyProperties

type QueueFamilyProperties struct {
	QueueFlags                  QueueFlags
	QueueCount                  uint32
	TimestampValidBits          uint32
	MinImageTransferGranularity Extent3D
}

type QueueFamilyProperties2

type QueueFamilyProperties2 struct {
	SType                 StructureType
	Next                  unsafe.Pointer
	QueueFamilyProperties QueueFamilyProperties
}

type QueueFamilyProperties2KHR

type QueueFamilyProperties2KHR = QueueFamilyProperties2

type QueueFlagBits

type QueueFlagBits int32

type QueueFlags

type QueueFlags uint32

type QueueGlobalPriority

type QueueGlobalPriority int32

type QueueGlobalPriorityEXT

type QueueGlobalPriorityEXT = QueueGlobalPriority

type QueueGlobalPriorityKHR

type QueueGlobalPriorityKHR = QueueGlobalPriority

type Rect2D

type Rect2D struct {
	Offset Offset2D
	Extent Extent2D
}

type RenderPass

type RenderPass uint64

type RenderingAttachmentInfo

type RenderingAttachmentInfo struct {
	SType              StructureType
	Next               unsafe.Pointer
	ImageView          ImageView
	ImageLayout        ImageLayout
	ResolveMode        ResolveModeFlagBits
	ResolveImageView   ImageView
	ResolveImageLayout ImageLayout
	LoadOp             AttachmentLoadOp
	StoreOp            AttachmentStoreOp
	ClearValue         ClearValue
}

type RenderingAttachmentInfoKHR

type RenderingAttachmentInfoKHR = RenderingAttachmentInfo

type RenderingFlagBits

type RenderingFlagBits int32

type RenderingFlagBitsKHR

type RenderingFlagBitsKHR = RenderingFlagBits

type RenderingFlags

type RenderingFlags uint32

type RenderingFlagsKHR

type RenderingFlagsKHR = RenderingFlags

type RenderingInfo

type RenderingInfo struct {
	SType                StructureType
	Next                 unsafe.Pointer
	Flags                RenderingFlags
	RenderArea           Rect2D
	LayerCount           uint32
	ViewMask             uint32
	ColorAttachmentCount uint32
	ColorAttachments     *RenderingAttachmentInfo
	DepthAttachment      *RenderingAttachmentInfo
	StencilAttachment    *RenderingAttachmentInfo
}

type RenderingInfoKHR

type RenderingInfoKHR = RenderingInfo

type ResolveModeFlagBits

type ResolveModeFlagBits int32

type Result

type Result int32
const DebugUtilsMessageSeverityErrorBitEXT Result = 1 << 12
const ErrorDeviceLost Result = -4
const ErrorExtensionNotPresent Result = -7
const ErrorFeatureNotPresent Result = -8
const ErrorFormatNotSupported Result = -11
const ErrorFragmentedPool Result = -12
const ErrorIncompatibleDriver Result = -9
const ErrorInitializationFailed Result = -3
const ErrorInvalidDRMFormatModifierPlaneLayoutEXT Result = -1000158000
const ErrorInvalidExternalHandleKHR Result = -1000072003
const ErrorLayerNotPresent Result = -6
const ErrorMemoryMapFailed Result = -5
const ErrorNativeWindowInUseKHR Result = -1000000001
const ErrorNotPermittedEXT Result = -1000174001
const ErrorNotPermittedKHR Result = -1000174001
const ErrorOutOfDateKHR Result = -1000001004
const ErrorOutOfDeviceMemory Result = -2
const ErrorOutOfHostMemory Result = -1
const ErrorSurfaceLostKHR Result = -1000000000
const ErrorTooManyObjects Result = -10
const ErrorUnknown Result = -13
const EventReset Result = 4
const EventSet Result = 3
const Incomplete Result = 5
const NotReady Result = 1
const SuboptimalKHR Result = 1000001003
const Success Result = 0
const Timeout Result = 2

type SampleCountFlagBits

type SampleCountFlagBits int32

type SampleCountFlags

type SampleCountFlags uint32

type SampleMask

type SampleMask uint32

type Sampler

type Sampler uint64

type SamplerAddressMode

type SamplerAddressMode int32

type SamplerCreateFlagBits

type SamplerCreateFlagBits int32

type SamplerCreateFlags

type SamplerCreateFlags uint32

type SamplerCreateInfo

type SamplerCreateInfo struct {
	SType                   StructureType
	Next                    unsafe.Pointer
	Flags                   SamplerCreateFlags
	MagFilter               Filter
	MinFilter               Filter
	MipmapMode              SamplerMipmapMode
	AddressModeU            SamplerAddressMode
	AddressModeV            SamplerAddressMode
	AddressModeW            SamplerAddressMode
	MipLodBias              float32
	AnisotropyEnable        Bool32
	MaxAnisotropy           float32
	CompareEnable           Bool32
	CompareOp               CompareOp
	MinLod                  float32
	MaxLod                  float32
	BorderColor             BorderColor
	UnnormalizedCoordinates Bool32
}

type SamplerMipmapMode

type SamplerMipmapMode int32

type Semaphore

type Semaphore uint64

type SemaphoreCreateFlags

type SemaphoreCreateFlags uint32

type SemaphoreCreateInfo

type SemaphoreCreateInfo struct {
	SType StructureType
	Next  unsafe.Pointer
	Flags SemaphoreCreateFlags
}

type SemaphoreGetFdInfoKHR

type SemaphoreGetFdInfoKHR struct {
	SType      StructureType
	Next       unsafe.Pointer
	Semaphore  Semaphore
	HandleType ExternalSemaphoreHandleTypeFlagBits
}

type SemaphoreImportFlagBits

type SemaphoreImportFlagBits int32

type SemaphoreImportFlagBitsKHR

type SemaphoreImportFlagBitsKHR = SemaphoreImportFlagBits

type SemaphoreImportFlags

type SemaphoreImportFlags uint32

type SemaphoreImportFlagsKHR

type SemaphoreImportFlagsKHR = SemaphoreImportFlags

type SemaphoreSignalInfo

type SemaphoreSignalInfo struct {
	SType     StructureType
	Next      unsafe.Pointer
	Semaphore Semaphore
	Value     uint64
}

type SemaphoreSignalInfoKHR

type SemaphoreSignalInfoKHR = SemaphoreSignalInfo

type SemaphoreSubmitInfo

type SemaphoreSubmitInfo struct {
	SType       StructureType
	Next        unsafe.Pointer
	Semaphore   Semaphore
	Value       uint64
	StageMask   PipelineStageFlags2
	DeviceIndex uint32
}

type SemaphoreSubmitInfoKHR

type SemaphoreSubmitInfoKHR = SemaphoreSubmitInfo

type SemaphoreType

type SemaphoreType int32

type SemaphoreTypeCreateInfo

type SemaphoreTypeCreateInfo struct {
	SType         StructureType
	Next          unsafe.Pointer
	SemaphoreType SemaphoreType
	InitialValue  uint64
}

type SemaphoreTypeCreateInfoKHR

type SemaphoreTypeCreateInfoKHR = SemaphoreTypeCreateInfo

type SemaphoreTypeKHR

type SemaphoreTypeKHR = SemaphoreType

type SemaphoreWaitFlagBits

type SemaphoreWaitFlagBits int32

type SemaphoreWaitFlagBitsKHR

type SemaphoreWaitFlagBitsKHR = SemaphoreWaitFlagBits

type SemaphoreWaitFlags

type SemaphoreWaitFlags uint32

type SemaphoreWaitFlagsKHR

type SemaphoreWaitFlagsKHR = SemaphoreWaitFlags

type SemaphoreWaitInfo

type SemaphoreWaitInfo struct {
	SType          StructureType
	Next           unsafe.Pointer
	Flags          SemaphoreWaitFlags
	SemaphoreCount uint32
	Semaphores     *Semaphore
	Values         *uint64
}

type SemaphoreWaitInfoKHR

type SemaphoreWaitInfoKHR = SemaphoreWaitInfo

type ShaderModule

type ShaderModule uint64

type ShaderModuleCreateFlags

type ShaderModuleCreateFlags uint32

type ShaderModuleCreateInfo

type ShaderModuleCreateInfo struct {
	SType    StructureType
	Next     unsafe.Pointer
	Flags    ShaderModuleCreateFlags
	CodeSize uintptr
	Code     *uint32
}

type ShaderStageFlagBits

type ShaderStageFlagBits int32

type ShaderStageFlags

type ShaderStageFlags uint32

type SharingMode

type SharingMode int32

type SparseImageFormatFlagBits

type SparseImageFormatFlagBits int32

type SparseImageFormatFlags

type SparseImageFormatFlags uint32

type SparseImageFormatProperties

type SparseImageFormatProperties struct {
	AspectMask       ImageAspectFlags
	ImageGranularity Extent3D
	Flags            SparseImageFormatFlags
}

type SparseImageFormatProperties2

type SparseImageFormatProperties2 struct {
	SType      StructureType
	Next       unsafe.Pointer
	Properties SparseImageFormatProperties
}

type SparseImageFormatProperties2KHR

type SparseImageFormatProperties2KHR = SparseImageFormatProperties2

type SparseImageMemoryRequirements

type SparseImageMemoryRequirements struct {
	FormatProperties     SparseImageFormatProperties
	ImageMipTailFirstLod uint32
	ImageMipTailSize     DeviceSize
	ImageMipTailOffset   DeviceSize
	ImageMipTailStride   DeviceSize
}

type SparseImageMemoryRequirements2

type SparseImageMemoryRequirements2 struct {
	SType              StructureType
	Next               unsafe.Pointer
	MemoryRequirements SparseImageMemoryRequirements
}

type SparseImageMemoryRequirements2KHR

type SparseImageMemoryRequirements2KHR = SparseImageMemoryRequirements2

type SpecializationInfo

type SpecializationInfo struct {
	MapEntryCount uint32
	MapEntries    *SpecializationMapEntry
	DataSize      uintptr
	Data          unsafe.Pointer
}

type SpecializationMapEntry

type SpecializationMapEntry struct {
	ConstantID uint32
	Offset     uint32
	Size       uintptr
}

type StencilOp

type StencilOp int32

type StencilOpState

type StencilOpState struct {
	FailOp      StencilOp
	PassOp      StencilOp
	DepthFailOp StencilOp
	CompareOp   CompareOp
	CompareMask uint32
	WriteMask   uint32
	Reference   uint32
}

type StructureType

type StructureType int32

type SubmitFlagBits

type SubmitFlagBits int32

type SubmitFlagBitsKHR

type SubmitFlagBitsKHR = SubmitFlagBits

type SubmitFlags

type SubmitFlags uint32

type SubmitFlagsKHR

type SubmitFlagsKHR = SubmitFlags

type SubmitInfo

type SubmitInfo struct {
	SType                StructureType
	Next                 unsafe.Pointer
	WaitSemaphoreCount   uint32
	WaitSemaphores       *Semaphore
	WaitDstStageMask     *PipelineStageFlags
	CommandBufferCount   uint32
	CommandBuffers       *CommandBuffer
	SignalSemaphoreCount uint32
	SignalSemaphores     *Semaphore
}

type SubmitInfo2

type SubmitInfo2 struct {
	SType                    StructureType
	Next                     unsafe.Pointer
	Flags                    SubmitFlags
	WaitSemaphoreInfoCount   uint32
	WaitSemaphoreInfos       *SemaphoreSubmitInfo
	CommandBufferInfoCount   uint32
	CommandBufferInfos       *CommandBufferSubmitInfo
	SignalSemaphoreInfoCount uint32
	SignalSemaphoreInfos     *SemaphoreSubmitInfo
}

type SubmitInfo2KHR

type SubmitInfo2KHR = SubmitInfo2

type SubresourceLayout

type SubresourceLayout struct {
	Offset     DeviceSize
	Size       DeviceSize
	RowPitch   DeviceSize
	ArrayPitch DeviceSize
	DepthPitch DeviceSize
}

type SurfaceCapabilitiesKHR

type SurfaceCapabilitiesKHR struct {
	MinImageCount           uint32
	MaxImageCount           uint32
	CurrentExtent           Extent2D
	MinImageExtent          Extent2D
	MaxImageExtent          Extent2D
	MaxImageArrayLayers     uint32
	SupportedTransforms     SurfaceTransformFlagsKHR
	CurrentTransform        SurfaceTransformFlagBitsKHR
	SupportedCompositeAlpha CompositeAlphaFlagsKHR
	SupportedUsageFlags     ImageUsageFlags
}

type SurfaceFormatKHR

type SurfaceFormatKHR struct {
	Format     Format
	ColorSpace ColorSpaceKHR
}

type SurfaceKHR

type SurfaceKHR uint64

type SurfaceTransformFlagBitsKHR

type SurfaceTransformFlagBitsKHR int32

type SurfaceTransformFlagsKHR

type SurfaceTransformFlagsKHR uint32

type SwapchainCreateFlagBitsKHR

type SwapchainCreateFlagBitsKHR int32

type SwapchainCreateFlagsKHR

type SwapchainCreateFlagsKHR uint32

type SwapchainCreateInfoKHR

type SwapchainCreateInfoKHR struct {
	SType                 StructureType
	Next                  unsafe.Pointer
	Flags                 SwapchainCreateFlagsKHR
	Surface               SurfaceKHR
	MinImageCount         uint32
	ImageFormat           Format
	ImageColorSpace       ColorSpaceKHR
	ImageExtent           Extent2D
	ImageArrayLayers      uint32
	ImageUsage            ImageUsageFlags
	ImageSharingMode      SharingMode
	QueueFamilyIndexCount uint32
	QueueFamilyIndices    *uint32
	PreTransform          SurfaceTransformFlagBitsKHR
	CompositeAlpha        CompositeAlphaFlagBitsKHR
	PresentMode           PresentModeKHR
	Clipped               Bool32
	OldSwapchain          SwapchainKHR
}

type SwapchainKHR

type SwapchainKHR uint64

type TimelineSemaphoreSubmitInfo

type TimelineSemaphoreSubmitInfo struct {
	SType                     StructureType
	Next                      unsafe.Pointer
	WaitSemaphoreValueCount   uint32
	WaitSemaphoreValues       *uint64
	SignalSemaphoreValueCount uint32
	SignalSemaphoreValues     *uint64
}

type TimelineSemaphoreSubmitInfoKHR

type TimelineSemaphoreSubmitInfoKHR = TimelineSemaphoreSubmitInfo

type VertexInputAttributeDescription

type VertexInputAttributeDescription struct {
	Location uint32
	Binding  uint32
	Format   Format
	Offset   uint32
}

type VertexInputBindingDescription

type VertexInputBindingDescription struct {
	Binding   uint32
	Stride    uint32
	InputRate VertexInputRate
}

type VertexInputRate

type VertexInputRate int32

type Viewport

type Viewport struct {
	X        float32
	Y        float32
	Width    float32
	Height   float32
	MinDepth float32
	MaxDepth float32
}

type WaylandSurfaceCreateFlagsKHR

type WaylandSurfaceCreateFlagsKHR uint32

type WaylandSurfaceCreateInfoKHR

type WaylandSurfaceCreateInfoKHR struct {
	SType   StructureType
	Next    unsafe.Pointer
	Flags   WaylandSurfaceCreateFlagsKHR
	Display unsafe.Pointer
	Surface unsafe.Pointer
}

type WriteDescriptorSet

type WriteDescriptorSet struct {
	SType           StructureType
	Next            unsafe.Pointer
	DstSet          DescriptorSet
	DstBinding      uint32
	DstArrayElement uint32
	DescriptorCount uint32
	DescriptorType  DescriptorType
	ImageInfo       *DescriptorImageInfo
	BufferInfo      *DescriptorBufferInfo
	TexelBufferView *BufferView
}

type XcbSurfaceCreateFlagsKHR

type XcbSurfaceCreateFlagsKHR uint32

type XcbSurfaceCreateInfoKHR

type XcbSurfaceCreateInfoKHR struct {
	SType      StructureType
	Next       unsafe.Pointer
	Flags      XcbSurfaceCreateFlagsKHR
	Connection unsafe.Pointer
	Window     uint32
}

type XlibSurfaceCreateFlagsKHR

type XlibSurfaceCreateFlagsKHR uint32

type XlibSurfaceCreateInfoKHR

type XlibSurfaceCreateInfoKHR struct {
	SType  StructureType
	Next   unsafe.Pointer
	Flags  XlibSurfaceCreateFlagsKHR
	Dpy    unsafe.Pointer
	Window uintptr
}

Source Files

  • commands_gen.go
  • constants_gen.go
  • dispatch.go
  • dispatch_gen.go
  • doc.go
  • init.go
  • loader.go
  • strings_gen.go
  • types_gen.go
  • version.go

Jump to

Keyboard shortcuts

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