vulkan: github.com/vulkan-go/vulkan Index | Files

package vulkan

import "github.com/vulkan-go/vulkan"

Package vulkan provides Go bindings for vulkan.h

Index

Package Files

cgo_helpers.go const.go doc.go errors.go init.go types.go util.go vk_null64.go vulkan.go vulkan_linux.go

Constants

const (
    // NoPrototypes as defined in vulkan/<predefine>:24
    NoPrototypes = 1
    // Version10 as defined in vulkan/vulkan_core.h:30
    Version10 = 1
    // ApiVersion10 as defined in vulkan/vulkan_core.h:40
    ApiVersion10 = 4194304
    // HeaderVersion as defined in vulkan/vulkan_core.h:46
    HeaderVersion = 88
    // LodClampNone as defined in vulkan/vulkan_core.h:97
    LodClampNone = 1000.0
    // RemainingMipLevels as defined in vulkan/vulkan_core.h:98
    RemainingMipLevels = (^uint32(0))
    // RemainingArrayLayers as defined in vulkan/vulkan_core.h:99
    RemainingArrayLayers = (^uint32(0))
    // WholeSize as defined in vulkan/vulkan_core.h:100
    WholeSize = (^uint64(0))
    // AttachmentUnused as defined in vulkan/vulkan_core.h:101
    AttachmentUnused = (^uint32(0))
    // True as defined in vulkan/vulkan_core.h:102
    True = 1
    // False as defined in vulkan/vulkan_core.h:103
    False = 0
    // QueueFamilyIgnored as defined in vulkan/vulkan_core.h:104
    QueueFamilyIgnored = (^uint32(0))
    // SubpassExternal as defined in vulkan/vulkan_core.h:105
    SubpassExternal = (^uint32(0))
    // MaxPhysicalDeviceNameSize as defined in vulkan/vulkan_core.h:106
    MaxPhysicalDeviceNameSize = 256
    // UuidSize as defined in vulkan/vulkan_core.h:107
    UuidSize = 16
    // MaxMemoryTypes as defined in vulkan/vulkan_core.h:108
    MaxMemoryTypes = 32
    // MaxMemoryHeaps as defined in vulkan/vulkan_core.h:109
    MaxMemoryHeaps = 16
    // MaxExtensionNameSize as defined in vulkan/vulkan_core.h:110
    MaxExtensionNameSize = 256
    // MaxDescriptionSize as defined in vulkan/vulkan_core.h:111
    MaxDescriptionSize = 256
    // Version11 as defined in vulkan/vulkan_core.h:3787
    Version11 = 1
    // ApiVersion11 as defined in vulkan/vulkan_core.h:3789
    ApiVersion11 = 4198400
    // MaxDeviceGroupSize as defined in vulkan/vulkan_core.h:3795
    MaxDeviceGroupSize = 32
    // LuidSize as defined in vulkan/vulkan_core.h:3796
    LuidSize = 8
    // QueueFamilyExternal as defined in vulkan/vulkan_core.h:3797
    QueueFamilyExternal = (^uint32(0) - 1)
    // KhrSurface as defined in vulkan/vulkan_core.h:4665
    KhrSurface = 1
    // KhrSurfaceSpecVersion as defined in vulkan/vulkan_core.h:4668
    KhrSurfaceSpecVersion = 25
    // KhrSurfaceExtensionName as defined in vulkan/vulkan_core.h:4669
    KhrSurfaceExtensionName = "VK_KHR_surface"
    // KhrSwapchain as defined in vulkan/vulkan_core.h:4787
    KhrSwapchain = 1
    // KhrSwapchainSpecVersion as defined in vulkan/vulkan_core.h:4790
    KhrSwapchainSpecVersion = 70
    // KhrSwapchainExtensionName as defined in vulkan/vulkan_core.h:4791
    KhrSwapchainExtensionName = "VK_KHR_swapchain"
    // KhrDisplay as defined in vulkan/vulkan_core.h:4948
    KhrDisplay = 1
    // KhrDisplaySpecVersion as defined in vulkan/vulkan_core.h:4952
    KhrDisplaySpecVersion = 21
    // KhrDisplayExtensionName as defined in vulkan/vulkan_core.h:4953
    KhrDisplayExtensionName = "VK_KHR_display"
    // KhrDisplaySwapchain as defined in vulkan/vulkan_core.h:5076
    KhrDisplaySwapchain = 1
    // KhrDisplaySwapchainSpecVersion as defined in vulkan/vulkan_core.h:5077
    KhrDisplaySwapchainSpecVersion = 9
    // KhrDisplaySwapchainExtensionName as defined in vulkan/vulkan_core.h:5078
    KhrDisplaySwapchainExtensionName = "VK_KHR_display_swapchain"
    // KhrSamplerMirrorClampToEdge as defined in vulkan/vulkan_core.h:5100
    KhrSamplerMirrorClampToEdge = 1
    // KhrSamplerMirrorClampToEdgeSpecVersion as defined in vulkan/vulkan_core.h:5101
    KhrSamplerMirrorClampToEdgeSpecVersion = 1
    // KhrSamplerMirrorClampToEdgeExtensionName as defined in vulkan/vulkan_core.h:5102
    KhrSamplerMirrorClampToEdgeExtensionName = "VK_KHR_sampler_mirror_clamp_to_edge"
    // KhrMultiview as defined in vulkan/vulkan_core.h:5105
    KhrMultiview = 1
    // KhrMultiviewSpecVersion as defined in vulkan/vulkan_core.h:5106
    KhrMultiviewSpecVersion = 1
    // KhrMultiviewExtensionName as defined in vulkan/vulkan_core.h:5107
    KhrMultiviewExtensionName = "VK_KHR_multiview"
    // KhrGetPhysicalDeviceProperties2 as defined in vulkan/vulkan_core.h:5117
    KhrGetPhysicalDeviceProperties2 = 1
    // KhrGetPhysicalDeviceProperties2SpecVersion as defined in vulkan/vulkan_core.h:5118
    KhrGetPhysicalDeviceProperties2SpecVersion = 1
    // KhrGetPhysicalDeviceProperties2ExtensionName as defined in vulkan/vulkan_core.h:5119
    KhrGetPhysicalDeviceProperties2ExtensionName = "VK_KHR_get_physical_device_properties2"
    // KhrDeviceGroup as defined in vulkan/vulkan_core.h:5183
    KhrDeviceGroup = 1
    // KhrDeviceGroupSpecVersion as defined in vulkan/vulkan_core.h:5184
    KhrDeviceGroupSpecVersion = 3
    // KhrDeviceGroupExtensionName as defined in vulkan/vulkan_core.h:5185
    KhrDeviceGroupExtensionName = "VK_KHR_device_group"
    // KhrShaderDrawParameters as defined in vulkan/vulkan_core.h:5237
    KhrShaderDrawParameters = 1
    // KhrShaderDrawParametersSpecVersion as defined in vulkan/vulkan_core.h:5238
    KhrShaderDrawParametersSpecVersion = 1
    // KhrShaderDrawParametersExtensionName as defined in vulkan/vulkan_core.h:5239
    KhrShaderDrawParametersExtensionName = "VK_KHR_shader_draw_parameters"
    // KhrMaintenance1 as defined in vulkan/vulkan_core.h:5242
    KhrMaintenance1 = 1
    // KhrMaintenance1SpecVersion as defined in vulkan/vulkan_core.h:5243
    KhrMaintenance1SpecVersion = 2
    // KhrMaintenance1ExtensionName as defined in vulkan/vulkan_core.h:5244
    KhrMaintenance1ExtensionName = "VK_KHR_maintenance1"
    // KhrDeviceGroupCreation as defined in vulkan/vulkan_core.h:5258
    KhrDeviceGroupCreation = 1
    // KhrDeviceGroupCreationSpecVersion as defined in vulkan/vulkan_core.h:5259
    KhrDeviceGroupCreationSpecVersion = 1
    // KhrDeviceGroupCreationExtensionName as defined in vulkan/vulkan_core.h:5260
    KhrDeviceGroupCreationExtensionName = "VK_KHR_device_group_creation"
    // KhrExternalMemoryCapabilities as defined in vulkan/vulkan_core.h:5277
    KhrExternalMemoryCapabilities = 1
    // KhrExternalMemoryCapabilitiesSpecVersion as defined in vulkan/vulkan_core.h:5278
    KhrExternalMemoryCapabilitiesSpecVersion = 1
    // KhrExternalMemoryCapabilitiesExtensionName as defined in vulkan/vulkan_core.h:5279
    KhrExternalMemoryCapabilitiesExtensionName = "VK_KHR_external_memory_capabilities"
    // KhrExternalMemory as defined in vulkan/vulkan_core.h:5313
    KhrExternalMemory = 1
    // KhrExternalMemorySpecVersion as defined in vulkan/vulkan_core.h:5314
    KhrExternalMemorySpecVersion = 1
    // KhrExternalMemoryExtensionName as defined in vulkan/vulkan_core.h:5315
    KhrExternalMemoryExtensionName = "VK_KHR_external_memory"
    // KhrExternalMemoryFd as defined in vulkan/vulkan_core.h:5326
    KhrExternalMemoryFd = 1
    // KhrExternalMemoryFdSpecVersion as defined in vulkan/vulkan_core.h:5327
    KhrExternalMemoryFdSpecVersion = 1
    // KhrExternalMemoryFdExtensionName as defined in vulkan/vulkan_core.h:5328
    KhrExternalMemoryFdExtensionName = "VK_KHR_external_memory_fd"
    // KhrExternalSemaphoreCapabilities as defined in vulkan/vulkan_core.h:5367
    KhrExternalSemaphoreCapabilities = 1
    // KhrExternalSemaphoreCapabilitiesSpecVersion as defined in vulkan/vulkan_core.h:5368
    KhrExternalSemaphoreCapabilitiesSpecVersion = 1
    // KhrExternalSemaphoreCapabilitiesExtensionName as defined in vulkan/vulkan_core.h:5369
    KhrExternalSemaphoreCapabilitiesExtensionName = "VK_KHR_external_semaphore_capabilities"
    // KhrExternalSemaphore as defined in vulkan/vulkan_core.h:5394
    KhrExternalSemaphore = 1
    // KhrExternalSemaphoreSpecVersion as defined in vulkan/vulkan_core.h:5395
    KhrExternalSemaphoreSpecVersion = 1
    // KhrExternalSemaphoreExtensionName as defined in vulkan/vulkan_core.h:5396
    KhrExternalSemaphoreExtensionName = "VK_KHR_external_semaphore"
    // KhrExternalSemaphoreFd as defined in vulkan/vulkan_core.h:5407
    KhrExternalSemaphoreFd = 1
    // KhrExternalSemaphoreFdSpecVersion as defined in vulkan/vulkan_core.h:5408
    KhrExternalSemaphoreFdSpecVersion = 1
    // KhrExternalSemaphoreFdExtensionName as defined in vulkan/vulkan_core.h:5409
    KhrExternalSemaphoreFdExtensionName = "VK_KHR_external_semaphore_fd"
    // KhrPushDescriptor as defined in vulkan/vulkan_core.h:5442
    KhrPushDescriptor = 1
    // KhrPushDescriptorSpecVersion as defined in vulkan/vulkan_core.h:5443
    KhrPushDescriptorSpecVersion = 2
    // KhrPushDescriptorExtensionName as defined in vulkan/vulkan_core.h:5444
    KhrPushDescriptorExtensionName = "VK_KHR_push_descriptor"
    // Khr16bitStorage as defined in vulkan/vulkan_core.h:5473
    Khr16bitStorage = 1
    // Khr16bitStorageSpecVersion as defined in vulkan/vulkan_core.h:5474
    Khr16bitStorageSpecVersion = 1
    // Khr16bitStorageExtensionName as defined in vulkan/vulkan_core.h:5475
    Khr16bitStorageExtensionName = "VK_KHR_16bit_storage"
    // KhrIncrementalPresent as defined in vulkan/vulkan_core.h:5481
    KhrIncrementalPresent = 1
    // KhrIncrementalPresentSpecVersion as defined in vulkan/vulkan_core.h:5482
    KhrIncrementalPresentSpecVersion = 1
    // KhrIncrementalPresentExtensionName as defined in vulkan/vulkan_core.h:5483
    KhrIncrementalPresentExtensionName = "VK_KHR_incremental_present"
    // KhrDescriptorUpdateTemplate as defined in vulkan/vulkan_core.h:5505
    KhrDescriptorUpdateTemplate = 1
    // KhrDescriptorUpdateTemplateSpecVersion as defined in vulkan/vulkan_core.h:5509
    KhrDescriptorUpdateTemplateSpecVersion = 1
    // KhrDescriptorUpdateTemplateExtensionName as defined in vulkan/vulkan_core.h:5510
    KhrDescriptorUpdateTemplateExtensionName = "VK_KHR_descriptor_update_template"
    // KhrCreateRenderpass2 as defined in vulkan/vulkan_core.h:5546
    KhrCreateRenderpass2 = 1
    // KhrCreateRenderpass2SpecVersion as defined in vulkan/vulkan_core.h:5547
    KhrCreateRenderpass2SpecVersion = 1
    // KhrCreateRenderpass2ExtensionName as defined in vulkan/vulkan_core.h:5548
    KhrCreateRenderpass2ExtensionName = "VK_KHR_create_renderpass2"
    // KhrSharedPresentableImage as defined in vulkan/vulkan_core.h:5654
    KhrSharedPresentableImage = 1
    // KhrSharedPresentableImageSpecVersion as defined in vulkan/vulkan_core.h:5655
    KhrSharedPresentableImageSpecVersion = 1
    // KhrSharedPresentableImageExtensionName as defined in vulkan/vulkan_core.h:5656
    KhrSharedPresentableImageExtensionName = "VK_KHR_shared_presentable_image"
    // KhrExternalFenceCapabilities as defined in vulkan/vulkan_core.h:5673
    KhrExternalFenceCapabilities = 1
    // KhrExternalFenceCapabilitiesSpecVersion as defined in vulkan/vulkan_core.h:5674
    KhrExternalFenceCapabilitiesSpecVersion = 1
    // KhrExternalFenceCapabilitiesExtensionName as defined in vulkan/vulkan_core.h:5675
    KhrExternalFenceCapabilitiesExtensionName = "VK_KHR_external_fence_capabilities"
    // KhrExternalFence as defined in vulkan/vulkan_core.h:5700
    KhrExternalFence = 1
    // KhrExternalFenceSpecVersion as defined in vulkan/vulkan_core.h:5701
    KhrExternalFenceSpecVersion = 1
    // KhrExternalFenceExtensionName as defined in vulkan/vulkan_core.h:5702
    KhrExternalFenceExtensionName = "VK_KHR_external_fence"
    // KhrExternalFenceFd as defined in vulkan/vulkan_core.h:5713
    KhrExternalFenceFd = 1
    // KhrExternalFenceFdSpecVersion as defined in vulkan/vulkan_core.h:5714
    KhrExternalFenceFdSpecVersion = 1
    // KhrExternalFenceFdExtensionName as defined in vulkan/vulkan_core.h:5715
    KhrExternalFenceFdExtensionName = "VK_KHR_external_fence_fd"
    // KhrMaintenance2 as defined in vulkan/vulkan_core.h:5748
    KhrMaintenance2 = 1
    // KhrMaintenance2SpecVersion as defined in vulkan/vulkan_core.h:5749
    KhrMaintenance2SpecVersion = 1
    // KhrMaintenance2ExtensionName as defined in vulkan/vulkan_core.h:5750
    KhrMaintenance2ExtensionName = "VK_KHR_maintenance2"
    // KhrGetSurfaceCapabilities2 as defined in vulkan/vulkan_core.h:5769
    KhrGetSurfaceCapabilities2 = 1
    // KhrGetSurfaceCapabilities2SpecVersion as defined in vulkan/vulkan_core.h:5770
    KhrGetSurfaceCapabilities2SpecVersion = 1
    // KhrGetSurfaceCapabilities2ExtensionName as defined in vulkan/vulkan_core.h:5771
    KhrGetSurfaceCapabilities2ExtensionName = "VK_KHR_get_surface_capabilities2"
    // KhrVariablePointers as defined in vulkan/vulkan_core.h:5808
    KhrVariablePointers = 1
    // KhrVariablePointersSpecVersion as defined in vulkan/vulkan_core.h:5809
    KhrVariablePointersSpecVersion = 1
    // KhrVariablePointersExtensionName as defined in vulkan/vulkan_core.h:5810
    KhrVariablePointersExtensionName = "VK_KHR_variable_pointers"
    // KhrGetDisplayProperties2 as defined in vulkan/vulkan_core.h:5816
    KhrGetDisplayProperties2 = 1
    // KhrGetDisplayProperties2SpecVersion as defined in vulkan/vulkan_core.h:5817
    KhrGetDisplayProperties2SpecVersion = 1
    // KhrGetDisplayProperties2ExtensionName as defined in vulkan/vulkan_core.h:5818
    KhrGetDisplayProperties2ExtensionName = "VK_KHR_get_display_properties2"
    // KhrDedicatedAllocation as defined in vulkan/vulkan_core.h:5880
    KhrDedicatedAllocation = 1
    // KhrDedicatedAllocationSpecVersion as defined in vulkan/vulkan_core.h:5881
    KhrDedicatedAllocationSpecVersion = 3
    // KhrDedicatedAllocationExtensionName as defined in vulkan/vulkan_core.h:5882
    KhrDedicatedAllocationExtensionName = "VK_KHR_dedicated_allocation"
    // KhrStorageBufferStorageClass as defined in vulkan/vulkan_core.h:5890
    KhrStorageBufferStorageClass = 1
    // KhrStorageBufferStorageClassSpecVersion as defined in vulkan/vulkan_core.h:5891
    KhrStorageBufferStorageClassSpecVersion = 1
    // KhrStorageBufferStorageClassExtensionName as defined in vulkan/vulkan_core.h:5892
    KhrStorageBufferStorageClassExtensionName = "VK_KHR_storage_buffer_storage_class"
    // KhrRelaxedBlockLayout as defined in vulkan/vulkan_core.h:5895
    KhrRelaxedBlockLayout = 1
    // KhrRelaxedBlockLayoutSpecVersion as defined in vulkan/vulkan_core.h:5896
    KhrRelaxedBlockLayoutSpecVersion = 1
    // KhrRelaxedBlockLayoutExtensionName as defined in vulkan/vulkan_core.h:5897
    KhrRelaxedBlockLayoutExtensionName = "VK_KHR_relaxed_block_layout"
    // KhrGetMemoryRequirements2 as defined in vulkan/vulkan_core.h:5900
    KhrGetMemoryRequirements2 = 1
    // KhrGetMemoryRequirements2SpecVersion as defined in vulkan/vulkan_core.h:5901
    KhrGetMemoryRequirements2SpecVersion = 1
    // KhrGetMemoryRequirements2ExtensionName as defined in vulkan/vulkan_core.h:5902
    KhrGetMemoryRequirements2ExtensionName = "VK_KHR_get_memory_requirements2"
    // KhrImageFormatList as defined in vulkan/vulkan_core.h:5935
    KhrImageFormatList = 1
    // KhrImageFormatListSpecVersion as defined in vulkan/vulkan_core.h:5936
    KhrImageFormatListSpecVersion = 1
    // KhrImageFormatListExtensionName as defined in vulkan/vulkan_core.h:5937
    KhrImageFormatListExtensionName = "VK_KHR_image_format_list"
    // KhrSamplerYcbcrConversion as defined in vulkan/vulkan_core.h:5948
    KhrSamplerYcbcrConversion = 1
    // KhrSamplerYcbcrConversionSpecVersion as defined in vulkan/vulkan_core.h:5952
    KhrSamplerYcbcrConversionSpecVersion = 1
    // KhrSamplerYcbcrConversionExtensionName as defined in vulkan/vulkan_core.h:5953
    KhrSamplerYcbcrConversionExtensionName = "VK_KHR_sampler_ycbcr_conversion"
    // KhrBindMemory2 as defined in vulkan/vulkan_core.h:5991
    KhrBindMemory2 = 1
    // KhrBindMemory2SpecVersion as defined in vulkan/vulkan_core.h:5992
    KhrBindMemory2SpecVersion = 1
    // KhrBindMemory2ExtensionName as defined in vulkan/vulkan_core.h:5993
    KhrBindMemory2ExtensionName = "VK_KHR_bind_memory2"
    // KhrMaintenance3 as defined in vulkan/vulkan_core.h:6015
    KhrMaintenance3 = 1
    // KhrMaintenance3SpecVersion as defined in vulkan/vulkan_core.h:6016
    KhrMaintenance3SpecVersion = 1
    // KhrMaintenance3ExtensionName as defined in vulkan/vulkan_core.h:6017
    KhrMaintenance3ExtensionName = "VK_KHR_maintenance3"
    // KhrDrawIndirectCount as defined in vulkan/vulkan_core.h:6033
    KhrDrawIndirectCount = 1
    // KhrDrawIndirectCountSpecVersion as defined in vulkan/vulkan_core.h:6034
    KhrDrawIndirectCountSpecVersion = 1
    // KhrDrawIndirectCountExtensionName as defined in vulkan/vulkan_core.h:6035
    KhrDrawIndirectCountExtensionName = "VK_KHR_draw_indirect_count"
    // Khr8bitStorage as defined in vulkan/vulkan_core.h:6060
    Khr8bitStorage = 1
    // Khr8bitStorageSpecVersion as defined in vulkan/vulkan_core.h:6061
    Khr8bitStorageSpecVersion = 1
    // Khr8bitStorageExtensionName as defined in vulkan/vulkan_core.h:6062
    Khr8bitStorageExtensionName = "VK_KHR_8bit_storage"
    // KhrShaderAtomicInt64 as defined in vulkan/vulkan_core.h:6074
    KhrShaderAtomicInt64 = 1
    // KhrShaderAtomicInt64SpecVersion as defined in vulkan/vulkan_core.h:6075
    KhrShaderAtomicInt64SpecVersion = 1
    // KhrShaderAtomicInt64ExtensionName as defined in vulkan/vulkan_core.h:6076
    KhrShaderAtomicInt64ExtensionName = "VK_KHR_shader_atomic_int64"
    // KhrDriverProperties as defined in vulkan/vulkan_core.h:6087
    KhrDriverProperties = 1
    // MaxDriverNameSize as defined in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkVK_MAX_DRIVER_NAME_SIZE_KHR
    MaxDriverNameSize = 256
    // MaxDriverInfoSize as defined in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkVK_MAX_DRIVER_INFO_SIZE_KHR
    MaxDriverInfoSize = 256
    // KhrDriverPropertiesSpecVersion as defined in vulkan/vulkan_core.h:6090
    KhrDriverPropertiesSpecVersion = 1
    // KhrDriverPropertiesExtensionName as defined in vulkan/vulkan_core.h:6091
    KhrDriverPropertiesExtensionName = "VK_KHR_driver_properties"
    // KhrVulkanMemoryModel as defined in vulkan/vulkan_core.h:6128
    KhrVulkanMemoryModel = 1
    // KhrVulkanMemoryModelSpecVersion as defined in vulkan/vulkan_core.h:6129
    KhrVulkanMemoryModelSpecVersion = 2
    // KhrVulkanMemoryModelExtensionName as defined in vulkan/vulkan_core.h:6130
    KhrVulkanMemoryModelExtensionName = "VK_KHR_vulkan_memory_model"
    // ExtDebugReport as defined in vulkan/vulkan_core.h:6141
    ExtDebugReport = 1
    // ExtDebugReportSpecVersion as defined in vulkan/vulkan_core.h:6144
    ExtDebugReportSpecVersion = 9
    // ExtDebugReportExtensionName as defined in vulkan/vulkan_core.h:6145
    ExtDebugReportExtensionName = "VK_EXT_debug_report"
    // NvGlslShader as defined in vulkan/vulkan_core.h:6253
    NvGlslShader = 1
    // NvGlslShaderSpecVersion as defined in vulkan/vulkan_core.h:6254
    NvGlslShaderSpecVersion = 1
    // NvGlslShaderExtensionName as defined in vulkan/vulkan_core.h:6255
    NvGlslShaderExtensionName = "VK_NV_glsl_shader"
    // ExtDepthRangeUnrestricted as defined in vulkan/vulkan_core.h:6258
    ExtDepthRangeUnrestricted = 1
    // ExtDepthRangeUnrestrictedSpecVersion as defined in vulkan/vulkan_core.h:6259
    ExtDepthRangeUnrestrictedSpecVersion = 1
    // ExtDepthRangeUnrestrictedExtensionName as defined in vulkan/vulkan_core.h:6260
    ExtDepthRangeUnrestrictedExtensionName = "VK_EXT_depth_range_unrestricted"
    // ImgFilterCubic as defined in vulkan/vulkan_core.h:6263
    ImgFilterCubic = 1
    // ImgFilterCubicSpecVersion as defined in vulkan/vulkan_core.h:6264
    ImgFilterCubicSpecVersion = 1
    // ImgFilterCubicExtensionName as defined in vulkan/vulkan_core.h:6265
    ImgFilterCubicExtensionName = "VK_IMG_filter_cubic"
    // AmdRasterizationOrder as defined in vulkan/vulkan_core.h:6268
    AmdRasterizationOrder = 1
    // AmdRasterizationOrderSpecVersion as defined in vulkan/vulkan_core.h:6269
    AmdRasterizationOrderSpecVersion = 1
    // AmdRasterizationOrderExtensionName as defined in vulkan/vulkan_core.h:6270
    AmdRasterizationOrderExtensionName = "VK_AMD_rasterization_order"
    // AmdShaderTrinaryMinmax as defined in vulkan/vulkan_core.h:6290
    AmdShaderTrinaryMinmax = 1
    // AmdShaderTrinaryMinmaxSpecVersion as defined in vulkan/vulkan_core.h:6291
    AmdShaderTrinaryMinmaxSpecVersion = 1
    // AmdShaderTrinaryMinmaxExtensionName as defined in vulkan/vulkan_core.h:6292
    AmdShaderTrinaryMinmaxExtensionName = "VK_AMD_shader_trinary_minmax"
    // AmdShaderExplicitVertexParameter as defined in vulkan/vulkan_core.h:6295
    AmdShaderExplicitVertexParameter = 1
    // AmdShaderExplicitVertexParameterSpecVersion as defined in vulkan/vulkan_core.h:6296
    AmdShaderExplicitVertexParameterSpecVersion = 1
    // AmdShaderExplicitVertexParameterExtensionName as defined in vulkan/vulkan_core.h:6297
    AmdShaderExplicitVertexParameterExtensionName = "VK_AMD_shader_explicit_vertex_parameter"
    // ExtDebugMarker as defined in vulkan/vulkan_core.h:6300
    ExtDebugMarker = 1
    // ExtDebugMarkerSpecVersion as defined in vulkan/vulkan_core.h:6301
    ExtDebugMarkerSpecVersion = 4
    // ExtDebugMarkerExtensionName as defined in vulkan/vulkan_core.h:6302
    ExtDebugMarkerExtensionName = "VK_EXT_debug_marker"
    // AmdGcnShader as defined in vulkan/vulkan_core.h:6357
    AmdGcnShader = 1
    // AmdGcnShaderSpecVersion as defined in vulkan/vulkan_core.h:6358
    AmdGcnShaderSpecVersion = 1
    // AmdGcnShaderExtensionName as defined in vulkan/vulkan_core.h:6359
    AmdGcnShaderExtensionName = "VK_AMD_gcn_shader"
    // NvDedicatedAllocation as defined in vulkan/vulkan_core.h:6362
    NvDedicatedAllocation = 1
    // NvDedicatedAllocationSpecVersion as defined in vulkan/vulkan_core.h:6363
    NvDedicatedAllocationSpecVersion = 1
    // NvDedicatedAllocationExtensionName as defined in vulkan/vulkan_core.h:6364
    NvDedicatedAllocationExtensionName = "VK_NV_dedicated_allocation"
    // ExtTransformFeedback as defined in vulkan/vulkan_core.h:6387
    ExtTransformFeedback = 1
    // ExtTransformFeedbackSpecVersion as defined in vulkan/vulkan_core.h:6388
    ExtTransformFeedbackSpecVersion = 1
    // ExtTransformFeedbackExtensionName as defined in vulkan/vulkan_core.h:6389
    ExtTransformFeedbackExtensionName = "VK_EXT_transform_feedback"
    // AmdDrawIndirectCount as defined in vulkan/vulkan_core.h:6476
    AmdDrawIndirectCount = 1
    // AmdDrawIndirectCountSpecVersion as defined in vulkan/vulkan_core.h:6477
    AmdDrawIndirectCountSpecVersion = 1
    // AmdDrawIndirectCountExtensionName as defined in vulkan/vulkan_core.h:6478
    AmdDrawIndirectCountExtensionName = "VK_AMD_draw_indirect_count"
    // AmdNegativeViewportHeight as defined in vulkan/vulkan_core.h:6503
    AmdNegativeViewportHeight = 1
    // AmdNegativeViewportHeightSpecVersion as defined in vulkan/vulkan_core.h:6504
    AmdNegativeViewportHeightSpecVersion = 1
    // AmdNegativeViewportHeightExtensionName as defined in vulkan/vulkan_core.h:6505
    AmdNegativeViewportHeightExtensionName = "VK_AMD_negative_viewport_height"
    // AmdGpuShaderHalfFloat as defined in vulkan/vulkan_core.h:6508
    AmdGpuShaderHalfFloat = 1
    // AmdGpuShaderHalfFloatSpecVersion as defined in vulkan/vulkan_core.h:6509
    AmdGpuShaderHalfFloatSpecVersion = 1
    // AmdGpuShaderHalfFloatExtensionName as defined in vulkan/vulkan_core.h:6510
    AmdGpuShaderHalfFloatExtensionName = "VK_AMD_gpu_shader_half_float"
    // AmdShaderBallot as defined in vulkan/vulkan_core.h:6513
    AmdShaderBallot = 1
    // AmdShaderBallotSpecVersion as defined in vulkan/vulkan_core.h:6514
    AmdShaderBallotSpecVersion = 1
    // AmdShaderBallotExtensionName as defined in vulkan/vulkan_core.h:6515
    AmdShaderBallotExtensionName = "VK_AMD_shader_ballot"
    // AmdTextureGatherBiasLod as defined in vulkan/vulkan_core.h:6518
    AmdTextureGatherBiasLod = 1
    // AmdTextureGatherBiasLodSpecVersion as defined in vulkan/vulkan_core.h:6519
    AmdTextureGatherBiasLodSpecVersion = 1
    // AmdTextureGatherBiasLodExtensionName as defined in vulkan/vulkan_core.h:6520
    AmdTextureGatherBiasLodExtensionName = "VK_AMD_texture_gather_bias_lod"
    // AmdShaderInfo as defined in vulkan/vulkan_core.h:6530
    AmdShaderInfo = 1
    // AmdShaderInfoSpecVersion as defined in vulkan/vulkan_core.h:6531
    AmdShaderInfoSpecVersion = 1
    // AmdShaderInfoExtensionName as defined in vulkan/vulkan_core.h:6532
    AmdShaderInfoExtensionName = "VK_AMD_shader_info"
    // AmdShaderImageLoadStoreLod as defined in vulkan/vulkan_core.h:6576
    AmdShaderImageLoadStoreLod = 1
    // AmdShaderImageLoadStoreLodSpecVersion as defined in vulkan/vulkan_core.h:6577
    AmdShaderImageLoadStoreLodSpecVersion = 1
    // AmdShaderImageLoadStoreLodExtensionName as defined in vulkan/vulkan_core.h:6578
    AmdShaderImageLoadStoreLodExtensionName = "VK_AMD_shader_image_load_store_lod"
    // NvCornerSampledImage as defined in vulkan/vulkan_core.h:6581
    NvCornerSampledImage = 1
    // NvCornerSampledImageSpecVersion as defined in vulkan/vulkan_core.h:6582
    NvCornerSampledImageSpecVersion = 2
    // NvCornerSampledImageExtensionName as defined in vulkan/vulkan_core.h:6583
    NvCornerSampledImageExtensionName = "VK_NV_corner_sampled_image"
    // ImgFormatPvrtc as defined in vulkan/vulkan_core.h:6593
    ImgFormatPvrtc = 1
    // ImgFormatPvrtcSpecVersion as defined in vulkan/vulkan_core.h:6594
    ImgFormatPvrtcSpecVersion = 1
    // ImgFormatPvrtcExtensionName as defined in vulkan/vulkan_core.h:6595
    ImgFormatPvrtcExtensionName = "VK_IMG_format_pvrtc"
    // NvExternalMemoryCapabilities as defined in vulkan/vulkan_core.h:6598
    NvExternalMemoryCapabilities = 1
    // NvExternalMemoryCapabilitiesSpecVersion as defined in vulkan/vulkan_core.h:6599
    NvExternalMemoryCapabilitiesSpecVersion = 1
    // NvExternalMemoryCapabilitiesExtensionName as defined in vulkan/vulkan_core.h:6600
    NvExternalMemoryCapabilitiesExtensionName = "VK_NV_external_memory_capabilities"
    // NvExternalMemory as defined in vulkan/vulkan_core.h:6642
    NvExternalMemory = 1
    // NvExternalMemorySpecVersion as defined in vulkan/vulkan_core.h:6643
    NvExternalMemorySpecVersion = 1
    // NvExternalMemoryExtensionName as defined in vulkan/vulkan_core.h:6644
    NvExternalMemoryExtensionName = "VK_NV_external_memory"
    // ExtValidationFlags as defined in vulkan/vulkan_core.h:6660
    ExtValidationFlags = 1
    // ExtValidationFlagsSpecVersion as defined in vulkan/vulkan_core.h:6661
    ExtValidationFlagsSpecVersion = 1
    // ExtValidationFlagsExtensionName as defined in vulkan/vulkan_core.h:6662
    ExtValidationFlagsExtensionName = "VK_EXT_validation_flags"
    // ExtShaderSubgroupBallot as defined in vulkan/vulkan_core.h:6683
    ExtShaderSubgroupBallot = 1
    // ExtShaderSubgroupBallotSpecVersion as defined in vulkan/vulkan_core.h:6684
    ExtShaderSubgroupBallotSpecVersion = 1
    // ExtShaderSubgroupBallotExtensionName as defined in vulkan/vulkan_core.h:6685
    ExtShaderSubgroupBallotExtensionName = "VK_EXT_shader_subgroup_ballot"
    // ExtShaderSubgroupVote as defined in vulkan/vulkan_core.h:6688
    ExtShaderSubgroupVote = 1
    // ExtShaderSubgroupVoteSpecVersion as defined in vulkan/vulkan_core.h:6689
    ExtShaderSubgroupVoteSpecVersion = 1
    // ExtShaderSubgroupVoteExtensionName as defined in vulkan/vulkan_core.h:6690
    ExtShaderSubgroupVoteExtensionName = "VK_EXT_shader_subgroup_vote"
    // ExtAstcDecodeMode as defined in vulkan/vulkan_core.h:6693
    ExtAstcDecodeMode = 1
    // ExtAstcDecodeModeSpecVersion as defined in vulkan/vulkan_core.h:6694
    ExtAstcDecodeModeSpecVersion = 1
    // ExtAstcDecodeModeExtensionName as defined in vulkan/vulkan_core.h:6695
    ExtAstcDecodeModeExtensionName = "VK_EXT_astc_decode_mode"
    // ExtConditionalRendering as defined in vulkan/vulkan_core.h:6711
    ExtConditionalRendering = 1
    // ExtConditionalRenderingSpecVersion as defined in vulkan/vulkan_core.h:6712
    ExtConditionalRenderingSpecVersion = 1
    // ExtConditionalRenderingExtensionName as defined in vulkan/vulkan_core.h:6713
    ExtConditionalRenderingExtensionName = "VK_EXT_conditional_rendering"
    // NvxDeviceGeneratedCommands as defined in vulkan/vulkan_core.h:6756
    NvxDeviceGeneratedCommands = 1
    // NvxDeviceGeneratedCommandsSpecVersion as defined in vulkan/vulkan_core.h:6760
    NvxDeviceGeneratedCommandsSpecVersion = 3
    // NvxDeviceGeneratedCommandsExtensionName as defined in vulkan/vulkan_core.h:6761
    NvxDeviceGeneratedCommandsExtensionName = "VK_NVX_device_generated_commands"
    // NvClipSpaceWScaling as defined in vulkan/vulkan_core.h:6983
    NvClipSpaceWScaling = 1
    // NvClipSpaceWScalingSpecVersion as defined in vulkan/vulkan_core.h:6984
    NvClipSpaceWScalingSpecVersion = 1
    // NvClipSpaceWScalingExtensionName as defined in vulkan/vulkan_core.h:6985
    NvClipSpaceWScalingExtensionName = "VK_NV_clip_space_w_scaling"
    // ExtDirectModeDisplay as defined in vulkan/vulkan_core.h:7011
    ExtDirectModeDisplay = 1
    // ExtDirectModeDisplaySpecVersion as defined in vulkan/vulkan_core.h:7012
    ExtDirectModeDisplaySpecVersion = 1
    // ExtDirectModeDisplayExtensionName as defined in vulkan/vulkan_core.h:7013
    ExtDirectModeDisplayExtensionName = "VK_EXT_direct_mode_display"
    // ExtDisplaySurfaceCounter as defined in vulkan/vulkan_core.h:7023
    ExtDisplaySurfaceCounter = 1
    // ExtDisplaySurfaceCounterSpecVersion as defined in vulkan/vulkan_core.h:7024
    ExtDisplaySurfaceCounterSpecVersion = 1
    // ExtDisplaySurfaceCounterExtensionName as defined in vulkan/vulkan_core.h:7025
    ExtDisplaySurfaceCounterExtensionName = "VK_EXT_display_surface_counter"
    // ExtDisplayControl as defined in vulkan/vulkan_core.h:7060
    ExtDisplayControl = 1
    // ExtDisplayControlSpecVersion as defined in vulkan/vulkan_core.h:7061
    ExtDisplayControlSpecVersion = 1
    // ExtDisplayControlExtensionName as defined in vulkan/vulkan_core.h:7062
    ExtDisplayControlExtensionName = "VK_EXT_display_control"
    // GoogleDisplayTiming as defined in vulkan/vulkan_core.h:7147
    GoogleDisplayTiming = 1
    // GoogleDisplayTimingSpecVersion as defined in vulkan/vulkan_core.h:7148
    GoogleDisplayTimingSpecVersion = 1
    // GoogleDisplayTimingExtensionName as defined in vulkan/vulkan_core.h:7149
    GoogleDisplayTimingExtensionName = "VK_GOOGLE_display_timing"
    // NvSampleMaskOverrideCoverage as defined in vulkan/vulkan_core.h:7192
    NvSampleMaskOverrideCoverage = 1
    // NvSampleMaskOverrideCoverageSpecVersion as defined in vulkan/vulkan_core.h:7193
    NvSampleMaskOverrideCoverageSpecVersion = 1
    // NvSampleMaskOverrideCoverageExtensionName as defined in vulkan/vulkan_core.h:7194
    NvSampleMaskOverrideCoverageExtensionName = "VK_NV_sample_mask_override_coverage"
    // NvGeometryShaderPassthrough as defined in vulkan/vulkan_core.h:7197
    NvGeometryShaderPassthrough = 1
    // NvGeometryShaderPassthroughSpecVersion as defined in vulkan/vulkan_core.h:7198
    NvGeometryShaderPassthroughSpecVersion = 1
    // NvGeometryShaderPassthroughExtensionName as defined in vulkan/vulkan_core.h:7199
    NvGeometryShaderPassthroughExtensionName = "VK_NV_geometry_shader_passthrough"
    // NvViewportArray2 as defined in vulkan/vulkan_core.h:7202
    NvViewportArray2 = 1
    // NvViewportArray2SpecVersion as defined in vulkan/vulkan_core.h:7203
    NvViewportArray2SpecVersion = 1
    // NvViewportArray2ExtensionName as defined in vulkan/vulkan_core.h:7204
    NvViewportArray2ExtensionName = "VK_NV_viewport_array2"
    // NvxMultiviewPerViewAttributes as defined in vulkan/vulkan_core.h:7207
    NvxMultiviewPerViewAttributes = 1
    // NvxMultiviewPerViewAttributesSpecVersion as defined in vulkan/vulkan_core.h:7208
    NvxMultiviewPerViewAttributesSpecVersion = 1
    // NvxMultiviewPerViewAttributesExtensionName as defined in vulkan/vulkan_core.h:7209
    NvxMultiviewPerViewAttributesExtensionName = "VK_NVX_multiview_per_view_attributes"
    // NvViewportSwizzle as defined in vulkan/vulkan_core.h:7219
    NvViewportSwizzle = 1
    // NvViewportSwizzleSpecVersion as defined in vulkan/vulkan_core.h:7220
    NvViewportSwizzleSpecVersion = 1
    // NvViewportSwizzleExtensionName as defined in vulkan/vulkan_core.h:7221
    NvViewportSwizzleExtensionName = "VK_NV_viewport_swizzle"
    // ExtDiscardRectangles as defined in vulkan/vulkan_core.h:7258
    ExtDiscardRectangles = 1
    // ExtDiscardRectanglesSpecVersion as defined in vulkan/vulkan_core.h:7259
    ExtDiscardRectanglesSpecVersion = 1
    // ExtDiscardRectanglesExtensionName as defined in vulkan/vulkan_core.h:7260
    ExtDiscardRectanglesExtensionName = "VK_EXT_discard_rectangles"
    // ExtConservativeRasterization as defined in vulkan/vulkan_core.h:7300
    ExtConservativeRasterization = 1
    // ExtConservativeRasterizationSpecVersion as defined in vulkan/vulkan_core.h:7301
    ExtConservativeRasterizationSpecVersion = 1
    // ExtConservativeRasterizationExtensionName as defined in vulkan/vulkan_core.h:7302
    ExtConservativeRasterizationExtensionName = "VK_EXT_conservative_rasterization"
    // ExtSwapchainColorspace as defined in vulkan/vulkan_core.h:7341
    ExtSwapchainColorspace = 1
    // ExtSwapchainColorSpaceSpecVersion as defined in vulkan/vulkan_core.h:7342
    ExtSwapchainColorSpaceSpecVersion = 3
    // ExtSwapchainColorSpaceExtensionName as defined in vulkan/vulkan_core.h:7343
    ExtSwapchainColorSpaceExtensionName = "VK_EXT_swapchain_colorspace"
    // ExtHdrMetadata as defined in vulkan/vulkan_core.h:7346
    ExtHdrMetadata = 1
    // ExtHdrMetadataSpecVersion as defined in vulkan/vulkan_core.h:7347
    ExtHdrMetadataSpecVersion = 1
    // ExtHdrMetadataExtensionName as defined in vulkan/vulkan_core.h:7348
    ExtHdrMetadataExtensionName = "VK_EXT_hdr_metadata"
    // ExtExternalMemoryDmaBuf as defined in vulkan/vulkan_core.h:7379
    ExtExternalMemoryDmaBuf = 1
    // ExtExternalMemoryDmaBufSpecVersion as defined in vulkan/vulkan_core.h:7380
    ExtExternalMemoryDmaBufSpecVersion = 1
    // ExtExternalMemoryDmaBufExtensionName as defined in vulkan/vulkan_core.h:7381
    ExtExternalMemoryDmaBufExtensionName = "VK_EXT_external_memory_dma_buf"
    // ExtQueueFamilyForeign as defined in vulkan/vulkan_core.h:7384
    ExtQueueFamilyForeign = 1
    // ExtQueueFamilyForeignSpecVersion as defined in vulkan/vulkan_core.h:7385
    ExtQueueFamilyForeignSpecVersion = 1
    // ExtQueueFamilyForeignExtensionName as defined in vulkan/vulkan_core.h:7386
    ExtQueueFamilyForeignExtensionName = "VK_EXT_queue_family_foreign"
    // QueueFamilyForeign as defined in vulkan/vulkan_core.h:7387
    QueueFamilyForeign = (^uint32(0) - 2)
    // ExtDebugUtils as defined in vulkan/vulkan_core.h:7390
    ExtDebugUtils = 1
    // ExtDebugUtilsSpecVersion as defined in vulkan/vulkan_core.h:7393
    ExtDebugUtilsSpecVersion = 1
    // ExtDebugUtilsExtensionName as defined in vulkan/vulkan_core.h:7394
    ExtDebugUtilsExtensionName = "VK_EXT_debug_utils"
    // ExtSamplerFilterMinmax as defined in vulkan/vulkan_core.h:7534
    ExtSamplerFilterMinmax = 1
    // ExtSamplerFilterMinmaxSpecVersion as defined in vulkan/vulkan_core.h:7535
    ExtSamplerFilterMinmaxSpecVersion = 1
    // ExtSamplerFilterMinmaxExtensionName as defined in vulkan/vulkan_core.h:7536
    ExtSamplerFilterMinmaxExtensionName = "VK_EXT_sampler_filter_minmax"
    // AmdGpuShaderInt16 as defined in vulkan/vulkan_core.h:7564
    AmdGpuShaderInt16 = 1
    // AmdGpuShaderInt16SpecVersion as defined in vulkan/vulkan_core.h:7565
    AmdGpuShaderInt16SpecVersion = 1
    // AmdGpuShaderInt16ExtensionName as defined in vulkan/vulkan_core.h:7566
    AmdGpuShaderInt16ExtensionName = "VK_AMD_gpu_shader_int16"
    // AmdMixedAttachmentSamples as defined in vulkan/vulkan_core.h:7569
    AmdMixedAttachmentSamples = 1
    // AmdMixedAttachmentSamplesSpecVersion as defined in vulkan/vulkan_core.h:7570
    AmdMixedAttachmentSamplesSpecVersion = 1
    // AmdMixedAttachmentSamplesExtensionName as defined in vulkan/vulkan_core.h:7571
    AmdMixedAttachmentSamplesExtensionName = "VK_AMD_mixed_attachment_samples"
    // AmdShaderFragmentMask as defined in vulkan/vulkan_core.h:7574
    AmdShaderFragmentMask = 1
    // AmdShaderFragmentMaskSpecVersion as defined in vulkan/vulkan_core.h:7575
    AmdShaderFragmentMaskSpecVersion = 1
    // AmdShaderFragmentMaskExtensionName as defined in vulkan/vulkan_core.h:7576
    AmdShaderFragmentMaskExtensionName = "VK_AMD_shader_fragment_mask"
    // ExtInlineUniformBlock as defined in vulkan/vulkan_core.h:7579
    ExtInlineUniformBlock = 1
    // ExtInlineUniformBlockSpecVersion as defined in vulkan/vulkan_core.h:7580
    ExtInlineUniformBlockSpecVersion = 1
    // ExtInlineUniformBlockExtensionName as defined in vulkan/vulkan_core.h:7581
    ExtInlineUniformBlockExtensionName = "VK_EXT_inline_uniform_block"
    // ExtShaderStencilExport as defined in vulkan/vulkan_core.h:7615
    ExtShaderStencilExport = 1
    // ExtShaderStencilExportSpecVersion as defined in vulkan/vulkan_core.h:7616
    ExtShaderStencilExportSpecVersion = 1
    // ExtShaderStencilExportExtensionName as defined in vulkan/vulkan_core.h:7617
    ExtShaderStencilExportExtensionName = "VK_EXT_shader_stencil_export"
    // ExtSampleLocations as defined in vulkan/vulkan_core.h:7620
    ExtSampleLocations = 1
    // ExtSampleLocationsSpecVersion as defined in vulkan/vulkan_core.h:7621
    ExtSampleLocationsSpecVersion = 1
    // ExtSampleLocationsExtensionName as defined in vulkan/vulkan_core.h:7622
    ExtSampleLocationsExtensionName = "VK_EXT_sample_locations"
    // ExtBlendOperationAdvanced as defined in vulkan/vulkan_core.h:7695
    ExtBlendOperationAdvanced = 1
    // ExtBlendOperationAdvancedSpecVersion as defined in vulkan/vulkan_core.h:7696
    ExtBlendOperationAdvancedSpecVersion = 2
    // ExtBlendOperationAdvancedExtensionName as defined in vulkan/vulkan_core.h:7697
    ExtBlendOperationAdvancedExtensionName = "VK_EXT_blend_operation_advanced"
    // NvFragmentCoverageToColor as defined in vulkan/vulkan_core.h:7737
    NvFragmentCoverageToColor = 1
    // NvFragmentCoverageToColorSpecVersion as defined in vulkan/vulkan_core.h:7738
    NvFragmentCoverageToColorSpecVersion = 1
    // NvFragmentCoverageToColorExtensionName as defined in vulkan/vulkan_core.h:7739
    NvFragmentCoverageToColorExtensionName = "VK_NV_fragment_coverage_to_color"
    // NvFramebufferMixedSamples as defined in vulkan/vulkan_core.h:7753
    NvFramebufferMixedSamples = 1
    // NvFramebufferMixedSamplesSpecVersion as defined in vulkan/vulkan_core.h:7754
    NvFramebufferMixedSamplesSpecVersion = 1
    // NvFramebufferMixedSamplesExtensionName as defined in vulkan/vulkan_core.h:7755
    NvFramebufferMixedSamplesExtensionName = "VK_NV_framebuffer_mixed_samples"
    // NvFillRectangle as defined in vulkan/vulkan_core.h:7783
    NvFillRectangle = 1
    // NvFillRectangleSpecVersion as defined in vulkan/vulkan_core.h:7784
    NvFillRectangleSpecVersion = 1
    // NvFillRectangleExtensionName as defined in vulkan/vulkan_core.h:7785
    NvFillRectangleExtensionName = "VK_NV_fill_rectangle"
    // ExtPostDepthCoverage as defined in vulkan/vulkan_core.h:7788
    ExtPostDepthCoverage = 1
    // ExtPostDepthCoverageSpecVersion as defined in vulkan/vulkan_core.h:7789
    ExtPostDepthCoverageSpecVersion = 1
    // ExtPostDepthCoverageExtensionName as defined in vulkan/vulkan_core.h:7790
    ExtPostDepthCoverageExtensionName = "VK_EXT_post_depth_coverage"
    // ExtImageDrmFormatModifier as defined in vulkan/vulkan_core.h:7793
    ExtImageDrmFormatModifier = 1
    // ExtExtension159SpecVersion as defined in vulkan/vulkan_core.h:7794
    ExtExtension159SpecVersion = 0
    // ExtExtension159ExtensionName as defined in vulkan/vulkan_core.h:7795
    ExtExtension159ExtensionName = "VK_EXT_extension_159"
    // ExtImageDrmFormatModifierSpecVersion as defined in vulkan/vulkan_core.h:7796
    ExtImageDrmFormatModifierSpecVersion = 1
    // ExtImageDrmFormatModifierExtensionName as defined in vulkan/vulkan_core.h:7797
    ExtImageDrmFormatModifierExtensionName = "VK_EXT_image_drm_format_modifier"
    // ExtValidationCache as defined in vulkan/vulkan_core.h:7852
    ExtValidationCache = 1
    // ExtValidationCacheSpecVersion as defined in vulkan/vulkan_core.h:7855
    ExtValidationCacheSpecVersion = 1
    // ExtValidationCacheExtensionName as defined in vulkan/vulkan_core.h:7856
    ExtValidationCacheExtensionName = "VK_EXT_validation_cache"
    // ExtDescriptorIndexing as defined in vulkan/vulkan_core.h:7914
    ExtDescriptorIndexing = 1
    // ExtDescriptorIndexingSpecVersion as defined in vulkan/vulkan_core.h:7915
    ExtDescriptorIndexingSpecVersion = 2
    // ExtDescriptorIndexingExtensionName as defined in vulkan/vulkan_core.h:7916
    ExtDescriptorIndexingExtensionName = "VK_EXT_descriptor_indexing"
    // ExtShaderViewportIndexLayer as defined in vulkan/vulkan_core.h:8003
    ExtShaderViewportIndexLayer = 1
    // ExtShaderViewportIndexLayerSpecVersion as defined in vulkan/vulkan_core.h:8004
    ExtShaderViewportIndexLayerSpecVersion = 1
    // ExtShaderViewportIndexLayerExtensionName as defined in vulkan/vulkan_core.h:8005
    ExtShaderViewportIndexLayerExtensionName = "VK_EXT_shader_viewport_index_layer"
    // NvShadingRateImage as defined in vulkan/vulkan_core.h:8008
    NvShadingRateImage = 1
    // NvShadingRateImageSpecVersion as defined in vulkan/vulkan_core.h:8009
    NvShadingRateImageSpecVersion = 3
    // NvShadingRateImageExtensionName as defined in vulkan/vulkan_core.h:8010
    NvShadingRateImageExtensionName = "VK_NV_shading_rate_image"
    // NvxRaytracing as defined in vulkan/vulkan_core.h:8116
    NvxRaytracing = 1
    // NvxRaytracingSpecVersion as defined in vulkan/vulkan_core.h:8119
    NvxRaytracingSpecVersion = 1
    // NvxRaytracingExtensionName as defined in vulkan/vulkan_core.h:8120
    NvxRaytracingExtensionName = "VK_NVX_raytracing"
    // NvRepresentativeFragmentTest as defined in vulkan/vulkan_core.h:8381
    NvRepresentativeFragmentTest = 1
    // NvRepresentativeFragmentTestSpecVersion as defined in vulkan/vulkan_core.h:8382
    NvRepresentativeFragmentTestSpecVersion = 1
    // NvRepresentativeFragmentTestExtensionName as defined in vulkan/vulkan_core.h:8383
    NvRepresentativeFragmentTestExtensionName = "VK_NV_representative_fragment_test"
    // ExtGlobalPriority as defined in vulkan/vulkan_core.h:8399
    ExtGlobalPriority = 1
    // ExtGlobalPrioritySpecVersion as defined in vulkan/vulkan_core.h:8400
    ExtGlobalPrioritySpecVersion = 2
    // ExtGlobalPriorityExtensionName as defined in vulkan/vulkan_core.h:8401
    ExtGlobalPriorityExtensionName = "VK_EXT_global_priority"
    // ExtExternalMemoryHost as defined in vulkan/vulkan_core.h:8423
    ExtExternalMemoryHost = 1
    // ExtExternalMemoryHostSpecVersion as defined in vulkan/vulkan_core.h:8424
    ExtExternalMemoryHostSpecVersion = 1
    // ExtExternalMemoryHostExtensionName as defined in vulkan/vulkan_core.h:8425
    ExtExternalMemoryHostExtensionName = "VK_EXT_external_memory_host"
    // AmdBufferMarker as defined in vulkan/vulkan_core.h:8457
    AmdBufferMarker = 1
    // AmdBufferMarkerSpecVersion as defined in vulkan/vulkan_core.h:8458
    AmdBufferMarkerSpecVersion = 1
    // AmdBufferMarkerExtensionName as defined in vulkan/vulkan_core.h:8459
    AmdBufferMarkerExtensionName = "VK_AMD_buffer_marker"
    // ExtCalibratedTimestamps as defined in vulkan/vulkan_core.h:8472
    ExtCalibratedTimestamps = 1
    // ExtCalibratedTimestampsSpecVersion as defined in vulkan/vulkan_core.h:8473
    ExtCalibratedTimestampsSpecVersion = 1
    // ExtCalibratedTimestampsExtensionName as defined in vulkan/vulkan_core.h:8474
    ExtCalibratedTimestampsExtensionName = "VK_EXT_calibrated_timestamps"
    // AmdShaderCoreProperties as defined in vulkan/vulkan_core.h:8512
    AmdShaderCoreProperties = 1
    // AmdShaderCorePropertiesSpecVersion as defined in vulkan/vulkan_core.h:8513
    AmdShaderCorePropertiesSpecVersion = 1
    // AmdShaderCorePropertiesExtensionName as defined in vulkan/vulkan_core.h:8514
    AmdShaderCorePropertiesExtensionName = "VK_AMD_shader_core_properties"
    // ExtVertexAttributeDivisor as defined in vulkan/vulkan_core.h:8537
    ExtVertexAttributeDivisor = 1
    // ExtVertexAttributeDivisorSpecVersion as defined in vulkan/vulkan_core.h:8538
    ExtVertexAttributeDivisorSpecVersion = 3
    // ExtVertexAttributeDivisorExtensionName as defined in vulkan/vulkan_core.h:8539
    ExtVertexAttributeDivisorExtensionName = "VK_EXT_vertex_attribute_divisor"
    // NvShaderSubgroupPartitioned as defined in vulkan/vulkan_core.h:8568
    NvShaderSubgroupPartitioned = 1
    // NvShaderSubgroupPartitionedSpecVersion as defined in vulkan/vulkan_core.h:8569
    NvShaderSubgroupPartitionedSpecVersion = 1
    // NvShaderSubgroupPartitionedExtensionName as defined in vulkan/vulkan_core.h:8570
    NvShaderSubgroupPartitionedExtensionName = "VK_NV_shader_subgroup_partitioned"
    // NvComputeShaderDerivatives as defined in vulkan/vulkan_core.h:8573
    NvComputeShaderDerivatives = 1
    // NvComputeShaderDerivativesSpecVersion as defined in vulkan/vulkan_core.h:8574
    NvComputeShaderDerivativesSpecVersion = 1
    // NvComputeShaderDerivativesExtensionName as defined in vulkan/vulkan_core.h:8575
    NvComputeShaderDerivativesExtensionName = "VK_NV_compute_shader_derivatives"
    // NvMeshShader as defined in vulkan/vulkan_core.h:8586
    NvMeshShader = 1
    // NvMeshShaderSpecVersion as defined in vulkan/vulkan_core.h:8587
    NvMeshShaderSpecVersion = 1
    // NvMeshShaderExtensionName as defined in vulkan/vulkan_core.h:8588
    NvMeshShaderExtensionName = "VK_NV_mesh_shader"
    // NvFragmentShaderBarycentric as defined in vulkan/vulkan_core.h:8648
    NvFragmentShaderBarycentric = 1
    // NvFragmentShaderBarycentricSpecVersion as defined in vulkan/vulkan_core.h:8649
    NvFragmentShaderBarycentricSpecVersion = 1
    // NvFragmentShaderBarycentricExtensionName as defined in vulkan/vulkan_core.h:8650
    NvFragmentShaderBarycentricExtensionName = "VK_NV_fragment_shader_barycentric"
    // NvShaderImageFootprint as defined in vulkan/vulkan_core.h:8660
    NvShaderImageFootprint = 1
    // NvShaderImageFootprintSpecVersion as defined in vulkan/vulkan_core.h:8661
    NvShaderImageFootprintSpecVersion = 1
    // NvShaderImageFootprintExtensionName as defined in vulkan/vulkan_core.h:8662
    NvShaderImageFootprintExtensionName = "VK_NV_shader_image_footprint"
    // NvScissorExclusive as defined in vulkan/vulkan_core.h:8672
    NvScissorExclusive = 1
    // NvScissorExclusiveSpecVersion as defined in vulkan/vulkan_core.h:8673
    NvScissorExclusiveSpecVersion = 1
    // NvScissorExclusiveExtensionName as defined in vulkan/vulkan_core.h:8674
    NvScissorExclusiveExtensionName = "VK_NV_scissor_exclusive"
    // NvDeviceDiagnosticCheckpoints as defined in vulkan/vulkan_core.h:8700
    NvDeviceDiagnosticCheckpoints = 1
    // NvDeviceDiagnosticCheckpointsSpecVersion as defined in vulkan/vulkan_core.h:8701
    NvDeviceDiagnosticCheckpointsSpecVersion = 2
    // NvDeviceDiagnosticCheckpointsExtensionName as defined in vulkan/vulkan_core.h:8702
    NvDeviceDiagnosticCheckpointsExtensionName = "VK_NV_device_diagnostic_checkpoints"
    // ExtPciBusInfo as defined in vulkan/vulkan_core.h:8732
    ExtPciBusInfo = 1
    // ExtPciBusInfoSpecVersion as defined in vulkan/vulkan_core.h:8733
    ExtPciBusInfoSpecVersion = 1
    // ExtPciBusInfoExtensionName as defined in vulkan/vulkan_core.h:8734
    ExtPciBusInfoExtensionName = "VK_EXT_pci_bus_info"
    // GoogleHlslFunctionality1 as defined in vulkan/vulkan_core.h:8747
    GoogleHlslFunctionality1 = 1
    // GoogleHlslFunctionality1SpecVersion as defined in vulkan/vulkan_core.h:8748
    GoogleHlslFunctionality1SpecVersion = 0
    // GoogleHlslFunctionality1ExtensionName as defined in vulkan/vulkan_core.h:8749
    GoogleHlslFunctionality1ExtensionName = "VK_GOOGLE_hlsl_functionality1"
    // GoogleDecorateString as defined in vulkan/vulkan_core.h:8752
    GoogleDecorateString = 1
    // GoogleDecorateStringSpecVersion as defined in vulkan/vulkan_core.h:8753
    GoogleDecorateStringSpecVersion = 0
    // GoogleDecorateStringExtensionName as defined in vulkan/vulkan_core.h:8754
    GoogleDecorateStringExtensionName = "VK_GOOGLE_decorate_string"
)

Variables

var (
    MaxUint32 uint32 = 1<<32 - 1 // also ^uint32(0)
    MaxUint64 uint64 = 1<<64 - 1 // also ^uint64(0)
)

Max bounds of uint32 and uint64, declared as var so type would get checked.

var (
    // NullHandle defines a platform-specfic NULL handle.
    NullHandle unsafe.Pointer
    // NullSemaphore defines a platform-specfic NULL Semaphore.
    NullSemaphore Semaphore
    // NullFence defines a platform-specfic NULL Fence.
    NullFence Fence
    // NullDeviceMemory defines a platform-specfic NULL DeviceMemory.
    NullDeviceMemory DeviceMemory
    // NullBuffer defines a platform-specfic NULL Buffer.
    NullBuffer Buffer
    // NullImage defines a platform-specfic NULL Image.
    NullImage Image
    // NullEvent defines a platform-specfic NULL Event.
    NullEvent Event
    // NullQueryPool defines a platform-specfic NULL QueryPool.
    NullQueryPool QueryPool
    // NullBufferView defines a platform-specfic NULL BufferView.
    NullBufferView BufferView
    // NullImageView defines a platform-specfic NULL ImageView.
    NullImageView ImageView
    // NullShaderModule defines a platform-specfic NULL ShaderModule.
    NullShaderModule ShaderModule
    // NullPipelineCache defines a platform-specfic NULL PipelineCache.
    NullPipelineCache PipelineCache
    // NullPipelineLayout defines a platform-specfic NULL PipelineLayout.
    NullPipelineLayout PipelineLayout
    // NullRenderPass defines a platform-specfic NULL RenderPass.
    NullRenderPass RenderPass
    // NullPipeline defines a platform-specfic NULL Pipeline.
    NullPipeline Pipeline
    // NullDescriptorSetLayout defines a platform-specfic NULL DescriptorSetLayout.
    NullDescriptorSetLayout DescriptorSetLayout
    // NullSampler defines a platform-specfic NULL Sampler.
    NullSampler Sampler
    // NullDescriptorPool defines a platform-specfic NULL DescriptorPool.
    NullDescriptorPool DescriptorPool
    // NullDescriptorSet defines a platform-specfic NULL DescriptorSet.
    NullDescriptorSet DescriptorSet
    // NullFramebuffer defines a platform-specfic NULL Framebuffer.
    NullFramebuffer Framebuffer
    // NullCommandPool defines a platform-specfic NULL CommandPool.
    NullCommandPool CommandPool
    // NullSurface defines a platform-specfic NULL Surface.
    NullSurface Surface
    // NullSwapchain defines a platform-specfic NULL Swapchain.
    NullSwapchain Swapchain
    // NullDisplay defines a platform-specfic NULL Display.
    NullDisplay Display
    // NullDisplayMode defines a platform-specfic NULL DisplayMode.
    NullDisplayMode DisplayMode
    // NullDebugReportCallback defines a platform-specfic NULL DebugReportCallback.
    NullDebugReportCallback DebugReportCallback
)

func CmdBeginQuery Uses

func CmdBeginQuery(commandBuffer CommandBuffer, queryPool QueryPool, query uint32, flags QueryControlFlags)

CmdBeginQuery function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdBeginQuery.html

func CmdBeginRenderPass Uses

func CmdBeginRenderPass(commandBuffer CommandBuffer, pRenderPassBegin *RenderPassBeginInfo, contents SubpassContents)

CmdBeginRenderPass function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdBeginRenderPass.html

func CmdBindDescriptorSets Uses

func CmdBindDescriptorSets(commandBuffer CommandBuffer, pipelineBindPoint PipelineBindPoint, layout PipelineLayout, firstSet uint32, descriptorSetCount uint32, pDescriptorSets []DescriptorSet, dynamicOffsetCount uint32, pDynamicOffsets []uint32)

CmdBindDescriptorSets function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdBindDescriptorSets.html

func CmdBindIndexBuffer Uses

func CmdBindIndexBuffer(commandBuffer CommandBuffer, buffer Buffer, offset DeviceSize, indexType IndexType)

CmdBindIndexBuffer function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdBindIndexBuffer.html

func CmdBindPipeline Uses

func CmdBindPipeline(commandBuffer CommandBuffer, pipelineBindPoint PipelineBindPoint, pipeline Pipeline)

CmdBindPipeline function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdBindPipeline.html

func CmdBindVertexBuffers Uses

func CmdBindVertexBuffers(commandBuffer CommandBuffer, firstBinding uint32, bindingCount uint32, pBuffers []Buffer, pOffsets []DeviceSize)

CmdBindVertexBuffers function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdBindVertexBuffers.html

func CmdBlitImage Uses

func CmdBlitImage(commandBuffer CommandBuffer, srcImage Image, srcImageLayout ImageLayout, dstImage Image, dstImageLayout ImageLayout, regionCount uint32, pRegions []ImageBlit, filter Filter)

CmdBlitImage function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdBlitImage.html

func CmdClearAttachments Uses

func CmdClearAttachments(commandBuffer CommandBuffer, attachmentCount uint32, pAttachments []ClearAttachment, rectCount uint32, pRects []ClearRect)

CmdClearAttachments function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdClearAttachments.html

func CmdClearColorImage Uses

func CmdClearColorImage(commandBuffer CommandBuffer, image Image, imageLayout ImageLayout, pColor *ClearColorValue, rangeCount uint32, pRanges []ImageSubresourceRange)

CmdClearColorImage function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdClearColorImage.html

func CmdClearDepthStencilImage Uses

func CmdClearDepthStencilImage(commandBuffer CommandBuffer, image Image, imageLayout ImageLayout, pDepthStencil *ClearDepthStencilValue, rangeCount uint32, pRanges []ImageSubresourceRange)

CmdClearDepthStencilImage function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdClearDepthStencilImage.html

func CmdCopyBuffer Uses

func CmdCopyBuffer(commandBuffer CommandBuffer, srcBuffer Buffer, dstBuffer Buffer, regionCount uint32, pRegions []BufferCopy)

CmdCopyBuffer function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdCopyBuffer.html

func CmdCopyBufferToImage Uses

func CmdCopyBufferToImage(commandBuffer CommandBuffer, srcBuffer Buffer, dstImage Image, dstImageLayout ImageLayout, regionCount uint32, pRegions []BufferImageCopy)

CmdCopyBufferToImage function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdCopyBufferToImage.html

func CmdCopyImage Uses

func CmdCopyImage(commandBuffer CommandBuffer, srcImage Image, srcImageLayout ImageLayout, dstImage Image, dstImageLayout ImageLayout, regionCount uint32, pRegions []ImageCopy)

CmdCopyImage function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdCopyImage.html

func CmdCopyImageToBuffer Uses

func CmdCopyImageToBuffer(commandBuffer CommandBuffer, srcImage Image, srcImageLayout ImageLayout, dstBuffer Buffer, regionCount uint32, pRegions []BufferImageCopy)

CmdCopyImageToBuffer function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdCopyImageToBuffer.html

func CmdCopyQueryPoolResults Uses

func CmdCopyQueryPoolResults(commandBuffer CommandBuffer, queryPool QueryPool, firstQuery uint32, queryCount uint32, dstBuffer Buffer, dstOffset DeviceSize, stride DeviceSize, flags QueryResultFlags)

CmdCopyQueryPoolResults function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdCopyQueryPoolResults.html

func CmdDispatch Uses

func CmdDispatch(commandBuffer CommandBuffer, x uint32, y uint32, z uint32)

CmdDispatch function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdDispatch.html

func CmdDispatchIndirect Uses

func CmdDispatchIndirect(commandBuffer CommandBuffer, buffer Buffer, offset DeviceSize)

CmdDispatchIndirect function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdDispatchIndirect.html

func CmdDraw Uses

func CmdDraw(commandBuffer CommandBuffer, vertexCount uint32, instanceCount uint32, firstVertex uint32, firstInstance uint32)

CmdDraw function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdDraw.html

func CmdDrawIndexed Uses

func CmdDrawIndexed(commandBuffer CommandBuffer, indexCount uint32, instanceCount uint32, firstIndex uint32, vertexOffset int32, firstInstance uint32)

CmdDrawIndexed function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdDrawIndexed.html

func CmdDrawIndexedIndirect Uses

func CmdDrawIndexedIndirect(commandBuffer CommandBuffer, buffer Buffer, offset DeviceSize, drawCount uint32, stride uint32)

CmdDrawIndexedIndirect function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdDrawIndexedIndirect.html

func CmdDrawIndirect Uses

func CmdDrawIndirect(commandBuffer CommandBuffer, buffer Buffer, offset DeviceSize, drawCount uint32, stride uint32)

CmdDrawIndirect function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdDrawIndirect.html

func CmdEndQuery Uses

func CmdEndQuery(commandBuffer CommandBuffer, queryPool QueryPool, query uint32)

CmdEndQuery function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdEndQuery.html

func CmdEndRenderPass Uses

func CmdEndRenderPass(commandBuffer CommandBuffer)

CmdEndRenderPass function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdEndRenderPass.html

func CmdExecuteCommands Uses

func CmdExecuteCommands(commandBuffer CommandBuffer, commandBufferCount uint32, pCommandBuffers []CommandBuffer)

CmdExecuteCommands function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdExecuteCommands.html

func CmdFillBuffer Uses

func CmdFillBuffer(commandBuffer CommandBuffer, dstBuffer Buffer, dstOffset DeviceSize, size DeviceSize, data uint32)

CmdFillBuffer function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdFillBuffer.html

func CmdNextSubpass Uses

func CmdNextSubpass(commandBuffer CommandBuffer, contents SubpassContents)

CmdNextSubpass function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdNextSubpass.html

func CmdPipelineBarrier Uses

func CmdPipelineBarrier(commandBuffer CommandBuffer, srcStageMask PipelineStageFlags, dstStageMask PipelineStageFlags, dependencyFlags DependencyFlags, memoryBarrierCount uint32, pMemoryBarriers []MemoryBarrier, bufferMemoryBarrierCount uint32, pBufferMemoryBarriers []BufferMemoryBarrier, imageMemoryBarrierCount uint32, pImageMemoryBarriers []ImageMemoryBarrier)

CmdPipelineBarrier function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdPipelineBarrier.html

func CmdPushConstants Uses

func CmdPushConstants(commandBuffer CommandBuffer, layout PipelineLayout, stageFlags ShaderStageFlags, offset uint32, size uint32, pValues unsafe.Pointer)

CmdPushConstants function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdPushConstants.html

func CmdResetEvent Uses

func CmdResetEvent(commandBuffer CommandBuffer, event Event, stageMask PipelineStageFlags)

CmdResetEvent function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdResetEvent.html

func CmdResetQueryPool Uses

func CmdResetQueryPool(commandBuffer CommandBuffer, queryPool QueryPool, firstQuery uint32, queryCount uint32)

CmdResetQueryPool function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdResetQueryPool.html

func CmdResolveImage Uses

func CmdResolveImage(commandBuffer CommandBuffer, srcImage Image, srcImageLayout ImageLayout, dstImage Image, dstImageLayout ImageLayout, regionCount uint32, pRegions []ImageResolve)

CmdResolveImage function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdResolveImage.html

func CmdSetBlendConstants Uses

func CmdSetBlendConstants(commandBuffer CommandBuffer, blendConstants *[4]float32)

CmdSetBlendConstants function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdSetBlendConstants.html

func CmdSetDepthBias Uses

func CmdSetDepthBias(commandBuffer CommandBuffer, depthBiasConstantFactor float32, depthBiasClamp float32, depthBiasSlopeFactor float32)

CmdSetDepthBias function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdSetDepthBias.html

func CmdSetDepthBounds Uses

func CmdSetDepthBounds(commandBuffer CommandBuffer, minDepthBounds float32, maxDepthBounds float32)

CmdSetDepthBounds function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdSetDepthBounds.html

func CmdSetEvent Uses

func CmdSetEvent(commandBuffer CommandBuffer, event Event, stageMask PipelineStageFlags)

CmdSetEvent function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdSetEvent.html

func CmdSetLineWidth Uses

func CmdSetLineWidth(commandBuffer CommandBuffer, lineWidth float32)

CmdSetLineWidth function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdSetLineWidth.html

func CmdSetScissor Uses

func CmdSetScissor(commandBuffer CommandBuffer, firstScissor uint32, scissorCount uint32, pScissors []Rect2D)

CmdSetScissor function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdSetScissor.html

func CmdSetStencilCompareMask Uses

func CmdSetStencilCompareMask(commandBuffer CommandBuffer, faceMask StencilFaceFlags, compareMask uint32)

CmdSetStencilCompareMask function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdSetStencilCompareMask.html

func CmdSetStencilReference Uses

func CmdSetStencilReference(commandBuffer CommandBuffer, faceMask StencilFaceFlags, reference uint32)

CmdSetStencilReference function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdSetStencilReference.html

func CmdSetStencilWriteMask Uses

func CmdSetStencilWriteMask(commandBuffer CommandBuffer, faceMask StencilFaceFlags, writeMask uint32)

CmdSetStencilWriteMask function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdSetStencilWriteMask.html

func CmdSetViewport Uses

func CmdSetViewport(commandBuffer CommandBuffer, firstViewport uint32, viewportCount uint32, pViewports []Viewport)

CmdSetViewport function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdSetViewport.html

func CmdUpdateBuffer Uses

func CmdUpdateBuffer(commandBuffer CommandBuffer, dstBuffer Buffer, dstOffset DeviceSize, dataSize DeviceSize, pData *uint32)

CmdUpdateBuffer function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdUpdateBuffer.html

func CmdWaitEvents Uses

func CmdWaitEvents(commandBuffer CommandBuffer, eventCount uint32, pEvents []Event, srcStageMask PipelineStageFlags, dstStageMask PipelineStageFlags, memoryBarrierCount uint32, pMemoryBarriers []MemoryBarrier, bufferMemoryBarrierCount uint32, pBufferMemoryBarriers []BufferMemoryBarrier, imageMemoryBarrierCount uint32, pImageMemoryBarriers []ImageMemoryBarrier)

CmdWaitEvents function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdWaitEvents.html

func CmdWriteTimestamp Uses

func CmdWriteTimestamp(commandBuffer CommandBuffer, pipelineStage PipelineStageFlagBits, queryPool QueryPool, query uint32)

CmdWriteTimestamp function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdWriteTimestamp.html

func DebugReportMessage Uses

func DebugReportMessage(instance Instance, flags DebugReportFlags, objectType DebugReportObjectType, object uint64, location uint, messageCode int32, pLayerPrefix string, pMessage string)

DebugReportMessage function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDebugReportMessageEXT.html

func DestroyBuffer Uses

func DestroyBuffer(device Device, buffer Buffer, pAllocator *AllocationCallbacks)

DestroyBuffer function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyBuffer.html

func DestroyBufferView Uses

func DestroyBufferView(device Device, bufferView BufferView, pAllocator *AllocationCallbacks)

DestroyBufferView function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyBufferView.html

func DestroyCommandPool Uses

func DestroyCommandPool(device Device, commandPool CommandPool, pAllocator *AllocationCallbacks)

DestroyCommandPool function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyCommandPool.html

func DestroyDebugReportCallback Uses

func DestroyDebugReportCallback(instance Instance, callback DebugReportCallback, pAllocator *AllocationCallbacks)

DestroyDebugReportCallback function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyDebugReportCallbackEXT.html

func DestroyDescriptorPool Uses

func DestroyDescriptorPool(device Device, descriptorPool DescriptorPool, pAllocator *AllocationCallbacks)

DestroyDescriptorPool function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyDescriptorPool.html

func DestroyDescriptorSetLayout Uses

func DestroyDescriptorSetLayout(device Device, descriptorSetLayout DescriptorSetLayout, pAllocator *AllocationCallbacks)

DestroyDescriptorSetLayout function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyDescriptorSetLayout.html

func DestroyDevice Uses

func DestroyDevice(device Device, pAllocator *AllocationCallbacks)

DestroyDevice function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyDevice.html

func DestroyEvent Uses

func DestroyEvent(device Device, event Event, pAllocator *AllocationCallbacks)

DestroyEvent function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyEvent.html

func DestroyFence Uses

func DestroyFence(device Device, fence Fence, pAllocator *AllocationCallbacks)

DestroyFence function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyFence.html

func DestroyFramebuffer Uses

func DestroyFramebuffer(device Device, framebuffer Framebuffer, pAllocator *AllocationCallbacks)

DestroyFramebuffer function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyFramebuffer.html

func DestroyImage Uses

func DestroyImage(device Device, image Image, pAllocator *AllocationCallbacks)

DestroyImage function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyImage.html

func DestroyImageView Uses

func DestroyImageView(device Device, imageView ImageView, pAllocator *AllocationCallbacks)

DestroyImageView function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyImageView.html

func DestroyInstance Uses

func DestroyInstance(instance Instance, pAllocator *AllocationCallbacks)

DestroyInstance function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyInstance.html

func DestroyPipeline Uses

func DestroyPipeline(device Device, pipeline Pipeline, pAllocator *AllocationCallbacks)

DestroyPipeline function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyPipeline.html

func DestroyPipelineCache Uses

func DestroyPipelineCache(device Device, pipelineCache PipelineCache, pAllocator *AllocationCallbacks)

DestroyPipelineCache function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyPipelineCache.html

func DestroyPipelineLayout Uses

func DestroyPipelineLayout(device Device, pipelineLayout PipelineLayout, pAllocator *AllocationCallbacks)

DestroyPipelineLayout function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyPipelineLayout.html

func DestroyQueryPool Uses

func DestroyQueryPool(device Device, queryPool QueryPool, pAllocator *AllocationCallbacks)

DestroyQueryPool function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyQueryPool.html

func DestroyRenderPass Uses

func DestroyRenderPass(device Device, renderPass RenderPass, pAllocator *AllocationCallbacks)

DestroyRenderPass function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyRenderPass.html

func DestroySampler Uses

func DestroySampler(device Device, sampler Sampler, pAllocator *AllocationCallbacks)

DestroySampler function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroySampler.html

func DestroySemaphore Uses

func DestroySemaphore(device Device, semaphore Semaphore, pAllocator *AllocationCallbacks)

DestroySemaphore function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroySemaphore.html

func DestroyShaderModule Uses

func DestroyShaderModule(device Device, shaderModule ShaderModule, pAllocator *AllocationCallbacks)

DestroyShaderModule function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyShaderModule.html

func DestroySurface Uses

func DestroySurface(instance Instance, surface Surface, pAllocator *AllocationCallbacks)

DestroySurface function as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkDestroySurfaceKHR

func DestroySwapchain Uses

func DestroySwapchain(device Device, swapchain Swapchain, pAllocator *AllocationCallbacks)

DestroySwapchain function as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkDestroySwapchainKHR

func Error Uses

func Error(result Result) error

func FindMemoryTypeIndex Uses

func FindMemoryTypeIndex(dev PhysicalDevice,
    typeBits uint32, reqMask MemoryPropertyFlagBits) (uint32, bool)

deprecated

func FreeCommandBuffers Uses

func FreeCommandBuffers(device Device, commandPool CommandPool, commandBufferCount uint32, pCommandBuffers []CommandBuffer)

FreeCommandBuffers function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkFreeCommandBuffers.html

func FreeMemory Uses

func FreeMemory(device Device, memory DeviceMemory, pAllocator *AllocationCallbacks)

FreeMemory function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkFreeMemory.html

func GetBufferMemoryRequirements Uses

func GetBufferMemoryRequirements(device Device, buffer Buffer, pMemoryRequirements *MemoryRequirements)

GetBufferMemoryRequirements function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkGetBufferMemoryRequirements.html

func GetDeviceMemoryCommitment Uses

func GetDeviceMemoryCommitment(device Device, memory DeviceMemory, pCommittedMemoryInBytes *DeviceSize)

GetDeviceMemoryCommitment function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkGetDeviceMemoryCommitment.html

func GetDeviceQueue Uses

func GetDeviceQueue(device Device, queueFamilyIndex uint32, queueIndex uint32, pQueue *Queue)

GetDeviceQueue function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkGetDeviceQueue.html

func GetImageMemoryRequirements Uses

func GetImageMemoryRequirements(device Device, image Image, pMemoryRequirements *MemoryRequirements)

GetImageMemoryRequirements function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkGetImageMemoryRequirements.html

func GetImageSparseMemoryRequirements Uses

func GetImageSparseMemoryRequirements(device Device, image Image, pSparseMemoryRequirementCount []uint32, pSparseMemoryRequirements []SparseImageMemoryRequirements)

GetImageSparseMemoryRequirements function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkGetImageSparseMemoryRequirements.html

func GetImageSubresourceLayout Uses

func GetImageSubresourceLayout(device Device, image Image, pSubresource *ImageSubresource, pLayout *SubresourceLayout)

GetImageSubresourceLayout function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkGetImageSubresourceLayout.html

func GetPhysicalDeviceFeatures Uses

func GetPhysicalDeviceFeatures(physicalDevice PhysicalDevice, pFeatures *PhysicalDeviceFeatures)

GetPhysicalDeviceFeatures function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkGetPhysicalDeviceFeatures.html

func GetPhysicalDeviceFormatProperties Uses

func GetPhysicalDeviceFormatProperties(physicalDevice PhysicalDevice, format Format, pFormatProperties *FormatProperties)

GetPhysicalDeviceFormatProperties function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkGetPhysicalDeviceFormatProperties.html

func GetPhysicalDeviceMemoryProperties Uses

func GetPhysicalDeviceMemoryProperties(physicalDevice PhysicalDevice, pMemoryProperties *PhysicalDeviceMemoryProperties)

GetPhysicalDeviceMemoryProperties function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkGetPhysicalDeviceMemoryProperties.html

func GetPhysicalDeviceProperties Uses

func GetPhysicalDeviceProperties(physicalDevice PhysicalDevice, pProperties *PhysicalDeviceProperties)

GetPhysicalDeviceProperties function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkGetPhysicalDeviceProperties.html

func GetPhysicalDeviceQueueFamilyProperties Uses

func GetPhysicalDeviceQueueFamilyProperties(physicalDevice PhysicalDevice, pQueueFamilyPropertyCount *uint32, pQueueFamilyProperties []QueueFamilyProperties)

GetPhysicalDeviceQueueFamilyProperties function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkGetPhysicalDeviceQueueFamilyProperties.html

func GetPhysicalDeviceSparseImageFormatProperties Uses

func GetPhysicalDeviceSparseImageFormatProperties(physicalDevice PhysicalDevice, format Format, kind ImageType, samples SampleCountFlagBits, usage ImageUsageFlags, tiling ImageTiling, pPropertyCount []uint32, pProperties []SparseImageFormatProperties)

GetPhysicalDeviceSparseImageFormatProperties function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkGetPhysicalDeviceSparseImageFormatProperties.html

func GetRenderAreaGranularity Uses

func GetRenderAreaGranularity(device Device, renderPass RenderPass, pGranularity *Extent2D)

GetRenderAreaGranularity function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkGetRenderAreaGranularity.html

func Init Uses

func Init() error

Init checks for Vulkan support on the platform and obtains PFNs for global Vulkan API functions. Either SetGetInstanceProcAddr or SetDefaultGetInstanceGetProcAddr must have been called prior to calling Init.

func InitInstance Uses

func InitInstance(instance Instance) error

InitInstance obtains instance PFNs for Vulkan API functions, this is necessary on OS X using MoltenVK, but for the other platforms it's an option. Not implemented for Android.

func MakeVersion Uses

func MakeVersion(major, minor, patch int) uint32

func Memcopy Uses

func Memcopy(dst unsafe.Pointer, src []byte) int

Memcopy is like a Go's built-in copy function, it copies data from src slice, but into a destination pointer. Useful to copy data into device memory.

func Memview Uses

func Memview(data []byte) unsafe.Pointer

Memview returns a pointer to user data, so Vulkan runtime in userspace can peek.

func SetDefaultGetInstanceProcAddr Uses

func SetDefaultGetInstanceProcAddr() error

SetDefaultGetInstanceProcAddr looks for the Vulkan library in the system-specific default location and returns an error if it cannot be located. This function functions the same way as SetGetInstanceProcAddr but without relying on a separate windowing library to load Vulkan.

func SetGetInstanceProcAddr Uses

func SetGetInstanceProcAddr(getProcAddr unsafe.Pointer)

SetGetInstanceProcAddr sets the GetInstanceProcAddr function pointer used to load Vulkan symbols. The function can be retrieved from GLFW using GetInstanceProcAddress or from SDL2 using VulkanGetVkGetInstanceProcAddr. This function must be called before Init().

func ToString Uses

func ToString(buf []byte) string

func UnmapMemory Uses

func UnmapMemory(device Device, memory DeviceMemory)

UnmapMemory function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkUnmapMemory.html

func UpdateDescriptorSets Uses

func UpdateDescriptorSets(device Device, descriptorWriteCount uint32, pDescriptorWrites []WriteDescriptorSet, descriptorCopyCount uint32, pDescriptorCopies []CopyDescriptorSet)

UpdateDescriptorSets function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkUpdateDescriptorSets.html

type AccelerationStructureCreateInfoNVX Uses

type AccelerationStructureCreateInfoNVX struct {
    SType         StructureType
    PNext         unsafe.Pointer
    Type          AccelerationStructureTypeNVX
    Flags         BuildAccelerationStructureFlagsNVX
    CompactedSize DeviceSize
    InstanceCount uint32
    GeometryCount uint32
    PGeometries   []GeometryNVX
    // contains filtered or unexported fields
}

AccelerationStructureCreateInfoNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkAccelerationStructureCreateInfoNVX

func NewAccelerationStructureCreateInfoNVXRef Uses

func NewAccelerationStructureCreateInfoNVXRef(ref unsafe.Pointer) *AccelerationStructureCreateInfoNVX

NewAccelerationStructureCreateInfoNVXRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*AccelerationStructureCreateInfoNVX) Deref Uses

func (x *AccelerationStructureCreateInfoNVX) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*AccelerationStructureCreateInfoNVX) Free Uses

func (x *AccelerationStructureCreateInfoNVX) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*AccelerationStructureCreateInfoNVX) PassRef Uses

func (x *AccelerationStructureCreateInfoNVX) PassRef() (*C.VkAccelerationStructureCreateInfoNVX, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (AccelerationStructureCreateInfoNVX) PassValue Uses

func (x AccelerationStructureCreateInfoNVX) PassValue() (C.VkAccelerationStructureCreateInfoNVX, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*AccelerationStructureCreateInfoNVX) Ref Uses

func (x *AccelerationStructureCreateInfoNVX) Ref() *C.VkAccelerationStructureCreateInfoNVX

Ref returns the underlying reference to C object or nil if struct is nil.

type AccelerationStructureMemoryRequirementsInfoNVX Uses

type AccelerationStructureMemoryRequirementsInfoNVX struct {
    SType                 StructureType
    PNext                 unsafe.Pointer
    AccelerationStructure AccelerationStructureNVX
    // contains filtered or unexported fields
}

AccelerationStructureMemoryRequirementsInfoNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkAccelerationStructureMemoryRequirementsInfoNVX

func NewAccelerationStructureMemoryRequirementsInfoNVXRef Uses

func NewAccelerationStructureMemoryRequirementsInfoNVXRef(ref unsafe.Pointer) *AccelerationStructureMemoryRequirementsInfoNVX

NewAccelerationStructureMemoryRequirementsInfoNVXRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*AccelerationStructureMemoryRequirementsInfoNVX) Deref Uses

func (x *AccelerationStructureMemoryRequirementsInfoNVX) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*AccelerationStructureMemoryRequirementsInfoNVX) Free Uses

func (x *AccelerationStructureMemoryRequirementsInfoNVX) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*AccelerationStructureMemoryRequirementsInfoNVX) PassRef Uses

func (x *AccelerationStructureMemoryRequirementsInfoNVX) PassRef() (*C.VkAccelerationStructureMemoryRequirementsInfoNVX, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (AccelerationStructureMemoryRequirementsInfoNVX) PassValue Uses

func (x AccelerationStructureMemoryRequirementsInfoNVX) PassValue() (C.VkAccelerationStructureMemoryRequirementsInfoNVX, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*AccelerationStructureMemoryRequirementsInfoNVX) Ref Uses

func (x *AccelerationStructureMemoryRequirementsInfoNVX) Ref() *C.VkAccelerationStructureMemoryRequirementsInfoNVX

Ref returns the underlying reference to C object or nil if struct is nil.

type AccelerationStructureNVX Uses

type AccelerationStructureNVX C.VkAccelerationStructureNVX

AccelerationStructureNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkAccelerationStructureNVX

type AccelerationStructureTypeNVX Uses

type AccelerationStructureTypeNVX int32

AccelerationStructureTypeNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkAccelerationStructureTypeNVX

const (
    AccelerationStructureTypeTopLevelNvx    AccelerationStructureTypeNVX = iota
    AccelerationStructureTypeBottomLevelNvx AccelerationStructureTypeNVX = 1
    AccelerationStructureTypeBeginRangeNvx  AccelerationStructureTypeNVX = 0
    AccelerationStructureTypeEndRangeNvx    AccelerationStructureTypeNVX = 1
    AccelerationStructureTypeRangeSizeNvx   AccelerationStructureTypeNVX = 2
    AccelerationStructureTypeMaxEnumNvx     AccelerationStructureTypeNVX = 2147483647
)

AccelerationStructureTypeNVX enumeration from https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkAccelerationStructureTypeNVX

type AccessFlagBits Uses

type AccessFlagBits int32

AccessFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkAccessFlagBits.html

const (
    AccessIndirectCommandReadBit            AccessFlagBits = 1
    AccessIndexReadBit                      AccessFlagBits = 2
    AccessVertexAttributeReadBit            AccessFlagBits = 4
    AccessUniformReadBit                    AccessFlagBits = 8
    AccessInputAttachmentReadBit            AccessFlagBits = 16
    AccessShaderReadBit                     AccessFlagBits = 32
    AccessShaderWriteBit                    AccessFlagBits = 64
    AccessColorAttachmentReadBit            AccessFlagBits = 128
    AccessColorAttachmentWriteBit           AccessFlagBits = 256
    AccessDepthStencilAttachmentReadBit     AccessFlagBits = 512
    AccessDepthStencilAttachmentWriteBit    AccessFlagBits = 1024
    AccessTransferReadBit                   AccessFlagBits = 2048
    AccessTransferWriteBit                  AccessFlagBits = 4096
    AccessHostReadBit                       AccessFlagBits = 8192
    AccessHostWriteBit                      AccessFlagBits = 16384
    AccessMemoryReadBit                     AccessFlagBits = 32768
    AccessMemoryWriteBit                    AccessFlagBits = 65536
    AccessTransformFeedbackWriteBit         AccessFlagBits = 33554432
    AccessTransformFeedbackCounterReadBit   AccessFlagBits = 67108864
    AccessTransformFeedbackCounterWriteBit  AccessFlagBits = 134217728
    AccessConditionalRenderingReadBit       AccessFlagBits = 1048576
    AccessCommandProcessReadBitNvx          AccessFlagBits = 131072
    AccessCommandProcessWriteBitNvx         AccessFlagBits = 262144
    AccessColorAttachmentReadNoncoherentBit AccessFlagBits = 524288
    AccessShadingRateImageReadBitNv         AccessFlagBits = 8388608
    AccessAccelerationStructureReadBitNvx   AccessFlagBits = 2097152
    AccessAccelerationStructureWriteBitNvx  AccessFlagBits = 4194304
    AccessFlagBitsMaxEnum                   AccessFlagBits = 2147483647
)

AccessFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkAccessFlagBits.html

type AccessFlags Uses

type AccessFlags uint32

AccessFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkAccessFlags.html

type AcquireNextImageInfo Uses

type AcquireNextImageInfo struct {
    SType      StructureType
    PNext      unsafe.Pointer
    Swapchain  Swapchain
    Timeout    uint64
    Semaphore  Semaphore
    Fence      Fence
    DeviceMask uint32
    // contains filtered or unexported fields
}

AcquireNextImageInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkAcquireNextImageInfoKHR

func NewAcquireNextImageInfoRef Uses

func NewAcquireNextImageInfoRef(ref unsafe.Pointer) *AcquireNextImageInfo

NewAcquireNextImageInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*AcquireNextImageInfo) Deref Uses

func (x *AcquireNextImageInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*AcquireNextImageInfo) Free Uses

func (x *AcquireNextImageInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*AcquireNextImageInfo) PassRef Uses

func (x *AcquireNextImageInfo) PassRef() (*C.VkAcquireNextImageInfoKHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (AcquireNextImageInfo) PassValue Uses

func (x AcquireNextImageInfo) PassValue() (C.VkAcquireNextImageInfoKHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*AcquireNextImageInfo) Ref Uses

func (x *AcquireNextImageInfo) Ref() *C.VkAcquireNextImageInfoKHR

Ref returns the underlying reference to C object or nil if struct is nil.

type AllocationCallbacks Uses

type AllocationCallbacks C.VkAllocationCallbacks

AllocationCallbacks as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkAllocationCallbacks.html

func NewAllocationCallbacks Uses

func NewAllocationCallbacks() *AllocationCallbacks

NewAllocationCallbacks allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.

func NewAllocationCallbacksRef Uses

func NewAllocationCallbacksRef(ref unsafe.Pointer) *AllocationCallbacks

NewAllocationCallbacksRef converts the C object reference into a raw struct reference without wrapping.

func (*AllocationCallbacks) Free Uses

func (x *AllocationCallbacks) Free()

Free cleanups the referenced memory using C free.

func (*AllocationCallbacks) PassRef Uses

func (x *AllocationCallbacks) PassRef() *C.VkAllocationCallbacks

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*AllocationCallbacks) Ref Uses

func (x *AllocationCallbacks) Ref() *C.VkAllocationCallbacks

Ref returns a reference to C object as it is.

type ApplicationInfo Uses

type ApplicationInfo struct {
    SType              StructureType
    PNext              unsafe.Pointer
    PApplicationName   string
    ApplicationVersion uint32
    PEngineName        string
    EngineVersion      uint32
    ApiVersion         uint32
    // contains filtered or unexported fields
}

ApplicationInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkApplicationInfo.html

func NewApplicationInfoRef Uses

func NewApplicationInfoRef(ref unsafe.Pointer) *ApplicationInfo

NewApplicationInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ApplicationInfo) Deref Uses

func (x *ApplicationInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ApplicationInfo) Free Uses

func (x *ApplicationInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ApplicationInfo) PassRef Uses

func (x *ApplicationInfo) PassRef() (*C.VkApplicationInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ApplicationInfo) PassValue Uses

func (x ApplicationInfo) PassValue() (C.VkApplicationInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ApplicationInfo) Ref Uses

func (x *ApplicationInfo) Ref() *C.VkApplicationInfo

Ref returns the underlying reference to C object or nil if struct is nil.

type AttachmentDescription Uses

type AttachmentDescription struct {
    Flags          AttachmentDescriptionFlags
    Format         Format
    Samples        SampleCountFlagBits
    LoadOp         AttachmentLoadOp
    StoreOp        AttachmentStoreOp
    StencilLoadOp  AttachmentLoadOp
    StencilStoreOp AttachmentStoreOp
    InitialLayout  ImageLayout
    FinalLayout    ImageLayout
    // contains filtered or unexported fields
}

AttachmentDescription as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkAttachmentDescription.html

func NewAttachmentDescriptionRef Uses

func NewAttachmentDescriptionRef(ref unsafe.Pointer) *AttachmentDescription

NewAttachmentDescriptionRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*AttachmentDescription) Deref Uses

func (x *AttachmentDescription) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*AttachmentDescription) Free Uses

func (x *AttachmentDescription) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*AttachmentDescription) PassRef Uses

func (x *AttachmentDescription) PassRef() (*C.VkAttachmentDescription, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (AttachmentDescription) PassValue Uses

func (x AttachmentDescription) PassValue() (C.VkAttachmentDescription, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*AttachmentDescription) Ref Uses

func (x *AttachmentDescription) Ref() *C.VkAttachmentDescription

Ref returns the underlying reference to C object or nil if struct is nil.

type AttachmentDescription2 Uses

type AttachmentDescription2 struct {
    SType          StructureType
    PNext          unsafe.Pointer
    Flags          AttachmentDescriptionFlags
    Format         Format
    Samples        SampleCountFlagBits
    LoadOp         AttachmentLoadOp
    StoreOp        AttachmentStoreOp
    StencilLoadOp  AttachmentLoadOp
    StencilStoreOp AttachmentStoreOp
    InitialLayout  ImageLayout
    FinalLayout    ImageLayout
    // contains filtered or unexported fields
}

AttachmentDescription2 as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkAttachmentDescription2KHR

func NewAttachmentDescription2Ref Uses

func NewAttachmentDescription2Ref(ref unsafe.Pointer) *AttachmentDescription2

NewAttachmentDescription2Ref creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*AttachmentDescription2) Deref Uses

func (x *AttachmentDescription2) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*AttachmentDescription2) Free Uses

func (x *AttachmentDescription2) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*AttachmentDescription2) PassRef Uses

func (x *AttachmentDescription2) PassRef() (*C.VkAttachmentDescription2KHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (AttachmentDescription2) PassValue Uses

func (x AttachmentDescription2) PassValue() (C.VkAttachmentDescription2KHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*AttachmentDescription2) Ref Uses

func (x *AttachmentDescription2) Ref() *C.VkAttachmentDescription2KHR

Ref returns the underlying reference to C object or nil if struct is nil.

type AttachmentDescriptionFlagBits Uses

type AttachmentDescriptionFlagBits int32

AttachmentDescriptionFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkAttachmentDescriptionFlagBits.html

const (
    AttachmentDescriptionMayAliasBit     AttachmentDescriptionFlagBits = 1
    AttachmentDescriptionFlagBitsMaxEnum AttachmentDescriptionFlagBits = 2147483647
)

AttachmentDescriptionFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkAttachmentDescriptionFlagBits.html

type AttachmentDescriptionFlags Uses

type AttachmentDescriptionFlags uint32

AttachmentDescriptionFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkAttachmentDescriptionFlags.html

type AttachmentLoadOp Uses

type AttachmentLoadOp int32

AttachmentLoadOp as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkAttachmentLoadOp.html

const (
    AttachmentLoadOpLoad       AttachmentLoadOp = iota
    AttachmentLoadOpClear      AttachmentLoadOp = 1
    AttachmentLoadOpDontCare   AttachmentLoadOp = 2
    AttachmentLoadOpBeginRange AttachmentLoadOp = 0
    AttachmentLoadOpEndRange   AttachmentLoadOp = 2
    AttachmentLoadOpRangeSize  AttachmentLoadOp = 3
    AttachmentLoadOpMaxEnum    AttachmentLoadOp = 2147483647
)

AttachmentLoadOp enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkAttachmentLoadOp.html

type AttachmentReference Uses

type AttachmentReference struct {
    Attachment uint32
    Layout     ImageLayout
    // contains filtered or unexported fields
}

AttachmentReference as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkAttachmentReference.html

func NewAttachmentReferenceRef Uses

func NewAttachmentReferenceRef(ref unsafe.Pointer) *AttachmentReference

NewAttachmentReferenceRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*AttachmentReference) Deref Uses

func (x *AttachmentReference) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*AttachmentReference) Free Uses

func (x *AttachmentReference) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*AttachmentReference) PassRef Uses

func (x *AttachmentReference) PassRef() (*C.VkAttachmentReference, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (AttachmentReference) PassValue Uses

func (x AttachmentReference) PassValue() (C.VkAttachmentReference, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*AttachmentReference) Ref Uses

func (x *AttachmentReference) Ref() *C.VkAttachmentReference

Ref returns the underlying reference to C object or nil if struct is nil.

type AttachmentReference2 Uses

type AttachmentReference2 struct {
    SType      StructureType
    PNext      unsafe.Pointer
    Attachment uint32
    Layout     ImageLayout
    AspectMask ImageAspectFlags
    // contains filtered or unexported fields
}

AttachmentReference2 as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkAttachmentReference2KHR

func NewAttachmentReference2Ref Uses

func NewAttachmentReference2Ref(ref unsafe.Pointer) *AttachmentReference2

NewAttachmentReference2Ref creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*AttachmentReference2) Deref Uses

func (x *AttachmentReference2) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*AttachmentReference2) Free Uses

func (x *AttachmentReference2) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*AttachmentReference2) PassRef Uses

func (x *AttachmentReference2) PassRef() (*C.VkAttachmentReference2KHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (AttachmentReference2) PassValue Uses

func (x AttachmentReference2) PassValue() (C.VkAttachmentReference2KHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*AttachmentReference2) Ref Uses

func (x *AttachmentReference2) Ref() *C.VkAttachmentReference2KHR

Ref returns the underlying reference to C object or nil if struct is nil.

type AttachmentSampleLocations Uses

type AttachmentSampleLocations struct {
    AttachmentIndex     uint32
    SampleLocationsInfo SampleLocationsInfo
    // contains filtered or unexported fields
}

AttachmentSampleLocations as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkAttachmentSampleLocationsEXT.html

func NewAttachmentSampleLocationsRef Uses

func NewAttachmentSampleLocationsRef(ref unsafe.Pointer) *AttachmentSampleLocations

NewAttachmentSampleLocationsRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*AttachmentSampleLocations) Deref Uses

func (x *AttachmentSampleLocations) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*AttachmentSampleLocations) Free Uses

func (x *AttachmentSampleLocations) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*AttachmentSampleLocations) PassRef Uses

func (x *AttachmentSampleLocations) PassRef() (*C.VkAttachmentSampleLocationsEXT, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (AttachmentSampleLocations) PassValue Uses

func (x AttachmentSampleLocations) PassValue() (C.VkAttachmentSampleLocationsEXT, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*AttachmentSampleLocations) Ref Uses

func (x *AttachmentSampleLocations) Ref() *C.VkAttachmentSampleLocationsEXT

Ref returns the underlying reference to C object or nil if struct is nil.

type AttachmentStoreOp Uses

type AttachmentStoreOp int32

AttachmentStoreOp as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkAttachmentStoreOp.html

const (
    AttachmentStoreOpStore      AttachmentStoreOp = iota
    AttachmentStoreOpDontCare   AttachmentStoreOp = 1
    AttachmentStoreOpBeginRange AttachmentStoreOp = 0
    AttachmentStoreOpEndRange   AttachmentStoreOp = 1
    AttachmentStoreOpRangeSize  AttachmentStoreOp = 2
    AttachmentStoreOpMaxEnum    AttachmentStoreOp = 2147483647
)

AttachmentStoreOp enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkAttachmentStoreOp.html

type BaseInStructure Uses

type BaseInStructure struct {
    SType StructureType
    PNext []BaseInStructure
    // contains filtered or unexported fields
}

BaseInStructure as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBaseInStructure.html

func NewBaseInStructureRef Uses

func NewBaseInStructureRef(ref unsafe.Pointer) *BaseInStructure

NewBaseInStructureRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*BaseInStructure) Deref Uses

func (x *BaseInStructure) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*BaseInStructure) Free Uses

func (x *BaseInStructure) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*BaseInStructure) PassRef Uses

func (x *BaseInStructure) PassRef() (*C.VkBaseInStructure, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (BaseInStructure) PassValue Uses

func (x BaseInStructure) PassValue() (C.VkBaseInStructure, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*BaseInStructure) Ref Uses

func (x *BaseInStructure) Ref() *C.VkBaseInStructure

Ref returns the underlying reference to C object or nil if struct is nil.

type BaseOutStructure Uses

type BaseOutStructure struct {
    SType StructureType
    PNext []BaseOutStructure
    // contains filtered or unexported fields
}

BaseOutStructure as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBaseOutStructure.html

func NewBaseOutStructureRef Uses

func NewBaseOutStructureRef(ref unsafe.Pointer) *BaseOutStructure

NewBaseOutStructureRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*BaseOutStructure) Deref Uses

func (x *BaseOutStructure) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*BaseOutStructure) Free Uses

func (x *BaseOutStructure) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*BaseOutStructure) PassRef Uses

func (x *BaseOutStructure) PassRef() (*C.VkBaseOutStructure, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (BaseOutStructure) PassValue Uses

func (x BaseOutStructure) PassValue() (C.VkBaseOutStructure, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*BaseOutStructure) Ref Uses

func (x *BaseOutStructure) Ref() *C.VkBaseOutStructure

Ref returns the underlying reference to C object or nil if struct is nil.

type BindAccelerationStructureMemoryInfoNVX Uses

type BindAccelerationStructureMemoryInfoNVX struct {
    SType                 StructureType
    PNext                 unsafe.Pointer
    AccelerationStructure AccelerationStructureNVX
    Memory                DeviceMemory
    MemoryOffset          DeviceSize
    DeviceIndexCount      uint32
    PDeviceIndices        []uint32
    // contains filtered or unexported fields
}

BindAccelerationStructureMemoryInfoNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkBindAccelerationStructureMemoryInfoNVX

func NewBindAccelerationStructureMemoryInfoNVXRef Uses

func NewBindAccelerationStructureMemoryInfoNVXRef(ref unsafe.Pointer) *BindAccelerationStructureMemoryInfoNVX

NewBindAccelerationStructureMemoryInfoNVXRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*BindAccelerationStructureMemoryInfoNVX) Deref Uses

func (x *BindAccelerationStructureMemoryInfoNVX) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*BindAccelerationStructureMemoryInfoNVX) Free Uses

func (x *BindAccelerationStructureMemoryInfoNVX) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*BindAccelerationStructureMemoryInfoNVX) PassRef Uses

func (x *BindAccelerationStructureMemoryInfoNVX) PassRef() (*C.VkBindAccelerationStructureMemoryInfoNVX, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (BindAccelerationStructureMemoryInfoNVX) PassValue Uses

func (x BindAccelerationStructureMemoryInfoNVX) PassValue() (C.VkBindAccelerationStructureMemoryInfoNVX, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*BindAccelerationStructureMemoryInfoNVX) Ref Uses

func (x *BindAccelerationStructureMemoryInfoNVX) Ref() *C.VkBindAccelerationStructureMemoryInfoNVX

Ref returns the underlying reference to C object or nil if struct is nil.

type BindBufferMemoryDeviceGroupInfo Uses

type BindBufferMemoryDeviceGroupInfo struct {
    SType            StructureType
    PNext            unsafe.Pointer
    DeviceIndexCount uint32
    PDeviceIndices   []uint32
    // contains filtered or unexported fields
}

BindBufferMemoryDeviceGroupInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBindBufferMemoryDeviceGroupInfo.html

func NewBindBufferMemoryDeviceGroupInfoRef Uses

func NewBindBufferMemoryDeviceGroupInfoRef(ref unsafe.Pointer) *BindBufferMemoryDeviceGroupInfo

NewBindBufferMemoryDeviceGroupInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*BindBufferMemoryDeviceGroupInfo) Deref Uses

func (x *BindBufferMemoryDeviceGroupInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*BindBufferMemoryDeviceGroupInfo) Free Uses

func (x *BindBufferMemoryDeviceGroupInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*BindBufferMemoryDeviceGroupInfo) PassRef Uses

func (x *BindBufferMemoryDeviceGroupInfo) PassRef() (*C.VkBindBufferMemoryDeviceGroupInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (BindBufferMemoryDeviceGroupInfo) PassValue Uses

func (x BindBufferMemoryDeviceGroupInfo) PassValue() (C.VkBindBufferMemoryDeviceGroupInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*BindBufferMemoryDeviceGroupInfo) Ref Uses

func (x *BindBufferMemoryDeviceGroupInfo) Ref() *C.VkBindBufferMemoryDeviceGroupInfo

Ref returns the underlying reference to C object or nil if struct is nil.

type BindBufferMemoryInfo Uses

type BindBufferMemoryInfo struct {
    SType        StructureType
    PNext        unsafe.Pointer
    Buffer       Buffer
    Memory       DeviceMemory
    MemoryOffset DeviceSize
    // contains filtered or unexported fields
}

BindBufferMemoryInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBindBufferMemoryInfo.html

func NewBindBufferMemoryInfoRef Uses

func NewBindBufferMemoryInfoRef(ref unsafe.Pointer) *BindBufferMemoryInfo

NewBindBufferMemoryInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*BindBufferMemoryInfo) Deref Uses

func (x *BindBufferMemoryInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*BindBufferMemoryInfo) Free Uses

func (x *BindBufferMemoryInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*BindBufferMemoryInfo) PassRef Uses

func (x *BindBufferMemoryInfo) PassRef() (*C.VkBindBufferMemoryInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (BindBufferMemoryInfo) PassValue Uses

func (x BindBufferMemoryInfo) PassValue() (C.VkBindBufferMemoryInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*BindBufferMemoryInfo) Ref Uses

func (x *BindBufferMemoryInfo) Ref() *C.VkBindBufferMemoryInfo

Ref returns the underlying reference to C object or nil if struct is nil.

type BindImageMemoryDeviceGroupInfo Uses

type BindImageMemoryDeviceGroupInfo struct {
    SType                        StructureType
    PNext                        unsafe.Pointer
    DeviceIndexCount             uint32
    PDeviceIndices               []uint32
    SplitInstanceBindRegionCount uint32
    PSplitInstanceBindRegions    []Rect2D
    // contains filtered or unexported fields
}

BindImageMemoryDeviceGroupInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBindImageMemoryDeviceGroupInfo.html

func NewBindImageMemoryDeviceGroupInfoRef Uses

func NewBindImageMemoryDeviceGroupInfoRef(ref unsafe.Pointer) *BindImageMemoryDeviceGroupInfo

NewBindImageMemoryDeviceGroupInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*BindImageMemoryDeviceGroupInfo) Deref Uses

func (x *BindImageMemoryDeviceGroupInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*BindImageMemoryDeviceGroupInfo) Free Uses

func (x *BindImageMemoryDeviceGroupInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*BindImageMemoryDeviceGroupInfo) PassRef Uses

func (x *BindImageMemoryDeviceGroupInfo) PassRef() (*C.VkBindImageMemoryDeviceGroupInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (BindImageMemoryDeviceGroupInfo) PassValue Uses

func (x BindImageMemoryDeviceGroupInfo) PassValue() (C.VkBindImageMemoryDeviceGroupInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*BindImageMemoryDeviceGroupInfo) Ref Uses

func (x *BindImageMemoryDeviceGroupInfo) Ref() *C.VkBindImageMemoryDeviceGroupInfo

Ref returns the underlying reference to C object or nil if struct is nil.

type BindImageMemoryInfo Uses

type BindImageMemoryInfo struct {
    SType        StructureType
    PNext        unsafe.Pointer
    Image        Image
    Memory       DeviceMemory
    MemoryOffset DeviceSize
    // contains filtered or unexported fields
}

BindImageMemoryInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBindImageMemoryInfo.html

func NewBindImageMemoryInfoRef Uses

func NewBindImageMemoryInfoRef(ref unsafe.Pointer) *BindImageMemoryInfo

NewBindImageMemoryInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*BindImageMemoryInfo) Deref Uses

func (x *BindImageMemoryInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*BindImageMemoryInfo) Free Uses

func (x *BindImageMemoryInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*BindImageMemoryInfo) PassRef Uses

func (x *BindImageMemoryInfo) PassRef() (*C.VkBindImageMemoryInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (BindImageMemoryInfo) PassValue Uses

func (x BindImageMemoryInfo) PassValue() (C.VkBindImageMemoryInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*BindImageMemoryInfo) Ref Uses

func (x *BindImageMemoryInfo) Ref() *C.VkBindImageMemoryInfo

Ref returns the underlying reference to C object or nil if struct is nil.

type BindImageMemorySwapchainInfo Uses

type BindImageMemorySwapchainInfo struct {
    SType      StructureType
    PNext      unsafe.Pointer
    Swapchain  Swapchain
    ImageIndex uint32
    // contains filtered or unexported fields
}

BindImageMemorySwapchainInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkBindImageMemorySwapchainInfoKHR

func NewBindImageMemorySwapchainInfoRef Uses

func NewBindImageMemorySwapchainInfoRef(ref unsafe.Pointer) *BindImageMemorySwapchainInfo

NewBindImageMemorySwapchainInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*BindImageMemorySwapchainInfo) Deref Uses

func (x *BindImageMemorySwapchainInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*BindImageMemorySwapchainInfo) Free Uses

func (x *BindImageMemorySwapchainInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*BindImageMemorySwapchainInfo) PassRef Uses

func (x *BindImageMemorySwapchainInfo) PassRef() (*C.VkBindImageMemorySwapchainInfoKHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (BindImageMemorySwapchainInfo) PassValue Uses

func (x BindImageMemorySwapchainInfo) PassValue() (C.VkBindImageMemorySwapchainInfoKHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*BindImageMemorySwapchainInfo) Ref Uses

func (x *BindImageMemorySwapchainInfo) Ref() *C.VkBindImageMemorySwapchainInfoKHR

Ref returns the underlying reference to C object or nil if struct is nil.

type BindImagePlaneMemoryInfo Uses

type BindImagePlaneMemoryInfo struct {
    SType       StructureType
    PNext       unsafe.Pointer
    PlaneAspect ImageAspectFlagBits
    // contains filtered or unexported fields
}

BindImagePlaneMemoryInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBindImagePlaneMemoryInfo.html

func NewBindImagePlaneMemoryInfoRef Uses

func NewBindImagePlaneMemoryInfoRef(ref unsafe.Pointer) *BindImagePlaneMemoryInfo

NewBindImagePlaneMemoryInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*BindImagePlaneMemoryInfo) Deref Uses

func (x *BindImagePlaneMemoryInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*BindImagePlaneMemoryInfo) Free Uses

func (x *BindImagePlaneMemoryInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*BindImagePlaneMemoryInfo) PassRef Uses

func (x *BindImagePlaneMemoryInfo) PassRef() (*C.VkBindImagePlaneMemoryInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (BindImagePlaneMemoryInfo) PassValue Uses

func (x BindImagePlaneMemoryInfo) PassValue() (C.VkBindImagePlaneMemoryInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*BindImagePlaneMemoryInfo) Ref Uses

func (x *BindImagePlaneMemoryInfo) Ref() *C.VkBindImagePlaneMemoryInfo

Ref returns the underlying reference to C object or nil if struct is nil.

type BindSparseInfo Uses

type BindSparseInfo struct {
    SType                StructureType
    PNext                unsafe.Pointer
    WaitSemaphoreCount   uint32
    PWaitSemaphores      []Semaphore
    BufferBindCount      uint32
    PBufferBinds         []SparseBufferMemoryBindInfo
    ImageOpaqueBindCount uint32
    PImageOpaqueBinds    []SparseImageOpaqueMemoryBindInfo
    ImageBindCount       uint32
    PImageBinds          []SparseImageMemoryBindInfo
    SignalSemaphoreCount uint32
    PSignalSemaphores    []Semaphore
    // contains filtered or unexported fields
}

BindSparseInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBindSparseInfo.html

func NewBindSparseInfoRef Uses

func NewBindSparseInfoRef(ref unsafe.Pointer) *BindSparseInfo

NewBindSparseInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*BindSparseInfo) Deref Uses

func (x *BindSparseInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*BindSparseInfo) Free Uses

func (x *BindSparseInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*BindSparseInfo) PassRef Uses

func (x *BindSparseInfo) PassRef() (*C.VkBindSparseInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (BindSparseInfo) PassValue Uses

func (x BindSparseInfo) PassValue() (C.VkBindSparseInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*BindSparseInfo) Ref Uses

func (x *BindSparseInfo) Ref() *C.VkBindSparseInfo

Ref returns the underlying reference to C object or nil if struct is nil.

type BlendFactor Uses

type BlendFactor int32

BlendFactor as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBlendFactor.html

const (
    BlendFactorZero                  BlendFactor = iota
    BlendFactorOne                   BlendFactor = 1
    BlendFactorSrcColor              BlendFactor = 2
    BlendFactorOneMinusSrcColor      BlendFactor = 3
    BlendFactorDstColor              BlendFactor = 4
    BlendFactorOneMinusDstColor      BlendFactor = 5
    BlendFactorSrcAlpha              BlendFactor = 6
    BlendFactorOneMinusSrcAlpha      BlendFactor = 7
    BlendFactorDstAlpha              BlendFactor = 8
    BlendFactorOneMinusDstAlpha      BlendFactor = 9
    BlendFactorConstantColor         BlendFactor = 10
    BlendFactorOneMinusConstantColor BlendFactor = 11
    BlendFactorConstantAlpha         BlendFactor = 12
    BlendFactorOneMinusConstantAlpha BlendFactor = 13
    BlendFactorSrcAlphaSaturate      BlendFactor = 14
    BlendFactorSrc1Color             BlendFactor = 15
    BlendFactorOneMinusSrc1Color     BlendFactor = 16
    BlendFactorSrc1Alpha             BlendFactor = 17
    BlendFactorOneMinusSrc1Alpha     BlendFactor = 18
    BlendFactorBeginRange            BlendFactor = 0
    BlendFactorEndRange              BlendFactor = 18
    BlendFactorRangeSize             BlendFactor = 19
    BlendFactorMaxEnum               BlendFactor = 2147483647
)

BlendFactor enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBlendFactor.html

type BlendOp Uses

type BlendOp int32

BlendOp as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBlendOp.html

const (
    BlendOpAdd              BlendOp = iota
    BlendOpSubtract         BlendOp = 1
    BlendOpReverseSubtract  BlendOp = 2
    BlendOpMin              BlendOp = 3
    BlendOpMax              BlendOp = 4
    BlendOpZero             BlendOp = 1000148000
    BlendOpSrc              BlendOp = 1000148001
    BlendOpDst              BlendOp = 1000148002
    BlendOpSrcOver          BlendOp = 1000148003
    BlendOpDstOver          BlendOp = 1000148004
    BlendOpSrcIn            BlendOp = 1000148005
    BlendOpDstIn            BlendOp = 1000148006
    BlendOpSrcOut           BlendOp = 1000148007
    BlendOpDstOut           BlendOp = 1000148008
    BlendOpSrcAtop          BlendOp = 1000148009
    BlendOpDstAtop          BlendOp = 1000148010
    BlendOpXor              BlendOp = 1000148011
    BlendOpMultiply         BlendOp = 1000148012
    BlendOpScreen           BlendOp = 1000148013
    BlendOpOverlay          BlendOp = 1000148014
    BlendOpDarken           BlendOp = 1000148015
    BlendOpLighten          BlendOp = 1000148016
    BlendOpColordodge       BlendOp = 1000148017
    BlendOpColorburn        BlendOp = 1000148018
    BlendOpHardlight        BlendOp = 1000148019
    BlendOpSoftlight        BlendOp = 1000148020
    BlendOpDifference       BlendOp = 1000148021
    BlendOpExclusion        BlendOp = 1000148022
    BlendOpInvert           BlendOp = 1000148023
    BlendOpInvertRgb        BlendOp = 1000148024
    BlendOpLineardodge      BlendOp = 1000148025
    BlendOpLinearburn       BlendOp = 1000148026
    BlendOpVividlight       BlendOp = 1000148027
    BlendOpLinearlight      BlendOp = 1000148028
    BlendOpPinlight         BlendOp = 1000148029
    BlendOpHardmix          BlendOp = 1000148030
    BlendOpHslHue           BlendOp = 1000148031
    BlendOpHslSaturation    BlendOp = 1000148032
    BlendOpHslColor         BlendOp = 1000148033
    BlendOpHslLuminosity    BlendOp = 1000148034
    BlendOpPlus             BlendOp = 1000148035
    BlendOpPlusClamped      BlendOp = 1000148036
    BlendOpPlusClampedAlpha BlendOp = 1000148037
    BlendOpPlusDarker       BlendOp = 1000148038
    BlendOpMinus            BlendOp = 1000148039
    BlendOpMinusClamped     BlendOp = 1000148040
    BlendOpContrast         BlendOp = 1000148041
    BlendOpInvertOvg        BlendOp = 1000148042
    BlendOpRed              BlendOp = 1000148043
    BlendOpGreen            BlendOp = 1000148044
    BlendOpBlue             BlendOp = 1000148045
    BlendOpBeginRange       BlendOp = 0
    BlendOpEndRange         BlendOp = 4
    BlendOpRangeSize        BlendOp = 5
    BlendOpMaxEnum          BlendOp = 2147483647
)

BlendOp enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBlendOp.html

type BlendOverlap Uses

type BlendOverlap int32

BlendOverlap as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBlendOverlapEXT.html

const (
    BlendOverlapUncorrelated BlendOverlap = iota
    BlendOverlapDisjoint     BlendOverlap = 1
    BlendOverlapConjoint     BlendOverlap = 2
    BlendOverlapBeginRange   BlendOverlap = 0
    BlendOverlapEndRange     BlendOverlap = 2
    BlendOverlapRangeSize    BlendOverlap = 3
    BlendOverlapMaxEnum      BlendOverlap = 2147483647
)

BlendOverlap enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBlendOverlapEXT.html

type Bool32 Uses

type Bool32 uint32

Bool32 type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBool32.html

func (Bool32) B Uses

func (b Bool32) B() bool

type BorderColor Uses

type BorderColor int32

BorderColor as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBorderColor.html

const (
    BorderColorFloatTransparentBlack BorderColor = iota
    BorderColorIntTransparentBlack   BorderColor = 1
    BorderColorFloatOpaqueBlack      BorderColor = 2
    BorderColorIntOpaqueBlack        BorderColor = 3
    BorderColorFloatOpaqueWhite      BorderColor = 4
    BorderColorIntOpaqueWhite        BorderColor = 5
    BorderColorBeginRange            BorderColor = 0
    BorderColorEndRange              BorderColor = 5
    BorderColorRangeSize             BorderColor = 6
    BorderColorMaxEnum               BorderColor = 2147483647
)

BorderColor enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBorderColor.html

type Buffer Uses

type Buffer C.VkBuffer

Buffer as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBuffer.html

type BufferCopy Uses

type BufferCopy struct {
    SrcOffset DeviceSize
    DstOffset DeviceSize
    Size      DeviceSize
    // contains filtered or unexported fields
}

BufferCopy as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBufferCopy.html

func NewBufferCopyRef Uses

func NewBufferCopyRef(ref unsafe.Pointer) *BufferCopy

NewBufferCopyRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*BufferCopy) Deref Uses

func (x *BufferCopy) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*BufferCopy) Free Uses

func (x *BufferCopy) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*BufferCopy) PassRef Uses

func (x *BufferCopy) PassRef() (*C.VkBufferCopy, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (BufferCopy) PassValue Uses

func (x BufferCopy) PassValue() (C.VkBufferCopy, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*BufferCopy) Ref Uses

func (x *BufferCopy) Ref() *C.VkBufferCopy

Ref returns the underlying reference to C object or nil if struct is nil.

type BufferCreateFlagBits Uses

type BufferCreateFlagBits int32

BufferCreateFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBufferCreateFlagBits.html

const (
    BufferCreateSparseBindingBit   BufferCreateFlagBits = 1
    BufferCreateSparseResidencyBit BufferCreateFlagBits = 2
    BufferCreateSparseAliasedBit   BufferCreateFlagBits = 4
    BufferCreateProtectedBit       BufferCreateFlagBits = 8
    BufferCreateFlagBitsMaxEnum    BufferCreateFlagBits = 2147483647
)

BufferCreateFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBufferCreateFlagBits.html

type BufferCreateFlags Uses

type BufferCreateFlags uint32

BufferCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBufferCreateFlags.html

type BufferCreateInfo Uses

type BufferCreateInfo struct {
    SType                 StructureType
    PNext                 unsafe.Pointer
    Flags                 BufferCreateFlags
    Size                  DeviceSize
    Usage                 BufferUsageFlags
    SharingMode           SharingMode
    QueueFamilyIndexCount uint32
    PQueueFamilyIndices   []uint32
    // contains filtered or unexported fields
}

BufferCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBufferCreateInfo.html

func NewBufferCreateInfoRef Uses

func NewBufferCreateInfoRef(ref unsafe.Pointer) *BufferCreateInfo

NewBufferCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*BufferCreateInfo) Deref Uses

func (x *BufferCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*BufferCreateInfo) Free Uses

func (x *BufferCreateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*BufferCreateInfo) PassRef Uses

func (x *BufferCreateInfo) PassRef() (*C.VkBufferCreateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (BufferCreateInfo) PassValue Uses

func (x BufferCreateInfo) PassValue() (C.VkBufferCreateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*BufferCreateInfo) Ref Uses

func (x *BufferCreateInfo) Ref() *C.VkBufferCreateInfo

Ref returns the underlying reference to C object or nil if struct is nil.

type BufferImageCopy Uses

type BufferImageCopy struct {
    BufferOffset      DeviceSize
    BufferRowLength   uint32
    BufferImageHeight uint32
    ImageSubresource  ImageSubresourceLayers
    ImageOffset       Offset3D
    ImageExtent       Extent3D
    // contains filtered or unexported fields
}

BufferImageCopy as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBufferImageCopy.html

func NewBufferImageCopyRef Uses

func NewBufferImageCopyRef(ref unsafe.Pointer) *BufferImageCopy

NewBufferImageCopyRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*BufferImageCopy) Deref Uses

func (x *BufferImageCopy) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*BufferImageCopy) Free Uses

func (x *BufferImageCopy) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*BufferImageCopy) PassRef Uses

func (x *BufferImageCopy) PassRef() (*C.VkBufferImageCopy, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (BufferImageCopy) PassValue Uses

func (x BufferImageCopy) PassValue() (C.VkBufferImageCopy, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*BufferImageCopy) Ref Uses

func (x *BufferImageCopy) Ref() *C.VkBufferImageCopy

Ref returns the underlying reference to C object or nil if struct is nil.

type BufferMemoryBarrier Uses

type BufferMemoryBarrier struct {
    SType               StructureType
    PNext               unsafe.Pointer
    SrcAccessMask       AccessFlags
    DstAccessMask       AccessFlags
    SrcQueueFamilyIndex uint32
    DstQueueFamilyIndex uint32
    Buffer              Buffer
    Offset              DeviceSize
    Size                DeviceSize
    // contains filtered or unexported fields
}

BufferMemoryBarrier as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBufferMemoryBarrier.html

func NewBufferMemoryBarrierRef Uses

func NewBufferMemoryBarrierRef(ref unsafe.Pointer) *BufferMemoryBarrier

NewBufferMemoryBarrierRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*BufferMemoryBarrier) Deref Uses

func (x *BufferMemoryBarrier) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*BufferMemoryBarrier) Free Uses

func (x *BufferMemoryBarrier) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*BufferMemoryBarrier) PassRef Uses

func (x *BufferMemoryBarrier) PassRef() (*C.VkBufferMemoryBarrier, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (BufferMemoryBarrier) PassValue Uses

func (x BufferMemoryBarrier) PassValue() (C.VkBufferMemoryBarrier, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*BufferMemoryBarrier) Ref Uses

func (x *BufferMemoryBarrier) Ref() *C.VkBufferMemoryBarrier

Ref returns the underlying reference to C object or nil if struct is nil.

type BufferMemoryRequirementsInfo2 Uses

type BufferMemoryRequirementsInfo2 struct {
    SType  StructureType
    PNext  unsafe.Pointer
    Buffer Buffer
    // contains filtered or unexported fields
}

BufferMemoryRequirementsInfo2 as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBufferMemoryRequirementsInfo2.html

func NewBufferMemoryRequirementsInfo2Ref Uses

func NewBufferMemoryRequirementsInfo2Ref(ref unsafe.Pointer) *BufferMemoryRequirementsInfo2

NewBufferMemoryRequirementsInfo2Ref creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*BufferMemoryRequirementsInfo2) Deref Uses

func (x *BufferMemoryRequirementsInfo2) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*BufferMemoryRequirementsInfo2) Free Uses

func (x *BufferMemoryRequirementsInfo2) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*BufferMemoryRequirementsInfo2) PassRef Uses

func (x *BufferMemoryRequirementsInfo2) PassRef() (*C.VkBufferMemoryRequirementsInfo2, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (BufferMemoryRequirementsInfo2) PassValue Uses

func (x BufferMemoryRequirementsInfo2) PassValue() (C.VkBufferMemoryRequirementsInfo2, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*BufferMemoryRequirementsInfo2) Ref Uses

func (x *BufferMemoryRequirementsInfo2) Ref() *C.VkBufferMemoryRequirementsInfo2

Ref returns the underlying reference to C object or nil if struct is nil.

type BufferUsageFlagBits Uses

type BufferUsageFlagBits int32

BufferUsageFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBufferUsageFlagBits.html

const (
    BufferUsageTransferSrcBit                    BufferUsageFlagBits = 1
    BufferUsageTransferDstBit                    BufferUsageFlagBits = 2
    BufferUsageUniformTexelBufferBit             BufferUsageFlagBits = 4
    BufferUsageStorageTexelBufferBit             BufferUsageFlagBits = 8
    BufferUsageUniformBufferBit                  BufferUsageFlagBits = 16
    BufferUsageStorageBufferBit                  BufferUsageFlagBits = 32
    BufferUsageIndexBufferBit                    BufferUsageFlagBits = 64
    BufferUsageVertexBufferBit                   BufferUsageFlagBits = 128
    BufferUsageIndirectBufferBit                 BufferUsageFlagBits = 256
    BufferUsageTransformFeedbackBufferBit        BufferUsageFlagBits = 2048
    BufferUsageTransformFeedbackCounterBufferBit BufferUsageFlagBits = 4096
    BufferUsageConditionalRenderingBit           BufferUsageFlagBits = 512
    BufferUsageRaytracingBitNvx                  BufferUsageFlagBits = 1024
    BufferUsageFlagBitsMaxEnum                   BufferUsageFlagBits = 2147483647
)

BufferUsageFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBufferUsageFlagBits.html

type BufferUsageFlags Uses

type BufferUsageFlags uint32

BufferUsageFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBufferUsageFlags.html

type BufferView Uses

type BufferView C.VkBufferView

BufferView as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBufferView.html

type BufferViewCreateFlags Uses

type BufferViewCreateFlags uint32

BufferViewCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBufferViewCreateFlags.html

type BufferViewCreateInfo Uses

type BufferViewCreateInfo struct {
    SType  StructureType
    PNext  unsafe.Pointer
    Flags  BufferViewCreateFlags
    Buffer Buffer
    Format Format
    Offset DeviceSize
    Range  DeviceSize
    // contains filtered or unexported fields
}

BufferViewCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBufferViewCreateInfo.html

func NewBufferViewCreateInfoRef Uses

func NewBufferViewCreateInfoRef(ref unsafe.Pointer) *BufferViewCreateInfo

NewBufferViewCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*BufferViewCreateInfo) Deref Uses

func (x *BufferViewCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*BufferViewCreateInfo) Free Uses

func (x *BufferViewCreateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*BufferViewCreateInfo) PassRef Uses

func (x *BufferViewCreateInfo) PassRef() (*C.VkBufferViewCreateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (BufferViewCreateInfo) PassValue Uses

func (x BufferViewCreateInfo) PassValue() (C.VkBufferViewCreateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*BufferViewCreateInfo) Ref Uses

func (x *BufferViewCreateInfo) Ref() *C.VkBufferViewCreateInfo

Ref returns the underlying reference to C object or nil if struct is nil.

type BuildAccelerationStructureFlagBitsNVX Uses

type BuildAccelerationStructureFlagBitsNVX int32

BuildAccelerationStructureFlagBitsNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkBuildAccelerationStructureFlagBitsNVX

const (
    BuildAccelerationStructureAllowUpdateBitNvx     BuildAccelerationStructureFlagBitsNVX = 1
    BuildAccelerationStructureAllowCompactionBitNvx BuildAccelerationStructureFlagBitsNVX = 2
    BuildAccelerationStructurePreferFastTraceBitNvx BuildAccelerationStructureFlagBitsNVX = 4
    BuildAccelerationStructurePreferFastBuildBitNvx BuildAccelerationStructureFlagBitsNVX = 8
    BuildAccelerationStructureLowMemoryBitNvx       BuildAccelerationStructureFlagBitsNVX = 16
    BuildAccelerationStructureFlagBitsMaxEnumNvx    BuildAccelerationStructureFlagBitsNVX = 2147483647
)

BuildAccelerationStructureFlagBitsNVX enumeration from https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkBuildAccelerationStructureFlagBitsNVX

type BuildAccelerationStructureFlagsNVX Uses

type BuildAccelerationStructureFlagsNVX uint32

BuildAccelerationStructureFlagsNVX type as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkBuildAccelerationStructureFlagsNVX

type CalibratedTimestampInfo Uses

type CalibratedTimestampInfo struct {
    SType      StructureType
    PNext      unsafe.Pointer
    TimeDomain TimeDomain
    // contains filtered or unexported fields
}

CalibratedTimestampInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCalibratedTimestampInfoEXT.html

func NewCalibratedTimestampInfoRef Uses

func NewCalibratedTimestampInfoRef(ref unsafe.Pointer) *CalibratedTimestampInfo

NewCalibratedTimestampInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*CalibratedTimestampInfo) Deref Uses

func (x *CalibratedTimestampInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*CalibratedTimestampInfo) Free Uses

func (x *CalibratedTimestampInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*CalibratedTimestampInfo) PassRef Uses

func (x *CalibratedTimestampInfo) PassRef() (*C.VkCalibratedTimestampInfoEXT, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (CalibratedTimestampInfo) PassValue Uses

func (x CalibratedTimestampInfo) PassValue() (C.VkCalibratedTimestampInfoEXT, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*CalibratedTimestampInfo) Ref Uses

func (x *CalibratedTimestampInfo) Ref() *C.VkCalibratedTimestampInfoEXT

Ref returns the underlying reference to C object or nil if struct is nil.

type CheckpointDataNV Uses

type CheckpointDataNV struct {
    SType             StructureType
    PNext             unsafe.Pointer
    Stage             PipelineStageFlagBits
    PCheckpointMarker unsafe.Pointer
    // contains filtered or unexported fields
}

CheckpointDataNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCheckpointDataNV.html

func NewCheckpointDataNVRef Uses

func NewCheckpointDataNVRef(ref unsafe.Pointer) *CheckpointDataNV

NewCheckpointDataNVRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*CheckpointDataNV) Deref Uses

func (x *CheckpointDataNV) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*CheckpointDataNV) Free Uses

func (x *CheckpointDataNV) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*CheckpointDataNV) PassRef Uses

func (x *CheckpointDataNV) PassRef() (*C.VkCheckpointDataNV, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (CheckpointDataNV) PassValue Uses

func (x CheckpointDataNV) PassValue() (C.VkCheckpointDataNV, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*CheckpointDataNV) Ref Uses

func (x *CheckpointDataNV) Ref() *C.VkCheckpointDataNV

Ref returns the underlying reference to C object or nil if struct is nil.

type ChromaLocation Uses

type ChromaLocation int32

ChromaLocation as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkChromaLocation.html

const (
    ChromaLocationCositedEven ChromaLocation = iota
    ChromaLocationMidpoint    ChromaLocation = 1
    ChromaLocationBeginRange  ChromaLocation = 0
    ChromaLocationEndRange    ChromaLocation = 1
    ChromaLocationRangeSize   ChromaLocation = 2
    ChromaLocationMaxEnum     ChromaLocation = 2147483647
)

ChromaLocation enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkChromaLocation.html

type ClearAttachment Uses

type ClearAttachment struct {
    AspectMask      ImageAspectFlags
    ColorAttachment uint32
    ClearValue      ClearValue
    // contains filtered or unexported fields
}

ClearAttachment as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkClearAttachment.html

func NewClearAttachmentRef Uses

func NewClearAttachmentRef(ref unsafe.Pointer) *ClearAttachment

NewClearAttachmentRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ClearAttachment) Deref Uses

func (x *ClearAttachment) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ClearAttachment) Free Uses

func (x *ClearAttachment) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ClearAttachment) PassRef Uses

func (x *ClearAttachment) PassRef() (*C.VkClearAttachment, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ClearAttachment) PassValue Uses

func (x ClearAttachment) PassValue() (C.VkClearAttachment, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ClearAttachment) Ref Uses

func (x *ClearAttachment) Ref() *C.VkClearAttachment

Ref returns the underlying reference to C object or nil if struct is nil.

type ClearColorValue Uses

type ClearColorValue [sizeofClearColorValue]byte

type ClearDepthStencilValue Uses

type ClearDepthStencilValue struct {
    Depth   float32
    Stencil uint32
    // contains filtered or unexported fields
}

ClearDepthStencilValue as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkClearDepthStencilValue.html

func NewClearDepthStencilValueRef Uses

func NewClearDepthStencilValueRef(ref unsafe.Pointer) *ClearDepthStencilValue

NewClearDepthStencilValueRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ClearDepthStencilValue) Deref Uses

func (x *ClearDepthStencilValue) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ClearDepthStencilValue) Free Uses

func (x *ClearDepthStencilValue) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ClearDepthStencilValue) PassRef Uses

func (x *ClearDepthStencilValue) PassRef() (*C.VkClearDepthStencilValue, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ClearDepthStencilValue) PassValue Uses

func (x ClearDepthStencilValue) PassValue() (C.VkClearDepthStencilValue, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ClearDepthStencilValue) Ref Uses

func (x *ClearDepthStencilValue) Ref() *C.VkClearDepthStencilValue

Ref returns the underlying reference to C object or nil if struct is nil.

type ClearRect Uses

type ClearRect struct {
    Rect           Rect2D
    BaseArrayLayer uint32
    LayerCount     uint32
    // contains filtered or unexported fields
}

ClearRect as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkClearRect.html

func NewClearRectRef Uses

func NewClearRectRef(ref unsafe.Pointer) *ClearRect

NewClearRectRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ClearRect) Deref Uses

func (x *ClearRect) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ClearRect) Free Uses

func (x *ClearRect) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ClearRect) PassRef Uses

func (x *ClearRect) PassRef() (*C.VkClearRect, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ClearRect) PassValue Uses

func (x ClearRect) PassValue() (C.VkClearRect, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ClearRect) Ref Uses

func (x *ClearRect) Ref() *C.VkClearRect

Ref returns the underlying reference to C object or nil if struct is nil.

type ClearValue Uses

type ClearValue [sizeofClearValue]byte

func NewClearDepthStencil Uses

func NewClearDepthStencil(depth float32, stencil uint32) ClearValue

func NewClearValue Uses

func NewClearValue(color []float32) ClearValue

func (*ClearValue) SetColor Uses

func (cv *ClearValue) SetColor(color []float32)

func (*ClearValue) SetDepthStencil Uses

func (cv *ClearValue) SetDepthStencil(depth float32, stencil uint32)

type CmdProcessCommandsInfoNVX Uses

type CmdProcessCommandsInfoNVX struct {
    SType                      StructureType
    PNext                      unsafe.Pointer
    ObjectTable                ObjectTableNVX
    IndirectCommandsLayout     IndirectCommandsLayoutNVX
    IndirectCommandsTokenCount uint32
    PIndirectCommandsTokens    []IndirectCommandsTokenNVX
    MaxSequencesCount          uint32
    TargetCommandBuffer        CommandBuffer
    SequencesCountBuffer       Buffer
    SequencesCountOffset       DeviceSize
    SequencesIndexBuffer       Buffer
    SequencesIndexOffset       DeviceSize
    // contains filtered or unexported fields
}

CmdProcessCommandsInfoNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkCmdProcessCommandsInfoNVX

func NewCmdProcessCommandsInfoNVXRef Uses

func NewCmdProcessCommandsInfoNVXRef(ref unsafe.Pointer) *CmdProcessCommandsInfoNVX

NewCmdProcessCommandsInfoNVXRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*CmdProcessCommandsInfoNVX) Deref Uses

func (x *CmdProcessCommandsInfoNVX) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*CmdProcessCommandsInfoNVX) Free Uses

func (x *CmdProcessCommandsInfoNVX) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*CmdProcessCommandsInfoNVX) PassRef Uses

func (x *CmdProcessCommandsInfoNVX) PassRef() (*C.VkCmdProcessCommandsInfoNVX, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (CmdProcessCommandsInfoNVX) PassValue Uses

func (x CmdProcessCommandsInfoNVX) PassValue() (C.VkCmdProcessCommandsInfoNVX, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*CmdProcessCommandsInfoNVX) Ref Uses

func (x *CmdProcessCommandsInfoNVX) Ref() *C.VkCmdProcessCommandsInfoNVX

Ref returns the underlying reference to C object or nil if struct is nil.

type CmdReserveSpaceForCommandsInfoNVX Uses

type CmdReserveSpaceForCommandsInfoNVX struct {
    SType                  StructureType
    PNext                  unsafe.Pointer
    ObjectTable            ObjectTableNVX
    IndirectCommandsLayout IndirectCommandsLayoutNVX
    MaxSequencesCount      uint32
    // contains filtered or unexported fields
}

CmdReserveSpaceForCommandsInfoNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkCmdReserveSpaceForCommandsInfoNVX

func NewCmdReserveSpaceForCommandsInfoNVXRef Uses

func NewCmdReserveSpaceForCommandsInfoNVXRef(ref unsafe.Pointer) *CmdReserveSpaceForCommandsInfoNVX

NewCmdReserveSpaceForCommandsInfoNVXRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*CmdReserveSpaceForCommandsInfoNVX) Deref Uses

func (x *CmdReserveSpaceForCommandsInfoNVX) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*CmdReserveSpaceForCommandsInfoNVX) Free Uses

func (x *CmdReserveSpaceForCommandsInfoNVX) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*CmdReserveSpaceForCommandsInfoNVX) PassRef Uses

func (x *CmdReserveSpaceForCommandsInfoNVX) PassRef() (*C.VkCmdReserveSpaceForCommandsInfoNVX, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (CmdReserveSpaceForCommandsInfoNVX) PassValue Uses

func (x CmdReserveSpaceForCommandsInfoNVX) PassValue() (C.VkCmdReserveSpaceForCommandsInfoNVX, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*CmdReserveSpaceForCommandsInfoNVX) Ref Uses

func (x *CmdReserveSpaceForCommandsInfoNVX) Ref() *C.VkCmdReserveSpaceForCommandsInfoNVX

Ref returns the underlying reference to C object or nil if struct is nil.

type CoarseSampleLocationNV Uses

type CoarseSampleLocationNV struct {
    PixelX uint32
    PixelY uint32
    Sample uint32
    // contains filtered or unexported fields
}

CoarseSampleLocationNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCoarseSampleLocationNV.html

func NewCoarseSampleLocationNVRef Uses

func NewCoarseSampleLocationNVRef(ref unsafe.Pointer) *CoarseSampleLocationNV

NewCoarseSampleLocationNVRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*CoarseSampleLocationNV) Deref Uses

func (x *CoarseSampleLocationNV) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*CoarseSampleLocationNV) Free Uses

func (x *CoarseSampleLocationNV) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*CoarseSampleLocationNV) PassRef Uses

func (x *CoarseSampleLocationNV) PassRef() (*C.VkCoarseSampleLocationNV, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (CoarseSampleLocationNV) PassValue Uses

func (x CoarseSampleLocationNV) PassValue() (C.VkCoarseSampleLocationNV, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*CoarseSampleLocationNV) Ref Uses

func (x *CoarseSampleLocationNV) Ref() *C.VkCoarseSampleLocationNV

Ref returns the underlying reference to C object or nil if struct is nil.

type CoarseSampleOrderCustomNV Uses

type CoarseSampleOrderCustomNV struct {
    ShadingRate         ShadingRatePaletteEntryNV
    SampleCount         uint32
    SampleLocationCount uint32
    PSampleLocations    []CoarseSampleLocationNV
    // contains filtered or unexported fields
}

CoarseSampleOrderCustomNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCoarseSampleOrderCustomNV.html

func NewCoarseSampleOrderCustomNVRef Uses

func NewCoarseSampleOrderCustomNVRef(ref unsafe.Pointer) *CoarseSampleOrderCustomNV

NewCoarseSampleOrderCustomNVRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*CoarseSampleOrderCustomNV) Deref Uses

func (x *CoarseSampleOrderCustomNV) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*CoarseSampleOrderCustomNV) Free Uses

func (x *CoarseSampleOrderCustomNV) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*CoarseSampleOrderCustomNV) PassRef Uses

func (x *CoarseSampleOrderCustomNV) PassRef() (*C.VkCoarseSampleOrderCustomNV, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (CoarseSampleOrderCustomNV) PassValue Uses

func (x CoarseSampleOrderCustomNV) PassValue() (C.VkCoarseSampleOrderCustomNV, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*CoarseSampleOrderCustomNV) Ref Uses

func (x *CoarseSampleOrderCustomNV) Ref() *C.VkCoarseSampleOrderCustomNV

Ref returns the underlying reference to C object or nil if struct is nil.

type CoarseSampleOrderTypeNV Uses

type CoarseSampleOrderTypeNV int32

CoarseSampleOrderTypeNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCoarseSampleOrderTypeNV.html

const (
    CoarseSampleOrderTypeDefaultNv     CoarseSampleOrderTypeNV = iota
    CoarseSampleOrderTypeCustomNv      CoarseSampleOrderTypeNV = 1
    CoarseSampleOrderTypePixelMajorNv  CoarseSampleOrderTypeNV = 2
    CoarseSampleOrderTypeSampleMajorNv CoarseSampleOrderTypeNV = 3
    CoarseSampleOrderTypeBeginRangeNv  CoarseSampleOrderTypeNV = 0
    CoarseSampleOrderTypeEndRangeNv    CoarseSampleOrderTypeNV = 3
    CoarseSampleOrderTypeRangeSizeNv   CoarseSampleOrderTypeNV = 4
    CoarseSampleOrderTypeMaxEnumNv     CoarseSampleOrderTypeNV = 2147483647
)

CoarseSampleOrderTypeNV enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCoarseSampleOrderTypeNV.html

type ColorComponentFlagBits Uses

type ColorComponentFlagBits int32

ColorComponentFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkColorComponentFlagBits.html

const (
    ColorComponentRBit            ColorComponentFlagBits = 1
    ColorComponentGBit            ColorComponentFlagBits = 2
    ColorComponentBBit            ColorComponentFlagBits = 4
    ColorComponentABit            ColorComponentFlagBits = 8
    ColorComponentFlagBitsMaxEnum ColorComponentFlagBits = 2147483647
)

ColorComponentFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkColorComponentFlagBits.html

type ColorComponentFlags Uses

type ColorComponentFlags uint32

ColorComponentFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkColorComponentFlags.html

type ColorSpace Uses

type ColorSpace int32

ColorSpace as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkColorSpaceKHR

const (
    ColorSpaceSrgbNonlinear         ColorSpace = iota
    ColorSpaceDisplayP3Nonlinear    ColorSpace = 1000104001
    ColorSpaceExtendedSrgbLinear    ColorSpace = 1000104002
    ColorSpaceDciP3Linear           ColorSpace = 1000104003
    ColorSpaceDciP3Nonlinear        ColorSpace = 1000104004
    ColorSpaceBt709Linear           ColorSpace = 1000104005
    ColorSpaceBt709Nonlinear        ColorSpace = 1000104006
    ColorSpaceBt2020Linear          ColorSpace = 1000104007
    ColorSpaceHdr10St2084           ColorSpace = 1000104008
    ColorSpaceDolbyvision           ColorSpace = 1000104009
    ColorSpaceHdr10Hlg              ColorSpace = 1000104010
    ColorSpaceAdobergbLinear        ColorSpace = 1000104011
    ColorSpaceAdobergbNonlinear     ColorSpace = 1000104012
    ColorSpacePassThrough           ColorSpace = 1000104013
    ColorSpaceExtendedSrgbNonlinear ColorSpace = 1000104014
    ColorspaceSrgbNonlinear         ColorSpace = 0
    ColorSpaceBeginRange            ColorSpace = 0
    ColorSpaceEndRange              ColorSpace = 0
    ColorSpaceRangeSize             ColorSpace = 1
    ColorSpaceMaxEnum               ColorSpace = 2147483647
)

ColorSpace enumeration from https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkColorSpaceKHR

type CommandBuffer Uses

type CommandBuffer C.VkCommandBuffer

CommandBuffer as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandBuffer.html

type CommandBufferAllocateInfo Uses

type CommandBufferAllocateInfo struct {
    SType              StructureType
    PNext              unsafe.Pointer
    CommandPool        CommandPool
    Level              CommandBufferLevel
    CommandBufferCount uint32
    // contains filtered or unexported fields
}

CommandBufferAllocateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandBufferAllocateInfo.html

func NewCommandBufferAllocateInfoRef Uses

func NewCommandBufferAllocateInfoRef(ref unsafe.Pointer) *CommandBufferAllocateInfo

NewCommandBufferAllocateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*CommandBufferAllocateInfo) Deref Uses

func (x *CommandBufferAllocateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*CommandBufferAllocateInfo) Free Uses

func (x *CommandBufferAllocateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*CommandBufferAllocateInfo) PassRef Uses

func (x *CommandBufferAllocateInfo) PassRef() (*C.VkCommandBufferAllocateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (CommandBufferAllocateInfo) PassValue Uses

func (x CommandBufferAllocateInfo) PassValue() (C.VkCommandBufferAllocateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*CommandBufferAllocateInfo) Ref Uses

func (x *CommandBufferAllocateInfo) Ref() *C.VkCommandBufferAllocateInfo

Ref returns the underlying reference to C object or nil if struct is nil.

type CommandBufferBeginInfo Uses

type CommandBufferBeginInfo struct {
    SType            StructureType
    PNext            unsafe.Pointer
    Flags            CommandBufferUsageFlags
    PInheritanceInfo []CommandBufferInheritanceInfo
    // contains filtered or unexported fields
}

CommandBufferBeginInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandBufferBeginInfo.html

func NewCommandBufferBeginInfoRef Uses

func NewCommandBufferBeginInfoRef(ref unsafe.Pointer) *CommandBufferBeginInfo

NewCommandBufferBeginInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*CommandBufferBeginInfo) Deref Uses

func (x *CommandBufferBeginInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*CommandBufferBeginInfo) Free Uses

func (x *CommandBufferBeginInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*CommandBufferBeginInfo) PassRef Uses

func (x *CommandBufferBeginInfo) PassRef() (*C.VkCommandBufferBeginInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (CommandBufferBeginInfo) PassValue Uses

func (x CommandBufferBeginInfo) PassValue() (C.VkCommandBufferBeginInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*CommandBufferBeginInfo) Ref Uses

func (x *CommandBufferBeginInfo) Ref() *C.VkCommandBufferBeginInfo

Ref returns the underlying reference to C object or nil if struct is nil.

type CommandBufferInheritanceConditionalRenderingInfo Uses

type CommandBufferInheritanceConditionalRenderingInfo struct {
    SType                      StructureType
    PNext                      unsafe.Pointer
    ConditionalRenderingEnable Bool32
    // contains filtered or unexported fields
}

CommandBufferInheritanceConditionalRenderingInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandBufferInheritanceConditionalRenderingInfoEXT.html

func NewCommandBufferInheritanceConditionalRenderingInfoRef Uses

func NewCommandBufferInheritanceConditionalRenderingInfoRef(ref unsafe.Pointer) *CommandBufferInheritanceConditionalRenderingInfo

NewCommandBufferInheritanceConditionalRenderingInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*CommandBufferInheritanceConditionalRenderingInfo) Deref Uses

func (x *CommandBufferInheritanceConditionalRenderingInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*CommandBufferInheritanceConditionalRenderingInfo) Free Uses

func (x *CommandBufferInheritanceConditionalRenderingInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*CommandBufferInheritanceConditionalRenderingInfo) PassRef Uses

func (x *CommandBufferInheritanceConditionalRenderingInfo) PassRef() (*C.VkCommandBufferInheritanceConditionalRenderingInfoEXT, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (CommandBufferInheritanceConditionalRenderingInfo) PassValue Uses

func (x CommandBufferInheritanceConditionalRenderingInfo) PassValue() (C.VkCommandBufferInheritanceConditionalRenderingInfoEXT, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*CommandBufferInheritanceConditionalRenderingInfo) Ref Uses

func (x *CommandBufferInheritanceConditionalRenderingInfo) Ref() *C.VkCommandBufferInheritanceConditionalRenderingInfoEXT

Ref returns the underlying reference to C object or nil if struct is nil.

type CommandBufferInheritanceInfo Uses

type CommandBufferInheritanceInfo struct {
    SType                StructureType
    PNext                unsafe.Pointer
    RenderPass           RenderPass
    Subpass              uint32
    Framebuffer          Framebuffer
    OcclusionQueryEnable Bool32
    QueryFlags           QueryControlFlags
    PipelineStatistics   QueryPipelineStatisticFlags
    // contains filtered or unexported fields
}

CommandBufferInheritanceInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandBufferInheritanceInfo.html

func NewCommandBufferInheritanceInfoRef Uses

func NewCommandBufferInheritanceInfoRef(ref unsafe.Pointer) *CommandBufferInheritanceInfo

NewCommandBufferInheritanceInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*CommandBufferInheritanceInfo) Deref Uses

func (x *CommandBufferInheritanceInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*CommandBufferInheritanceInfo) Free Uses

func (x *CommandBufferInheritanceInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*CommandBufferInheritanceInfo) PassRef Uses

func (x *CommandBufferInheritanceInfo) PassRef() (*C.VkCommandBufferInheritanceInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (CommandBufferInheritanceInfo) PassValue Uses

func (x CommandBufferInheritanceInfo) PassValue() (C.VkCommandBufferInheritanceInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*CommandBufferInheritanceInfo) Ref Uses

func (x *CommandBufferInheritanceInfo) Ref() *C.VkCommandBufferInheritanceInfo

Ref returns the underlying reference to C object or nil if struct is nil.

type CommandBufferLevel Uses

type CommandBufferLevel int32

CommandBufferLevel as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandBufferLevel.html

const (
    CommandBufferLevelPrimary    CommandBufferLevel = iota
    CommandBufferLevelSecondary  CommandBufferLevel = 1
    CommandBufferLevelBeginRange CommandBufferLevel = 0
    CommandBufferLevelEndRange   CommandBufferLevel = 1
    CommandBufferLevelRangeSize  CommandBufferLevel = 2
    CommandBufferLevelMaxEnum    CommandBufferLevel = 2147483647
)

CommandBufferLevel enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandBufferLevel.html

type CommandBufferResetFlagBits Uses

type CommandBufferResetFlagBits int32

CommandBufferResetFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandBufferResetFlagBits.html

const (
    CommandBufferResetReleaseResourcesBit CommandBufferResetFlagBits = 1
    CommandBufferResetFlagBitsMaxEnum     CommandBufferResetFlagBits = 2147483647
)

CommandBufferResetFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandBufferResetFlagBits.html

type CommandBufferResetFlags Uses

type CommandBufferResetFlags uint32

CommandBufferResetFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandBufferResetFlags.html

type CommandBufferUsageFlagBits Uses

type CommandBufferUsageFlagBits int32

CommandBufferUsageFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandBufferUsageFlagBits.html

const (
    CommandBufferUsageOneTimeSubmitBit      CommandBufferUsageFlagBits = 1
    CommandBufferUsageRenderPassContinueBit CommandBufferUsageFlagBits = 2
    CommandBufferUsageSimultaneousUseBit    CommandBufferUsageFlagBits = 4
    CommandBufferUsageFlagBitsMaxEnum       CommandBufferUsageFlagBits = 2147483647
)

CommandBufferUsageFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandBufferUsageFlagBits.html

type CommandBufferUsageFlags Uses

type CommandBufferUsageFlags uint32

CommandBufferUsageFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandBufferUsageFlags.html

type CommandPool Uses

type CommandPool C.VkCommandPool

CommandPool as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandPool.html

type CommandPoolCreateFlagBits Uses

type CommandPoolCreateFlagBits int32

CommandPoolCreateFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandPoolCreateFlagBits.html

const (
    CommandPoolCreateTransientBit          CommandPoolCreateFlagBits = 1
    CommandPoolCreateResetCommandBufferBit CommandPoolCreateFlagBits = 2
    CommandPoolCreateProtectedBit          CommandPoolCreateFlagBits = 4
    CommandPoolCreateFlagBitsMaxEnum       CommandPoolCreateFlagBits = 2147483647
)

CommandPoolCreateFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandPoolCreateFlagBits.html

type CommandPoolCreateFlags Uses

type CommandPoolCreateFlags uint32

CommandPoolCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandPoolCreateFlags.html

type CommandPoolCreateInfo Uses

type CommandPoolCreateInfo struct {
    SType            StructureType
    PNext            unsafe.Pointer
    Flags            CommandPoolCreateFlags
    QueueFamilyIndex uint32
    // contains filtered or unexported fields
}

CommandPoolCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandPoolCreateInfo.html

func NewCommandPoolCreateInfoRef Uses

func NewCommandPoolCreateInfoRef(ref unsafe.Pointer) *CommandPoolCreateInfo

NewCommandPoolCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*CommandPoolCreateInfo) Deref Uses

func (x *CommandPoolCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*CommandPoolCreateInfo) Free Uses

func (x *CommandPoolCreateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*CommandPoolCreateInfo) PassRef Uses

func (x *CommandPoolCreateInfo) PassRef() (*C.VkCommandPoolCreateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (CommandPoolCreateInfo) PassValue Uses

func (x CommandPoolCreateInfo) PassValue() (C.VkCommandPoolCreateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*CommandPoolCreateInfo) Ref Uses

func (x *CommandPoolCreateInfo) Ref() *C.VkCommandPoolCreateInfo

Ref returns the underlying reference to C object or nil if struct is nil.

type CommandPoolResetFlagBits Uses

type CommandPoolResetFlagBits int32

CommandPoolResetFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandPoolResetFlagBits.html

const (
    CommandPoolResetReleaseResourcesBit CommandPoolResetFlagBits = 1
    CommandPoolResetFlagBitsMaxEnum     CommandPoolResetFlagBits = 2147483647
)

CommandPoolResetFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandPoolResetFlagBits.html

type CommandPoolResetFlags Uses

type CommandPoolResetFlags uint32

CommandPoolResetFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandPoolResetFlags.html

type CommandPoolTrimFlags Uses

type CommandPoolTrimFlags uint32

CommandPoolTrimFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandPoolTrimFlags.html

type CompareOp Uses

type CompareOp int32

CompareOp as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCompareOp.html

const (
    CompareOpNever          CompareOp = iota
    CompareOpLess           CompareOp = 1
    CompareOpEqual          CompareOp = 2
    CompareOpLessOrEqual    CompareOp = 3
    CompareOpGreater        CompareOp = 4
    CompareOpNotEqual       CompareOp = 5
    CompareOpGreaterOrEqual CompareOp = 6
    CompareOpAlways         CompareOp = 7
    CompareOpBeginRange     CompareOp = 0
    CompareOpEndRange       CompareOp = 7
    CompareOpRangeSize      CompareOp = 8
    CompareOpMaxEnum        CompareOp = 2147483647
)

CompareOp enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCompareOp.html

type ComponentMapping Uses

type ComponentMapping struct {
    R   ComponentSwizzle
    G   ComponentSwizzle
    B   ComponentSwizzle
    A   ComponentSwizzle
    // contains filtered or unexported fields
}

ComponentMapping as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkComponentMapping.html

func NewComponentMappingRef Uses

func NewComponentMappingRef(ref unsafe.Pointer) *ComponentMapping

NewComponentMappingRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ComponentMapping) Deref Uses

func (x *ComponentMapping) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ComponentMapping) Free Uses

func (x *ComponentMapping) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ComponentMapping) PassRef Uses

func (x *ComponentMapping) PassRef() (*C.VkComponentMapping, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ComponentMapping) PassValue Uses

func (x ComponentMapping) PassValue() (C.VkComponentMapping, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ComponentMapping) Ref Uses

func (x *ComponentMapping) Ref() *C.VkComponentMapping

Ref returns the underlying reference to C object or nil if struct is nil.

type ComponentSwizzle Uses

type ComponentSwizzle int32

ComponentSwizzle as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkComponentSwizzle.html

const (
    ComponentSwizzleIdentity   ComponentSwizzle = iota
    ComponentSwizzleZero       ComponentSwizzle = 1
    ComponentSwizzleOne        ComponentSwizzle = 2
    ComponentSwizzleR          ComponentSwizzle = 3
    ComponentSwizzleG          ComponentSwizzle = 4
    ComponentSwizzleB          ComponentSwizzle = 5
    ComponentSwizzleA          ComponentSwizzle = 6
    ComponentSwizzleBeginRange ComponentSwizzle = 0
    ComponentSwizzleEndRange   ComponentSwizzle = 6
    ComponentSwizzleRangeSize  ComponentSwizzle = 7
    ComponentSwizzleMaxEnum    ComponentSwizzle = 2147483647
)

ComponentSwizzle enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkComponentSwizzle.html

type CompositeAlphaFlagBits Uses

type CompositeAlphaFlagBits int32

CompositeAlphaFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkCompositeAlphaFlagBitsKHR

const (
    CompositeAlphaOpaqueBit         CompositeAlphaFlagBits = 1
    CompositeAlphaPreMultipliedBit  CompositeAlphaFlagBits = 2
    CompositeAlphaPostMultipliedBit CompositeAlphaFlagBits = 4
    CompositeAlphaInheritBit        CompositeAlphaFlagBits = 8
    CompositeAlphaFlagBitsMaxEnum   CompositeAlphaFlagBits = 2147483647
)

CompositeAlphaFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkCompositeAlphaFlagBitsKHR

type CompositeAlphaFlags Uses

type CompositeAlphaFlags uint32

CompositeAlphaFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkCompositeAlphaFlagsKHR

type ComputePipelineCreateInfo Uses

type ComputePipelineCreateInfo struct {
    SType              StructureType
    PNext              unsafe.Pointer
    Flags              PipelineCreateFlags
    Stage              PipelineShaderStageCreateInfo
    Layout             PipelineLayout
    BasePipelineHandle Pipeline
    BasePipelineIndex  int32
    // contains filtered or unexported fields
}

ComputePipelineCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkComputePipelineCreateInfo.html

func NewComputePipelineCreateInfoRef Uses

func NewComputePipelineCreateInfoRef(ref unsafe.Pointer) *ComputePipelineCreateInfo

NewComputePipelineCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ComputePipelineCreateInfo) Deref Uses

func (x *ComputePipelineCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ComputePipelineCreateInfo) Free Uses

func (x *ComputePipelineCreateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ComputePipelineCreateInfo) PassRef Uses

func (x *ComputePipelineCreateInfo) PassRef() (*C.VkComputePipelineCreateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ComputePipelineCreateInfo) PassValue Uses

func (x ComputePipelineCreateInfo) PassValue() (C.VkComputePipelineCreateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ComputePipelineCreateInfo) Ref Uses

func (x *ComputePipelineCreateInfo) Ref() *C.VkComputePipelineCreateInfo

Ref returns the underlying reference to C object or nil if struct is nil.

type ConditionalRenderingBeginInfo Uses

type ConditionalRenderingBeginInfo struct {
    SType  StructureType
    PNext  unsafe.Pointer
    Buffer Buffer
    Offset DeviceSize
    Flags  ConditionalRenderingFlags
    // contains filtered or unexported fields
}

ConditionalRenderingBeginInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkConditionalRenderingBeginInfoEXT.html

func NewConditionalRenderingBeginInfoRef Uses

func NewConditionalRenderingBeginInfoRef(ref unsafe.Pointer) *ConditionalRenderingBeginInfo

NewConditionalRenderingBeginInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ConditionalRenderingBeginInfo) Deref Uses

func (x *ConditionalRenderingBeginInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ConditionalRenderingBeginInfo) Free Uses

func (x *ConditionalRenderingBeginInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ConditionalRenderingBeginInfo) PassRef Uses

func (x *ConditionalRenderingBeginInfo) PassRef() (*C.VkConditionalRenderingBeginInfoEXT, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ConditionalRenderingBeginInfo) PassValue Uses

func (x ConditionalRenderingBeginInfo) PassValue() (C.VkConditionalRenderingBeginInfoEXT, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ConditionalRenderingBeginInfo) Ref Uses

func (x *ConditionalRenderingBeginInfo) Ref() *C.VkConditionalRenderingBeginInfoEXT

Ref returns the underlying reference to C object or nil if struct is nil.

type ConditionalRenderingFlagBits Uses

type ConditionalRenderingFlagBits int32

ConditionalRenderingFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkConditionalRenderingFlagBitsEXT.html

const (
    ConditionalRenderingInvertedBit     ConditionalRenderingFlagBits = 1
    ConditionalRenderingFlagBitsMaxEnum ConditionalRenderingFlagBits = 2147483647
)

ConditionalRenderingFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkConditionalRenderingFlagBitsEXT.html

type ConditionalRenderingFlags Uses

type ConditionalRenderingFlags uint32

ConditionalRenderingFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkConditionalRenderingFlagsEXT.html

type ConformanceVersion Uses

type ConformanceVersion struct {
    Major    byte
    Minor    byte
    Subminor byte
    Patch    byte
    // contains filtered or unexported fields
}

ConformanceVersion as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkConformanceVersionKHR

func NewConformanceVersionRef Uses

func NewConformanceVersionRef(ref unsafe.Pointer) *ConformanceVersion

NewConformanceVersionRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ConformanceVersion) Deref Uses

func (x *ConformanceVersion) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ConformanceVersion) Free Uses

func (x *ConformanceVersion) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ConformanceVersion) PassRef Uses

func (x *ConformanceVersion) PassRef() (*C.VkConformanceVersionKHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ConformanceVersion) PassValue Uses

func (x ConformanceVersion) PassValue() (C.VkConformanceVersionKHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ConformanceVersion) Ref Uses

func (x *ConformanceVersion) Ref() *C.VkConformanceVersionKHR

Ref returns the underlying reference to C object or nil if struct is nil.

type ConservativeRasterizationMode Uses

type ConservativeRasterizationMode int32

ConservativeRasterizationMode as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkConservativeRasterizationModeEXT.html

const (
    ConservativeRasterizationModeDisabled      ConservativeRasterizationMode = iota
    ConservativeRasterizationModeOverestimate  ConservativeRasterizationMode = 1
    ConservativeRasterizationModeUnderestimate ConservativeRasterizationMode = 2
    ConservativeRasterizationModeBeginRange    ConservativeRasterizationMode = 0
    ConservativeRasterizationModeEndRange      ConservativeRasterizationMode = 2
    ConservativeRasterizationModeRangeSize     ConservativeRasterizationMode = 3
    ConservativeRasterizationModeMaxEnum       ConservativeRasterizationMode = 2147483647
)

ConservativeRasterizationMode enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkConservativeRasterizationModeEXT.html

type CopyAccelerationStructureModeNVX Uses

type CopyAccelerationStructureModeNVX int32

CopyAccelerationStructureModeNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkCopyAccelerationStructureModeNVX

const (
    CopyAccelerationStructureModeCloneNvx      CopyAccelerationStructureModeNVX = iota
    CopyAccelerationStructureModeCompactNvx    CopyAccelerationStructureModeNVX = 1
    CopyAccelerationStructureModeBeginRangeNvx CopyAccelerationStructureModeNVX = 0
    CopyAccelerationStructureModeEndRangeNvx   CopyAccelerationStructureModeNVX = 1
    CopyAccelerationStructureModeRangeSizeNvx  CopyAccelerationStructureModeNVX = 2
    CopyAccelerationStructureModeMaxEnumNvx    CopyAccelerationStructureModeNVX = 2147483647
)

CopyAccelerationStructureModeNVX enumeration from https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkCopyAccelerationStructureModeNVX

type CopyDescriptorSet Uses

type CopyDescriptorSet struct {
    SType           StructureType
    PNext           unsafe.Pointer
    SrcSet          DescriptorSet
    SrcBinding      uint32
    SrcArrayElement uint32
    DstSet          DescriptorSet
    DstBinding      uint32
    DstArrayElement uint32
    DescriptorCount uint32
    // contains filtered or unexported fields
}

CopyDescriptorSet as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCopyDescriptorSet.html

func NewCopyDescriptorSetRef Uses

func NewCopyDescriptorSetRef(ref unsafe.Pointer) *CopyDescriptorSet

NewCopyDescriptorSetRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*CopyDescriptorSet) Deref Uses

func (x *CopyDescriptorSet) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*CopyDescriptorSet) Free Uses

func (x *CopyDescriptorSet) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*CopyDescriptorSet) PassRef Uses

func (x *CopyDescriptorSet) PassRef() (*C.VkCopyDescriptorSet, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (CopyDescriptorSet) PassValue Uses

func (x CopyDescriptorSet) PassValue() (C.VkCopyDescriptorSet, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*CopyDescriptorSet) Ref Uses

func (x *CopyDescriptorSet) Ref() *C.VkCopyDescriptorSet

Ref returns the underlying reference to C object or nil if struct is nil.

type CoverageModulationModeNV Uses

type CoverageModulationModeNV int32

CoverageModulationModeNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCoverageModulationModeNV.html

const (
    CoverageModulationModeNoneNv       CoverageModulationModeNV = iota
    CoverageModulationModeRgbNv        CoverageModulationModeNV = 1
    CoverageModulationModeAlphaNv      CoverageModulationModeNV = 2
    CoverageModulationModeRgbaNv       CoverageModulationModeNV = 3
    CoverageModulationModeBeginRangeNv CoverageModulationModeNV = 0
    CoverageModulationModeEndRangeNv   CoverageModulationModeNV = 3
    CoverageModulationModeRangeSizeNv  CoverageModulationModeNV = 4
    CoverageModulationModeMaxEnumNv    CoverageModulationModeNV = 2147483647
)

CoverageModulationModeNV enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCoverageModulationModeNV.html

type CullModeFlagBits Uses

type CullModeFlagBits int32

CullModeFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCullModeFlagBits.html

const (
    CullModeNone            CullModeFlagBits = iota
    CullModeFrontBit        CullModeFlagBits = 1
    CullModeBackBit         CullModeFlagBits = 2
    CullModeFrontAndBack    CullModeFlagBits = 3
    CullModeFlagBitsMaxEnum CullModeFlagBits = 2147483647
)

CullModeFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCullModeFlagBits.html

type CullModeFlags Uses

type CullModeFlags uint32

CullModeFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCullModeFlags.html

type DebugMarkerMarkerInfo Uses

type DebugMarkerMarkerInfo struct {
    SType       StructureType
    PNext       unsafe.Pointer
    PMarkerName string
    Color       [4]float32
    // contains filtered or unexported fields
}

DebugMarkerMarkerInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDebugMarkerMarkerInfoEXT.html

func NewDebugMarkerMarkerInfoRef Uses

func NewDebugMarkerMarkerInfoRef(ref unsafe.Pointer) *DebugMarkerMarkerInfo

NewDebugMarkerMarkerInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DebugMarkerMarkerInfo) Deref Uses

func (x *DebugMarkerMarkerInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DebugMarkerMarkerInfo) Free Uses

func (x *DebugMarkerMarkerInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DebugMarkerMarkerInfo) PassRef Uses

func (x *DebugMarkerMarkerInfo) PassRef() (*C.VkDebugMarkerMarkerInfoEXT, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DebugMarkerMarkerInfo) PassValue Uses

func (x DebugMarkerMarkerInfo) PassValue() (C.VkDebugMarkerMarkerInfoEXT, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DebugMarkerMarkerInfo) Ref Uses

func (x *DebugMarkerMarkerInfo) Ref() *C.VkDebugMarkerMarkerInfoEXT

Ref returns the underlying reference to C object or nil if struct is nil.

type DebugMarkerObjectNameInfo Uses

type DebugMarkerObjectNameInfo struct {
    SType       StructureType
    PNext       unsafe.Pointer
    ObjectType  DebugReportObjectType
    Object      uint64
    PObjectName string
    // contains filtered or unexported fields
}

DebugMarkerObjectNameInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDebugMarkerObjectNameInfoEXT.html

func NewDebugMarkerObjectNameInfoRef Uses

func NewDebugMarkerObjectNameInfoR