Documentation
¶
Overview ¶
Package vk is a generated, cgo-free binding to the Vulkan API.
Types, constants and commands keep their C names so that the Vulkan specification can be read against this package directly. Commands are package-level function variables that are nil until the matching load step has run: Load binds the global commands, LoadInstance the instance-level ones, and LoadDevice the device-level ones. The driver is opened at runtime with purego, so the package builds with CGO_ENABLED=0 on every platform.
Every generated struct carries a layout test; run the package tests after regenerating.
Index ¶
- Constants
- Variables
- func CString(s string) (*byte, []byte)
- func Check(command string, r VkResult) error
- func ClearInstance()
- func CmdBeginRendering(cb VkCommandBuffer, info *VkRenderingInfo)
- func CmdBindDescriptorSets(cb VkCommandBuffer, bindPoint VkPipelineBindPoint, layout VkPipelineLayout, ...)
- func CmdBindIndexBuffer(cb VkCommandBuffer, buffer VkBuffer, offset VkDeviceSize, ...)
- func CmdBindPipeline(cb VkCommandBuffer, bindPoint VkPipelineBindPoint, pipeline VkPipeline)
- func CmdBindVertexBuffers(cb VkCommandBuffer, firstBinding, bindingCount uint32, pBuffers *VkBuffer, ...)
- func CmdBlitImage(cb VkCommandBuffer, src VkImage, srcLayout VkImageLayout, dst VkImage, ...)
- func CmdDraw(cb VkCommandBuffer, ...)
- func CmdDrawIndexed(cb VkCommandBuffer, indexCount, instanceCount, firstIndex uint32, ...)
- func CmdEndRendering(cb VkCommandBuffer)
- func CmdPipelineBarrier2(cb VkCommandBuffer, dep *VkDependencyInfo)
- func CmdPushConstants(cb VkCommandBuffer, layout VkPipelineLayout, stages VkShaderStageFlags, ...)
- func CmdResetQueryPool(cb VkCommandBuffer, pool VkQueryPool, first, count uint32)
- func CmdSetScissor(cb VkCommandBuffer, first, count uint32, pScissors *VkRect2D)
- func CmdSetViewport(cb VkCommandBuffer, first, count uint32, pViewports *VkViewport)
- func CmdWriteTimestamp2(cb VkCommandBuffer, stage VkPipelineStageFlags2, pool VkQueryPool, ...)
- func FormatVersion(v uint32) string
- func GoString(b []byte) string
- func Load() error
- func LoadDevice(instance VkInstance) error
- func LoadInstance(instance VkInstance) error
- func MakeAPIVersion(variant, major, minor, patch uint32) uint32
- func PrepareLayers()
- func VersionMajor(v uint32) uint32
- func VersionMinor(v uint32) uint32
- func VersionPatch(v uint32) uint32
- type Error
- type PFN_vkAllocationFunction
- type PFN_vkDebugUtilsMessengerCallbackEXT
- type PFN_vkFreeFunction
- type PFN_vkInternalAllocationNotification
- type PFN_vkInternalFreeNotification
- type PFN_vkReallocationFunction
- type PFN_vkVoidFunction
- type VkAccessFlagBits
- type VkAccessFlagBits2
- type VkAccessFlagBits2KHR
- type VkAccessFlags
- type VkAccessFlags2
- type VkAccessFlags2KHR
- type VkAcquireNextImageInfoKHR
- type VkAllocationCallbacks
- type VkApplicationInfo
- type VkAttachmentDescription
- type VkAttachmentDescription2
- type VkAttachmentDescriptionFlagBits
- type VkAttachmentDescriptionFlags
- type VkAttachmentDescriptionStencilLayout
- type VkAttachmentLoadOp
- type VkAttachmentReference
- type VkAttachmentReference2
- type VkAttachmentReferenceStencilLayout
- type VkAttachmentStoreOp
- type VkBaseInStructure
- type VkBaseOutStructure
- type VkBindBufferMemoryDeviceGroupInfo
- type VkBindBufferMemoryInfo
- type VkBindImageMemoryDeviceGroupInfo
- type VkBindImageMemoryInfo
- type VkBindImageMemorySwapchainInfoKHR
- type VkBindImagePlaneMemoryInfo
- type VkBindSparseInfo
- type VkBlendFactor
- type VkBlendOp
- type VkBlitImageInfo2
- type VkBool32
- type VkBorderColor
- type VkBuffer
- type VkBufferCopy
- type VkBufferCopy2
- type VkBufferCreateFlagBits
- type VkBufferCreateFlags
- type VkBufferCreateInfo
- type VkBufferDeviceAddressInfo
- type VkBufferImageCopy
- type VkBufferImageCopy2
- type VkBufferMemoryBarrier
- type VkBufferMemoryBarrier2
- type VkBufferMemoryBarrier2KHR
- type VkBufferMemoryRequirementsInfo2
- type VkBufferOpaqueCaptureAddressCreateInfo
- type VkBufferUsageFlagBits
- type VkBufferUsageFlags
- type VkBufferView
- type VkBufferViewCreateFlags
- type VkBufferViewCreateInfo
- type VkChromaLocation
- type VkClearAttachment
- type VkClearColorValue
- type VkClearDepthStencilValue
- type VkClearRect
- type VkClearValue
- type VkColorComponentFlagBits
- type VkColorComponentFlags
- type VkColorSpaceKHR
- type VkCommandBuffer
- type VkCommandBufferAllocateInfo
- type VkCommandBufferBeginInfo
- type VkCommandBufferInheritanceInfo
- type VkCommandBufferInheritanceRenderingInfo
- type VkCommandBufferInheritanceRenderingInfoKHR
- type VkCommandBufferLevel
- type VkCommandBufferResetFlagBits
- type VkCommandBufferResetFlags
- type VkCommandBufferSubmitInfo
- type VkCommandBufferSubmitInfoKHR
- type VkCommandBufferUsageFlagBits
- type VkCommandBufferUsageFlags
- type VkCommandPool
- type VkCommandPoolCreateFlagBits
- type VkCommandPoolCreateFlags
- type VkCommandPoolCreateInfo
- type VkCommandPoolResetFlagBits
- type VkCommandPoolResetFlags
- type VkCommandPoolTrimFlags
- type VkCompareOp
- type VkComponentMapping
- type VkComponentSwizzle
- type VkCompositeAlphaFlagBitsKHR
- type VkCompositeAlphaFlagsKHR
- type VkComputePipelineCreateInfo
- type VkConformanceVersion
- type VkCopyBufferInfo2
- type VkCopyBufferToImageInfo2
- type VkCopyDescriptorSet
- type VkCopyImageInfo2
- type VkCopyImageToBufferInfo2
- type VkCullModeFlagBits
- type VkCullModeFlags
- type VkDebugUtilsLabelEXT
- type VkDebugUtilsMessageSeverityFlagBitsEXT
- type VkDebugUtilsMessageSeverityFlagsEXT
- type VkDebugUtilsMessageTypeFlagBitsEXT
- type VkDebugUtilsMessageTypeFlagsEXT
- type VkDebugUtilsMessengerCallbackDataEXT
- type VkDebugUtilsMessengerCallbackDataFlagsEXT
- type VkDebugUtilsMessengerCreateFlagsEXT
- type VkDebugUtilsMessengerCreateInfoEXT
- type VkDebugUtilsMessengerEXT
- type VkDebugUtilsObjectNameInfoEXT
- type VkDebugUtilsObjectTagInfoEXT
- type VkDependencyFlagBits
- type VkDependencyFlags
- type VkDependencyInfo
- type VkDependencyInfoKHR
- type VkDescriptorBindingFlagBits
- type VkDescriptorBindingFlags
- type VkDescriptorBufferInfo
- type VkDescriptorImageInfo
- type VkDescriptorPool
- type VkDescriptorPoolCreateFlagBits
- type VkDescriptorPoolCreateFlags
- type VkDescriptorPoolCreateInfo
- type VkDescriptorPoolInlineUniformBlockCreateInfo
- type VkDescriptorPoolResetFlags
- type VkDescriptorPoolSize
- type VkDescriptorSet
- type VkDescriptorSetAllocateInfo
- type VkDescriptorSetLayout
- type VkDescriptorSetLayoutBinding
- type VkDescriptorSetLayoutBindingFlagsCreateInfo
- type VkDescriptorSetLayoutCreateFlagBits
- type VkDescriptorSetLayoutCreateFlags
- type VkDescriptorSetLayoutCreateInfo
- type VkDescriptorSetLayoutSupport
- type VkDescriptorSetVariableDescriptorCountAllocateInfo
- type VkDescriptorSetVariableDescriptorCountLayoutSupport
- type VkDescriptorType
- type VkDescriptorUpdateTemplate
- type VkDescriptorUpdateTemplateCreateFlags
- type VkDescriptorUpdateTemplateCreateInfo
- type VkDescriptorUpdateTemplateEntry
- type VkDescriptorUpdateTemplateType
- type VkDevice
- type VkDeviceAddress
- type VkDeviceBufferMemoryRequirements
- type VkDeviceCreateFlags
- type VkDeviceCreateInfo
- type VkDeviceGroupBindSparseInfo
- type VkDeviceGroupCommandBufferBeginInfo
- type VkDeviceGroupDeviceCreateInfo
- type VkDeviceGroupPresentCapabilitiesKHR
- type VkDeviceGroupPresentInfoKHR
- type VkDeviceGroupPresentModeFlagBitsKHR
- type VkDeviceGroupPresentModeFlagsKHR
- type VkDeviceGroupRenderPassBeginInfo
- type VkDeviceGroupSubmitInfo
- type VkDeviceGroupSwapchainCreateInfoKHR
- type VkDeviceImageMemoryRequirements
- type VkDeviceMemory
- type VkDeviceMemoryOpaqueCaptureAddressInfo
- type VkDevicePrivateDataCreateInfo
- type VkDeviceQueueCreateFlagBits
- type VkDeviceQueueCreateFlags
- type VkDeviceQueueCreateInfo
- type VkDeviceQueueInfo2
- type VkDeviceSize
- type VkDispatchIndirectCommand
- type VkDrawIndexedIndirectCommand
- type VkDrawIndirectCommand
- type VkDriverId
- type VkDynamicState
- type VkEvent
- type VkEventCreateFlagBits
- type VkEventCreateFlags
- type VkEventCreateInfo
- type VkExportFenceCreateInfo
- type VkExportMemoryAllocateInfo
- type VkExportSemaphoreCreateInfo
- type VkExtensionProperties
- type VkExtent2D
- type VkExtent3D
- type VkExternalBufferProperties
- type VkExternalFenceFeatureFlagBits
- type VkExternalFenceFeatureFlags
- type VkExternalFenceHandleTypeFlagBits
- type VkExternalFenceHandleTypeFlags
- type VkExternalFenceProperties
- type VkExternalImageFormatProperties
- type VkExternalMemoryBufferCreateInfo
- type VkExternalMemoryFeatureFlagBits
- type VkExternalMemoryFeatureFlags
- type VkExternalMemoryHandleTypeFlagBits
- type VkExternalMemoryHandleTypeFlags
- type VkExternalMemoryImageCreateInfo
- type VkExternalMemoryProperties
- type VkExternalSemaphoreFeatureFlagBits
- type VkExternalSemaphoreFeatureFlags
- type VkExternalSemaphoreHandleTypeFlagBits
- type VkExternalSemaphoreHandleTypeFlags
- type VkExternalSemaphoreProperties
- type VkFence
- type VkFenceCreateFlagBits
- type VkFenceCreateFlags
- type VkFenceCreateInfo
- type VkFenceImportFlagBits
- type VkFenceImportFlags
- type VkFilter
- type VkFlags
- type VkFlags64
- type VkFormat
- type VkFormatFeatureFlagBits
- type VkFormatFeatureFlagBits2
- type VkFormatFeatureFlags
- type VkFormatFeatureFlags2
- type VkFormatProperties
- type VkFormatProperties2
- type VkFormatProperties3
- type VkFramebuffer
- type VkFramebufferAttachmentImageInfo
- type VkFramebufferAttachmentsCreateInfo
- type VkFramebufferCreateFlagBits
- type VkFramebufferCreateFlags
- type VkFramebufferCreateInfo
- type VkFrontFace
- type VkGraphicsPipelineCreateInfo
- type VkHeadlessSurfaceCreateFlagsEXT
- type VkHeadlessSurfaceCreateInfoEXT
- type VkImage
- type VkImageAspectFlagBits
- type VkImageAspectFlags
- type VkImageBlit
- type VkImageBlit2
- type VkImageCopy
- type VkImageCopy2
- type VkImageCreateFlagBits
- type VkImageCreateFlags
- type VkImageCreateInfo
- type VkImageFormatListCreateInfo
- type VkImageFormatProperties
- type VkImageFormatProperties2
- type VkImageLayout
- type VkImageMemoryBarrier
- type VkImageMemoryBarrier2
- type VkImageMemoryBarrier2KHR
- type VkImageMemoryRequirementsInfo2
- type VkImagePlaneMemoryRequirementsInfo
- type VkImageResolve
- type VkImageResolve2
- type VkImageSparseMemoryRequirementsInfo2
- type VkImageStencilUsageCreateInfo
- type VkImageSubresource
- type VkImageSubresourceLayers
- type VkImageSubresourceRange
- type VkImageSwapchainCreateInfoKHR
- type VkImageTiling
- type VkImageType
- type VkImageUsageFlagBits
- type VkImageUsageFlags
- type VkImageView
- type VkImageViewCreateFlagBits
- type VkImageViewCreateFlags
- type VkImageViewCreateInfo
- type VkImageViewType
- type VkImageViewUsageCreateInfo
- type VkIndexType
- type VkInputAttachmentAspectReference
- type VkInstance
- type VkInstanceCreateFlagBits
- type VkInstanceCreateFlags
- type VkInstanceCreateInfo
- type VkInternalAllocationType
- type VkLayerProperties
- type VkLogicOp
- type VkMappedMemoryRange
- type VkMemoryAllocateFlagBits
- type VkMemoryAllocateFlags
- type VkMemoryAllocateFlagsInfo
- type VkMemoryAllocateInfo
- type VkMemoryBarrier
- type VkMemoryBarrier2
- type VkMemoryBarrier2KHR
- type VkMemoryDedicatedAllocateInfo
- type VkMemoryDedicatedRequirements
- type VkMemoryHeap
- type VkMemoryHeapFlagBits
- type VkMemoryHeapFlags
- type VkMemoryMapFlagBits
- type VkMemoryMapFlags
- type VkMemoryOpaqueCaptureAddressAllocateInfo
- type VkMemoryPropertyFlagBits
- type VkMemoryPropertyFlags
- type VkMemoryRequirements
- type VkMemoryRequirements2
- type VkMemoryType
- type VkMetalSurfaceCreateFlagsEXT
- type VkMetalSurfaceCreateInfoEXT
- type VkObjectType
- type VkOffset2D
- type VkOffset3D
- type VkPeerMemoryFeatureFlagBits
- type VkPeerMemoryFeatureFlags
- type VkPhysicalDevice
- type VkPhysicalDevice8BitStorageFeatures
- type VkPhysicalDevice16BitStorageFeatures
- type VkPhysicalDeviceBufferDeviceAddressFeatures
- type VkPhysicalDeviceDepthStencilResolveProperties
- type VkPhysicalDeviceDescriptorIndexingFeatures
- type VkPhysicalDeviceDescriptorIndexingProperties
- type VkPhysicalDeviceDriverProperties
- type VkPhysicalDeviceDynamicRenderingFeatures
- type VkPhysicalDeviceDynamicRenderingFeaturesKHR
- type VkPhysicalDeviceExternalBufferInfo
- type VkPhysicalDeviceExternalFenceInfo
- type VkPhysicalDeviceExternalImageFormatInfo
- type VkPhysicalDeviceExternalSemaphoreInfo
- type VkPhysicalDeviceFeatures
- type VkPhysicalDeviceFeatures2
- type VkPhysicalDeviceFloatControlsProperties
- type VkPhysicalDeviceGroupProperties
- type VkPhysicalDeviceHostQueryResetFeatures
- type VkPhysicalDeviceIDProperties
- type VkPhysicalDeviceImageFormatInfo2
- type VkPhysicalDeviceImageRobustnessFeatures
- type VkPhysicalDeviceImagelessFramebufferFeatures
- type VkPhysicalDeviceInlineUniformBlockFeatures
- type VkPhysicalDeviceInlineUniformBlockProperties
- type VkPhysicalDeviceLimits
- type VkPhysicalDeviceMaintenance3Properties
- type VkPhysicalDeviceMaintenance4Features
- type VkPhysicalDeviceMaintenance4Properties
- type VkPhysicalDeviceMemoryProperties
- type VkPhysicalDeviceMemoryProperties2
- type VkPhysicalDeviceMultiviewFeatures
- type VkPhysicalDeviceMultiviewProperties
- type VkPhysicalDevicePipelineCreationCacheControlFeatures
- type VkPhysicalDevicePointClippingProperties
- type VkPhysicalDevicePortabilitySubsetFeaturesKHR
- type VkPhysicalDevicePortabilitySubsetPropertiesKHR
- type VkPhysicalDevicePrivateDataFeatures
- type VkPhysicalDeviceProperties
- type VkPhysicalDeviceProperties2
- type VkPhysicalDeviceProtectedMemoryFeatures
- type VkPhysicalDeviceProtectedMemoryProperties
- type VkPhysicalDeviceSamplerFilterMinmaxProperties
- type VkPhysicalDeviceSamplerYcbcrConversionFeatures
- type VkPhysicalDeviceScalarBlockLayoutFeatures
- type VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures
- type VkPhysicalDeviceShaderAtomicInt64Features
- type VkPhysicalDeviceShaderDemoteToHelperInvocationFeatures
- type VkPhysicalDeviceShaderDrawParameterFeatures
- type VkPhysicalDeviceShaderDrawParametersFeatures
- type VkPhysicalDeviceShaderFloat16Int8Features
- type VkPhysicalDeviceShaderIntegerDotProductFeatures
- type VkPhysicalDeviceShaderIntegerDotProductProperties
- type VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures
- type VkPhysicalDeviceShaderTerminateInvocationFeatures
- type VkPhysicalDeviceSparseImageFormatInfo2
- type VkPhysicalDeviceSparseProperties
- type VkPhysicalDeviceSubgroupProperties
- type VkPhysicalDeviceSubgroupSizeControlFeatures
- type VkPhysicalDeviceSubgroupSizeControlProperties
- type VkPhysicalDeviceSurfaceInfo2KHR
- type VkPhysicalDeviceSynchronization2Features
- type VkPhysicalDeviceSynchronization2FeaturesKHR
- type VkPhysicalDeviceTexelBufferAlignmentProperties
- type VkPhysicalDeviceTextureCompressionASTCHDRFeatures
- type VkPhysicalDeviceTimelineSemaphoreFeatures
- type VkPhysicalDeviceTimelineSemaphoreProperties
- type VkPhysicalDeviceToolProperties
- type VkPhysicalDeviceType
- type VkPhysicalDeviceUniformBufferStandardLayoutFeatures
- type VkPhysicalDeviceVariablePointerFeatures
- type VkPhysicalDeviceVariablePointersFeatures
- type VkPhysicalDeviceVulkan11Features
- type VkPhysicalDeviceVulkan11Properties
- type VkPhysicalDeviceVulkan12Features
- type VkPhysicalDeviceVulkan12Properties
- type VkPhysicalDeviceVulkan13Features
- type VkPhysicalDeviceVulkan13Properties
- type VkPhysicalDeviceVulkanMemoryModelFeatures
- type VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures
- type VkPipeline
- type VkPipelineBindPoint
- type VkPipelineCache
- type VkPipelineCacheCreateFlagBits
- type VkPipelineCacheCreateFlags
- type VkPipelineCacheCreateInfo
- type VkPipelineCacheHeaderVersion
- type VkPipelineCacheHeaderVersionOne
- type VkPipelineColorBlendAttachmentState
- type VkPipelineColorBlendStateCreateFlagBits
- type VkPipelineColorBlendStateCreateFlags
- type VkPipelineColorBlendStateCreateInfo
- type VkPipelineCreateFlagBits
- type VkPipelineCreateFlags
- type VkPipelineCreationFeedback
- type VkPipelineCreationFeedbackCreateInfo
- type VkPipelineCreationFeedbackFlagBits
- type VkPipelineCreationFeedbackFlags
- type VkPipelineDepthStencilStateCreateFlagBits
- type VkPipelineDepthStencilStateCreateFlags
- type VkPipelineDepthStencilStateCreateInfo
- type VkPipelineDynamicStateCreateFlags
- type VkPipelineDynamicStateCreateInfo
- type VkPipelineInputAssemblyStateCreateFlags
- type VkPipelineInputAssemblyStateCreateInfo
- type VkPipelineLayout
- type VkPipelineLayoutCreateFlagBits
- type VkPipelineLayoutCreateFlags
- type VkPipelineLayoutCreateInfo
- type VkPipelineMultisampleStateCreateFlags
- type VkPipelineMultisampleStateCreateInfo
- type VkPipelineRasterizationStateCreateFlags
- type VkPipelineRasterizationStateCreateInfo
- type VkPipelineRenderingCreateInfo
- type VkPipelineRenderingCreateInfoKHR
- type VkPipelineShaderStageCreateFlagBits
- type VkPipelineShaderStageCreateFlags
- type VkPipelineShaderStageCreateInfo
- type VkPipelineShaderStageRequiredSubgroupSizeCreateInfo
- type VkPipelineStageFlagBits
- type VkPipelineStageFlagBits2
- type VkPipelineStageFlagBits2KHR
- type VkPipelineStageFlags
- type VkPipelineStageFlags2
- type VkPipelineStageFlags2KHR
- type VkPipelineTessellationDomainOriginStateCreateInfo
- type VkPipelineTessellationStateCreateFlags
- type VkPipelineTessellationStateCreateInfo
- type VkPipelineVertexInputStateCreateFlags
- type VkPipelineVertexInputStateCreateInfo
- type VkPipelineViewportStateCreateFlags
- type VkPipelineViewportStateCreateInfo
- type VkPointClippingBehavior
- type VkPolygonMode
- type VkPresentInfoKHR
- type VkPresentModeKHR
- type VkPrimitiveTopology
- type VkPrivateDataSlot
- type VkPrivateDataSlotCreateFlags
- type VkPrivateDataSlotCreateInfo
- type VkProtectedSubmitInfo
- type VkPushConstantRange
- type VkQueryControlFlagBits
- type VkQueryControlFlags
- type VkQueryPipelineStatisticFlagBits
- type VkQueryPipelineStatisticFlags
- type VkQueryPool
- type VkQueryPoolCreateFlagBits
- type VkQueryPoolCreateFlags
- type VkQueryPoolCreateInfo
- type VkQueryResultFlagBits
- type VkQueryResultFlags
- type VkQueryType
- type VkQueue
- type VkQueueFamilyProperties
- type VkQueueFamilyProperties2
- type VkQueueFlagBits
- type VkQueueFlags
- type VkRect2D
- type VkRenderPass
- type VkRenderPassAttachmentBeginInfo
- type VkRenderPassBeginInfo
- type VkRenderPassCreateFlagBits
- type VkRenderPassCreateFlags
- type VkRenderPassCreateInfo
- type VkRenderPassCreateInfo2
- type VkRenderPassInputAttachmentAspectCreateInfo
- type VkRenderPassMultiviewCreateInfo
- type VkRenderingAttachmentInfo
- type VkRenderingAttachmentInfoKHR
- type VkRenderingFlagBits
- type VkRenderingFlagBitsKHR
- type VkRenderingFlags
- type VkRenderingFlagsKHR
- type VkRenderingInfo
- type VkRenderingInfoKHR
- type VkResolveImageInfo2
- type VkResolveModeFlagBits
- type VkResolveModeFlags
- type VkResult
- func AcquireNextImageKHR(device VkDevice, swapchain VkSwapchainKHR, timeout uint64, ...) VkResult
- func BeginCommandBuffer(cb VkCommandBuffer, info *VkCommandBufferBeginInfo) VkResult
- func EndCommandBuffer(cb VkCommandBuffer) VkResult
- func GetQueryPoolResults(device VkDevice, pool VkQueryPool, first, count uint32, dataSize uintptr, ...) VkResult
- func QueuePresentKHR(queue VkQueue, info *VkPresentInfoKHR) VkResult
- func QueueSubmit2(queue VkQueue, count uint32, pSubmits *VkSubmitInfo2, fence VkFence) VkResult
- func ResetFences(device VkDevice, count uint32, pFences *VkFence) VkResult
- func WaitForFences(device VkDevice, count uint32, pFences *VkFence, waitAll VkBool32, ...) VkResult
- type VkSampleCountFlagBits
- type VkSampleCountFlags
- type VkSampleMask
- type VkSampler
- type VkSamplerAddressMode
- type VkSamplerCreateFlagBits
- type VkSamplerCreateFlags
- type VkSamplerCreateInfo
- type VkSamplerMipmapMode
- type VkSamplerReductionMode
- type VkSamplerReductionModeCreateInfo
- type VkSamplerYcbcrConversion
- type VkSamplerYcbcrConversionCreateInfo
- type VkSamplerYcbcrConversionImageFormatProperties
- type VkSamplerYcbcrConversionInfo
- type VkSamplerYcbcrModelConversion
- type VkSamplerYcbcrRange
- type VkSemaphore
- type VkSemaphoreCreateFlags
- type VkSemaphoreCreateInfo
- type VkSemaphoreImportFlagBits
- type VkSemaphoreImportFlags
- type VkSemaphoreSignalInfo
- type VkSemaphoreSubmitInfo
- type VkSemaphoreSubmitInfoKHR
- type VkSemaphoreType
- type VkSemaphoreTypeCreateInfo
- type VkSemaphoreWaitFlagBits
- type VkSemaphoreWaitFlags
- type VkSemaphoreWaitInfo
- type VkShaderFloatControlsIndependence
- type VkShaderModule
- type VkShaderModuleCreateFlags
- type VkShaderModuleCreateInfo
- type VkShaderStageFlagBits
- type VkShaderStageFlags
- type VkSharingMode
- type VkSparseBufferMemoryBindInfo
- type VkSparseImageFormatFlagBits
- type VkSparseImageFormatFlags
- type VkSparseImageFormatProperties
- type VkSparseImageFormatProperties2
- type VkSparseImageMemoryBind
- type VkSparseImageMemoryBindInfo
- type VkSparseImageMemoryRequirements
- type VkSparseImageMemoryRequirements2
- type VkSparseImageOpaqueMemoryBindInfo
- type VkSparseMemoryBind
- type VkSparseMemoryBindFlagBits
- type VkSparseMemoryBindFlags
- type VkSpecializationInfo
- type VkSpecializationMapEntry
- type VkStencilFaceFlagBits
- type VkStencilFaceFlags
- type VkStencilOp
- type VkStencilOpState
- type VkStructureType
- type VkSubgroupFeatureFlagBits
- type VkSubgroupFeatureFlags
- type VkSubmitFlagBits
- type VkSubmitFlagBitsKHR
- type VkSubmitFlags
- type VkSubmitFlagsKHR
- type VkSubmitInfo
- type VkSubmitInfo2
- type VkSubmitInfo2KHR
- type VkSubpassBeginInfo
- type VkSubpassContents
- type VkSubpassDependency
- type VkSubpassDependency2
- type VkSubpassDescription
- type VkSubpassDescription2
- type VkSubpassDescriptionDepthStencilResolve
- type VkSubpassDescriptionFlagBits
- type VkSubpassDescriptionFlags
- type VkSubpassEndInfo
- type VkSubresourceLayout
- type VkSurfaceCapabilities2KHR
- type VkSurfaceCapabilitiesKHR
- type VkSurfaceFormat2KHR
- type VkSurfaceFormatKHR
- type VkSurfaceKHR
- type VkSurfaceTransformFlagBitsKHR
- type VkSurfaceTransformFlagsKHR
- type VkSwapchainCreateFlagBitsKHR
- type VkSwapchainCreateFlagsKHR
- type VkSwapchainCreateInfoKHR
- type VkSwapchainKHR
- type VkSystemAllocationScope
- type VkTessellationDomainOrigin
- type VkTimelineSemaphoreSubmitInfo
- type VkToolPurposeFlagBits
- type VkToolPurposeFlags
- type VkVendorId
- type VkVertexInputAttributeDescription
- type VkVertexInputBindingDescription
- type VkVertexInputRate
- type VkViewport
- type VkWaylandSurfaceCreateFlagsKHR
- type VkWaylandSurfaceCreateInfoKHR
- type VkWin32SurfaceCreateFlagsKHR
- type VkWin32SurfaceCreateInfoKHR
- type VkWriteDescriptorSet
- type VkWriteDescriptorSetInlineUniformBlock
- type VkXcbSurfaceCreateFlagsKHR
- type VkXcbSurfaceCreateInfoKHR
- type VkXlibSurfaceCreateFlagsKHR
- type VkXlibSurfaceCreateInfoKHR
Constants ¶
const ( VK_MAX_PHYSICAL_DEVICE_NAME_SIZE = 256 VK_UUID_SIZE = 16 VK_LUID_SIZE = 8 VK_MAX_EXTENSION_NAME_SIZE = 256 VK_MAX_DESCRIPTION_SIZE = 256 VK_MAX_MEMORY_TYPES = 32 VK_MAX_MEMORY_HEAPS = 16 VK_LOD_CLAMP_NONE = 1000.0 VK_REMAINING_MIP_LEVELS = 0xFFFFFFFF VK_REMAINING_ARRAY_LAYERS = 0xFFFFFFFF VK_REMAINING_3D_SLICES_EXT = 0xFFFFFFFF VK_WHOLE_SIZE = 0xFFFFFFFFFFFFFFFF VK_ATTACHMENT_UNUSED = 0xFFFFFFFF VK_TRUE = 1 VK_FALSE = 0 VK_QUEUE_FAMILY_IGNORED = 0xFFFFFFFF VK_QUEUE_FAMILY_EXTERNAL = 0xFFFFFFFE VK_QUEUE_FAMILY_FOREIGN_EXT = 0xFFFFFFFD VK_SUBPASS_EXTERNAL = 0xFFFFFFFF VK_MAX_DEVICE_GROUP_SIZE = 32 VK_MAX_DRIVER_NAME_SIZE = 256 VK_MAX_DRIVER_INFO_SIZE = 256 VK_SHADER_UNUSED_KHR = 0xFFFFFFFF VK_MAX_GLOBAL_PRIORITY_SIZE = 16 VK_MAX_SHADER_MODULE_IDENTIFIER_SIZE_EXT = 32 VK_MAX_PIPELINE_BINARY_KEY_SIZE_KHR = 32 VK_MAX_VIDEO_AV1_REFERENCES_PER_FRAME_KHR = 7 VK_MAX_VIDEO_VP9_REFERENCES_PER_FRAME_KHR = 3 VK_SHADER_INDEX_UNUSED_AMDX = 0xFFFFFFFF VK_PARTITIONED_ACCELERATION_STRUCTURE_PARTITION_INDEX_GLOBAL_NV = 0xFFFFFFFF VK_COMPRESSED_TRIANGLE_FORMAT_DGF1_BYTE_ALIGNMENT_AMDX = 128 VK_COMPRESSED_TRIANGLE_FORMAT_DGF1_BYTE_STRIDE_AMDX = 128 VK_MAX_PHYSICAL_DEVICE_DATA_GRAPH_OPERATION_SET_NAME_SIZE_ARM = 128 VK_DATA_GRAPH_MODEL_TOOLCHAIN_VERSION_LENGTH_QCOM = 3 VK_COMPUTE_OCCUPANCY_PRIORITY_LOW_NV = 0.25 VK_COMPUTE_OCCUPANCY_PRIORITY_NORMAL_NV = 0.50 VK_COMPUTE_OCCUPANCY_PRIORITY_HIGH_NV = 0.75 VK_MAX_DATA_GRAPH_TOSA_NAME_SIZE_ARM = 128 VK_KHR_SURFACE_SPEC_VERSION = 25 VK_KHR_SURFACE_EXTENSION_NAME = "VK_KHR_surface" VK_KHR_SWAPCHAIN_SPEC_VERSION = 70 VK_KHR_SWAPCHAIN_EXTENSION_NAME = "VK_KHR_swapchain" VK_KHR_GET_SURFACE_CAPABILITIES_2_SPEC_VERSION = 1 VK_KHR_GET_SURFACE_CAPABILITIES_2_EXTENSION_NAME = "VK_KHR_get_surface_capabilities2" VK_EXT_METAL_SURFACE_SPEC_VERSION = 1 VK_EXT_METAL_SURFACE_EXTENSION_NAME = "VK_EXT_metal_surface" VK_KHR_WIN32_SURFACE_SPEC_VERSION = 6 VK_KHR_WIN32_SURFACE_EXTENSION_NAME = "VK_KHR_win32_surface" VK_KHR_WAYLAND_SURFACE_SPEC_VERSION = 6 VK_KHR_WAYLAND_SURFACE_EXTENSION_NAME = "VK_KHR_wayland_surface" VK_KHR_XCB_SURFACE_SPEC_VERSION = 6 VK_KHR_XCB_SURFACE_EXTENSION_NAME = "VK_KHR_xcb_surface" VK_KHR_XLIB_SURFACE_SPEC_VERSION = 6 VK_KHR_XLIB_SURFACE_EXTENSION_NAME = "VK_KHR_xlib_surface" VK_KHR_PORTABILITY_ENUMERATION_SPEC_VERSION = 1 VK_KHR_PORTABILITY_ENUMERATION_EXTENSION_NAME = "VK_KHR_portability_enumeration" VK_KHR_PORTABILITY_SUBSET_SPEC_VERSION = 1 VK_KHR_PORTABILITY_SUBSET_EXTENSION_NAME = "VK_KHR_portability_subset" VK_EXT_DEBUG_UTILS_SPEC_VERSION = 2 VK_EXT_DEBUG_UTILS_EXTENSION_NAME = "VK_EXT_debug_utils" VK_EXT_HEADLESS_SURFACE_SPEC_VERSION = 1 VK_EXT_HEADLESS_SURFACE_EXTENSION_NAME = "VK_EXT_headless_surface" VK_KHR_DYNAMIC_RENDERING_SPEC_VERSION = 1 VK_KHR_DYNAMIC_RENDERING_EXTENSION_NAME = "VK_KHR_dynamic_rendering" VK_KHR_SYNCHRONIZATION_2_SPEC_VERSION = 1 VK_KHR_SYNCHRONIZATION_2_EXTENSION_NAME = "VK_KHR_synchronization2" )
const ( VK_ACCESS_2_NONE VkAccessFlags2 = 0 VK_ACCESS_2_INDIRECT_COMMAND_READ_BIT VkAccessFlags2 = 1 << 0 VK_ACCESS_2_INDEX_READ_BIT VkAccessFlags2 = 1 << 1 VK_ACCESS_2_VERTEX_ATTRIBUTE_READ_BIT VkAccessFlags2 = 1 << 2 VK_ACCESS_2_UNIFORM_READ_BIT VkAccessFlags2 = 1 << 3 VK_ACCESS_2_INPUT_ATTACHMENT_READ_BIT VkAccessFlags2 = 1 << 4 VK_ACCESS_2_SHADER_READ_BIT VkAccessFlags2 = 1 << 5 VK_ACCESS_2_SHADER_WRITE_BIT VkAccessFlags2 = 1 << 6 VK_ACCESS_2_COLOR_ATTACHMENT_READ_BIT VkAccessFlags2 = 1 << 7 VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT VkAccessFlags2 = 1 << 8 VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BIT VkAccessFlags2 = 1 << 9 VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT VkAccessFlags2 = 1 << 10 VK_ACCESS_2_TRANSFER_READ_BIT VkAccessFlags2 = 1 << 11 VK_ACCESS_2_TRANSFER_WRITE_BIT VkAccessFlags2 = 1 << 12 VK_ACCESS_2_HOST_READ_BIT VkAccessFlags2 = 1 << 13 VK_ACCESS_2_HOST_WRITE_BIT VkAccessFlags2 = 1 << 14 VK_ACCESS_2_MEMORY_READ_BIT VkAccessFlags2 = 1 << 15 VK_ACCESS_2_MEMORY_WRITE_BIT VkAccessFlags2 = 1 << 16 VK_ACCESS_2_SHADER_SAMPLED_READ_BIT VkAccessFlags2 = 1 << 32 VK_ACCESS_2_SHADER_STORAGE_READ_BIT VkAccessFlags2 = 1 << 33 VK_ACCESS_2_SHADER_STORAGE_WRITE_BIT VkAccessFlags2 = 1 << 34 VK_ACCESS_2_NONE_KHR = VK_ACCESS_2_NONE VK_ACCESS_2_INDIRECT_COMMAND_READ_BIT_KHR = VK_ACCESS_2_INDIRECT_COMMAND_READ_BIT VK_ACCESS_2_INDEX_READ_BIT_KHR = VK_ACCESS_2_INDEX_READ_BIT VK_ACCESS_2_VERTEX_ATTRIBUTE_READ_BIT_KHR = VK_ACCESS_2_VERTEX_ATTRIBUTE_READ_BIT VK_ACCESS_2_UNIFORM_READ_BIT_KHR = VK_ACCESS_2_UNIFORM_READ_BIT VK_ACCESS_2_INPUT_ATTACHMENT_READ_BIT_KHR = VK_ACCESS_2_INPUT_ATTACHMENT_READ_BIT VK_ACCESS_2_SHADER_READ_BIT_KHR = VK_ACCESS_2_SHADER_READ_BIT VK_ACCESS_2_SHADER_WRITE_BIT_KHR = VK_ACCESS_2_SHADER_WRITE_BIT VK_ACCESS_2_COLOR_ATTACHMENT_READ_BIT_KHR = VK_ACCESS_2_COLOR_ATTACHMENT_READ_BIT VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT_KHR = VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BIT_KHR = VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BIT VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT_KHR = VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT VK_ACCESS_2_TRANSFER_READ_BIT_KHR = VK_ACCESS_2_TRANSFER_READ_BIT VK_ACCESS_2_TRANSFER_WRITE_BIT_KHR = VK_ACCESS_2_TRANSFER_WRITE_BIT VK_ACCESS_2_HOST_READ_BIT_KHR = VK_ACCESS_2_HOST_READ_BIT VK_ACCESS_2_HOST_WRITE_BIT_KHR = VK_ACCESS_2_HOST_WRITE_BIT VK_ACCESS_2_MEMORY_READ_BIT_KHR = VK_ACCESS_2_MEMORY_READ_BIT VK_ACCESS_2_MEMORY_WRITE_BIT_KHR = VK_ACCESS_2_MEMORY_WRITE_BIT VK_ACCESS_2_SHADER_SAMPLED_READ_BIT_KHR = VK_ACCESS_2_SHADER_SAMPLED_READ_BIT VK_ACCESS_2_SHADER_STORAGE_READ_BIT_KHR = VK_ACCESS_2_SHADER_STORAGE_READ_BIT VK_ACCESS_2_SHADER_STORAGE_WRITE_BIT_KHR = VK_ACCESS_2_SHADER_STORAGE_WRITE_BIT VK_ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXT VkAccessFlags2 = 1 << 25 VK_ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT VkAccessFlags2 = 1 << 26 VK_ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT VkAccessFlags2 = 1 << 27 VK_ACCESS_2_CONDITIONAL_RENDERING_READ_BIT_EXT VkAccessFlags2 = 1 << 20 VK_ACCESS_2_COMMAND_PREPROCESS_READ_BIT_NV = VK_ACCESS_2_COMMAND_PREPROCESS_READ_BIT_EXT VK_ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_NV = VK_ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_EXT VK_ACCESS_2_COMMAND_PREPROCESS_READ_BIT_EXT VkAccessFlags2 = 1 << 17 VK_ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_EXT VkAccessFlags2 = 1 << 18 VK_ACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR VkAccessFlags2 = 1 << 23 VK_ACCESS_2_SHADING_RATE_IMAGE_READ_BIT_NV = VK_ACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR VK_ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHR VkAccessFlags2 = 1 << 21 VK_ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHR VkAccessFlags2 = 1 << 22 VK_ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_NV = VK_ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHR VK_ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_NV = VK_ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHR VK_ACCESS_2_FRAGMENT_DENSITY_MAP_READ_BIT_EXT VkAccessFlags2 = 1 << 24 VK_ACCESS_2_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT VkAccessFlags2 = 1 << 19 )
const ( VK_PIPELINE_STAGE_2_NONE VkPipelineStageFlags2 = 0 VK_PIPELINE_STAGE_2_TOP_OF_PIPE_BIT VkPipelineStageFlags2 = 1 << 0 VK_PIPELINE_STAGE_2_DRAW_INDIRECT_BIT VkPipelineStageFlags2 = 1 << 1 VK_PIPELINE_STAGE_2_VERTEX_INPUT_BIT VkPipelineStageFlags2 = 1 << 2 VK_PIPELINE_STAGE_2_VERTEX_SHADER_BIT VkPipelineStageFlags2 = 1 << 3 VK_PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BIT VkPipelineStageFlags2 = 1 << 4 VK_PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BIT VkPipelineStageFlags2 = 1 << 5 VK_PIPELINE_STAGE_2_GEOMETRY_SHADER_BIT VkPipelineStageFlags2 = 1 << 6 VK_PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT VkPipelineStageFlags2 = 1 << 7 VK_PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BIT VkPipelineStageFlags2 = 1 << 8 VK_PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BIT VkPipelineStageFlags2 = 1 << 9 VK_PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT VkPipelineStageFlags2 = 1 << 10 VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT VkPipelineStageFlags2 = 1 << 11 VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT VkPipelineStageFlags2 = 1 << 12 VK_PIPELINE_STAGE_2_TRANSFER_BIT = VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT VK_PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BIT VkPipelineStageFlags2 = 1 << 13 VK_PIPELINE_STAGE_2_HOST_BIT VkPipelineStageFlags2 = 1 << 14 VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT VkPipelineStageFlags2 = 1 << 15 VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT VkPipelineStageFlags2 = 1 << 16 VK_PIPELINE_STAGE_2_COPY_BIT VkPipelineStageFlags2 = 1 << 32 VK_PIPELINE_STAGE_2_RESOLVE_BIT VkPipelineStageFlags2 = 1 << 33 VK_PIPELINE_STAGE_2_BLIT_BIT VkPipelineStageFlags2 = 1 << 34 VK_PIPELINE_STAGE_2_CLEAR_BIT VkPipelineStageFlags2 = 1 << 35 VK_PIPELINE_STAGE_2_INDEX_INPUT_BIT VkPipelineStageFlags2 = 1 << 36 VK_PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BIT VkPipelineStageFlags2 = 1 << 37 VK_PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BIT VkPipelineStageFlags2 = 1 << 38 VK_PIPELINE_STAGE_2_NONE_KHR = VK_PIPELINE_STAGE_2_NONE VK_PIPELINE_STAGE_2_TOP_OF_PIPE_BIT_KHR = VK_PIPELINE_STAGE_2_TOP_OF_PIPE_BIT VK_PIPELINE_STAGE_2_DRAW_INDIRECT_BIT_KHR = VK_PIPELINE_STAGE_2_DRAW_INDIRECT_BIT VK_PIPELINE_STAGE_2_VERTEX_INPUT_BIT_KHR = VK_PIPELINE_STAGE_2_VERTEX_INPUT_BIT VK_PIPELINE_STAGE_2_VERTEX_SHADER_BIT_KHR = VK_PIPELINE_STAGE_2_VERTEX_SHADER_BIT VK_PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BIT_KHR = VK_PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BIT VK_PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BIT_KHR = VK_PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BIT VK_PIPELINE_STAGE_2_GEOMETRY_SHADER_BIT_KHR = VK_PIPELINE_STAGE_2_GEOMETRY_SHADER_BIT VK_PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT_KHR = VK_PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT VK_PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BIT_KHR = VK_PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BIT VK_PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BIT_KHR = VK_PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BIT VK_PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT_KHR = VK_PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT_KHR = VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT_KHR = VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT VK_PIPELINE_STAGE_2_TRANSFER_BIT_KHR = VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT VK_PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BIT_KHR = VK_PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BIT VK_PIPELINE_STAGE_2_HOST_BIT_KHR = VK_PIPELINE_STAGE_2_HOST_BIT VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT_KHR = VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT_KHR = VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT VK_PIPELINE_STAGE_2_COPY_BIT_KHR = VK_PIPELINE_STAGE_2_COPY_BIT VK_PIPELINE_STAGE_2_RESOLVE_BIT_KHR = VK_PIPELINE_STAGE_2_RESOLVE_BIT VK_PIPELINE_STAGE_2_BLIT_BIT_KHR = VK_PIPELINE_STAGE_2_BLIT_BIT VK_PIPELINE_STAGE_2_CLEAR_BIT_KHR = VK_PIPELINE_STAGE_2_CLEAR_BIT VK_PIPELINE_STAGE_2_INDEX_INPUT_BIT_KHR = VK_PIPELINE_STAGE_2_INDEX_INPUT_BIT VK_PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BIT_KHR = VK_PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BIT VK_PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BIT_KHR = VK_PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BIT VK_PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXT VkPipelineStageFlags2 = 1 << 24 VK_PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXT VkPipelineStageFlags2 = 1 << 18 VK_PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NV = VK_PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXT VK_PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_EXT VkPipelineStageFlags2 = 1 << 17 VK_PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR VkPipelineStageFlags2 = 1 << 22 VK_PIPELINE_STAGE_2_SHADING_RATE_IMAGE_BIT_NV = VK_PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR VK_PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR VkPipelineStageFlags2 = 1 << 25 VK_PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR VkPipelineStageFlags2 = 1 << 21 VK_PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_NV = VK_PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR VK_PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_NV = VK_PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR VK_PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXT VkPipelineStageFlags2 = 1 << 23 VK_PIPELINE_STAGE_2_TASK_SHADER_BIT_NV = VK_PIPELINE_STAGE_2_TASK_SHADER_BIT_EXT VK_PIPELINE_STAGE_2_MESH_SHADER_BIT_NV = VK_PIPELINE_STAGE_2_MESH_SHADER_BIT_EXT VK_PIPELINE_STAGE_2_TASK_SHADER_BIT_EXT VkPipelineStageFlags2 = 1 << 19 VK_PIPELINE_STAGE_2_MESH_SHADER_BIT_EXT VkPipelineStageFlags2 = 1 << 20 )
const ( VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT VkRenderingFlags = 1 << 0 VK_RENDERING_SUSPENDING_BIT VkRenderingFlags = 1 << 1 VK_RENDERING_RESUMING_BIT VkRenderingFlags = 1 << 2 VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT_KHR = VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT VK_RENDERING_SUSPENDING_BIT_KHR = VK_RENDERING_SUSPENDING_BIT VK_RENDERING_RESUMING_BIT_KHR = VK_RENDERING_RESUMING_BIT )
const HeaderVersion = 350
HeaderVersion is the VK_HEADER_VERSION of the registry this binding was generated from.
const LibraryEnv = "BUNYIP_VULKAN_LIBRARY"
LibraryEnv names the environment variable that overrides the library search.
Variables ¶
var ( API_VERSION_1_0 = MakeAPIVersion(0, 1, 0, 0) API_VERSION_1_1 = MakeAPIVersion(0, 1, 1, 0) API_VERSION_1_2 = MakeAPIVersion(0, 1, 2, 0) API_VERSION_1_3 = MakeAPIVersion(0, 1, 3, 0) )
var ( VkAcquireNextImage2KHR func(device VkDevice, pAcquireInfo *VkAcquireNextImageInfoKHR, pImageIndex *uint32) VkResult VkAcquireNextImageKHR func(device VkDevice, swapchain VkSwapchainKHR, timeout uint64, semaphore VkSemaphore, fence VkFence, pImageIndex *uint32) VkResult VkAllocateCommandBuffers func(device VkDevice, pAllocateInfo *VkCommandBufferAllocateInfo, pCommandBuffers *VkCommandBuffer) VkResult VkAllocateDescriptorSets func(device VkDevice, pAllocateInfo *VkDescriptorSetAllocateInfo, pDescriptorSets *VkDescriptorSet) VkResult VkAllocateMemory func(device VkDevice, pAllocateInfo *VkMemoryAllocateInfo, pAllocator *VkAllocationCallbacks, pMemory *VkDeviceMemory) VkResult VkBeginCommandBuffer func(commandBuffer VkCommandBuffer, pBeginInfo *VkCommandBufferBeginInfo) VkResult VkBindBufferMemory func(device VkDevice, buffer VkBuffer, memory VkDeviceMemory, memoryOffset VkDeviceSize) VkResult VkBindBufferMemory2 func(device VkDevice, bindInfoCount uint32, pBindInfos *VkBindBufferMemoryInfo) VkResult VkBindImageMemory func(device VkDevice, image VkImage, memory VkDeviceMemory, memoryOffset VkDeviceSize) VkResult VkBindImageMemory2 func(device VkDevice, bindInfoCount uint32, pBindInfos *VkBindImageMemoryInfo) VkResult VkCmdBeginDebugUtilsLabelEXT func(commandBuffer VkCommandBuffer, pLabelInfo *VkDebugUtilsLabelEXT) VkCmdBeginQuery func(commandBuffer VkCommandBuffer, queryPool VkQueryPool, query uint32, flags VkQueryControlFlags) VkCmdBeginRenderPass func(commandBuffer VkCommandBuffer, pRenderPassBegin *VkRenderPassBeginInfo, contents VkSubpassContents) VkCmdBeginRenderPass2 func(commandBuffer VkCommandBuffer, pRenderPassBegin *VkRenderPassBeginInfo, pSubpassBeginInfo *VkSubpassBeginInfo) VkCmdBeginRendering func(commandBuffer VkCommandBuffer, pRenderingInfo *VkRenderingInfo) VkCmdBeginRenderingKHR func(commandBuffer VkCommandBuffer, pRenderingInfo *VkRenderingInfo) VkCmdBindDescriptorSets func(commandBuffer VkCommandBuffer, pipelineBindPoint VkPipelineBindPoint, layout VkPipelineLayout, firstSet uint32, descriptorSetCount uint32, pDescriptorSets *VkDescriptorSet, dynamicOffsetCount uint32, pDynamicOffsets *uint32) VkCmdBindIndexBuffer func(commandBuffer VkCommandBuffer, buffer VkBuffer, offset VkDeviceSize, indexType VkIndexType) VkCmdBindPipeline func(commandBuffer VkCommandBuffer, pipelineBindPoint VkPipelineBindPoint, pipeline VkPipeline) VkCmdBindVertexBuffers func(commandBuffer VkCommandBuffer, firstBinding uint32, bindingCount uint32, pBuffers *VkBuffer, pOffsets *VkDeviceSize) VkCmdBindVertexBuffers2 func(commandBuffer VkCommandBuffer, firstBinding uint32, bindingCount uint32, pBuffers *VkBuffer, pOffsets *VkDeviceSize, pSizes *VkDeviceSize, pStrides *VkDeviceSize) VkCmdBlitImage func(commandBuffer VkCommandBuffer, srcImage VkImage, srcImageLayout VkImageLayout, dstImage VkImage, dstImageLayout VkImageLayout, regionCount uint32, pRegions *VkImageBlit, filter VkFilter) VkCmdBlitImage2 func(commandBuffer VkCommandBuffer, pBlitImageInfo *VkBlitImageInfo2) VkCmdClearAttachments func(commandBuffer VkCommandBuffer, attachmentCount uint32, pAttachments *VkClearAttachment, rectCount uint32, pRects *VkClearRect) VkCmdClearColorImage func(commandBuffer VkCommandBuffer, image VkImage, imageLayout VkImageLayout, pColor *VkClearColorValue, rangeCount uint32, pRanges *VkImageSubresourceRange) VkCmdClearDepthStencilImage func(commandBuffer VkCommandBuffer, image VkImage, imageLayout VkImageLayout, pDepthStencil *VkClearDepthStencilValue, rangeCount uint32, pRanges *VkImageSubresourceRange) VkCmdCopyBuffer func(commandBuffer VkCommandBuffer, srcBuffer VkBuffer, dstBuffer VkBuffer, regionCount uint32, pRegions *VkBufferCopy) VkCmdCopyBuffer2 func(commandBuffer VkCommandBuffer, pCopyBufferInfo *VkCopyBufferInfo2) VkCmdCopyBufferToImage func(commandBuffer VkCommandBuffer, srcBuffer VkBuffer, dstImage VkImage, dstImageLayout VkImageLayout, regionCount uint32, pRegions *VkBufferImageCopy) VkCmdCopyBufferToImage2 func(commandBuffer VkCommandBuffer, pCopyBufferToImageInfo *VkCopyBufferToImageInfo2) VkCmdCopyImage func(commandBuffer VkCommandBuffer, srcImage VkImage, srcImageLayout VkImageLayout, dstImage VkImage, dstImageLayout VkImageLayout, regionCount uint32, pRegions *VkImageCopy) VkCmdCopyImage2 func(commandBuffer VkCommandBuffer, pCopyImageInfo *VkCopyImageInfo2) VkCmdCopyImageToBuffer func(commandBuffer VkCommandBuffer, srcImage VkImage, srcImageLayout VkImageLayout, dstBuffer VkBuffer, regionCount uint32, pRegions *VkBufferImageCopy) VkCmdCopyImageToBuffer2 func(commandBuffer VkCommandBuffer, pCopyImageToBufferInfo *VkCopyImageToBufferInfo2) VkCmdCopyQueryPoolResults func(commandBuffer VkCommandBuffer, queryPool VkQueryPool, firstQuery uint32, queryCount uint32, dstBuffer VkBuffer, dstOffset VkDeviceSize, stride VkDeviceSize, flags VkQueryResultFlags) VkCmdDispatch func(commandBuffer VkCommandBuffer, groupCountX uint32, groupCountY uint32, groupCountZ uint32) VkCmdDispatchBase func(commandBuffer VkCommandBuffer, baseGroupX uint32, baseGroupY uint32, baseGroupZ uint32, groupCountX uint32, groupCountY uint32, groupCountZ uint32) VkCmdDispatchIndirect func(commandBuffer VkCommandBuffer, buffer VkBuffer, offset VkDeviceSize) VkCmdDraw func(commandBuffer VkCommandBuffer, vertexCount uint32, instanceCount uint32, firstVertex uint32, firstInstance uint32) VkCmdDrawIndexed func(commandBuffer VkCommandBuffer, indexCount uint32, instanceCount uint32, firstIndex uint32, vertexOffset int32, firstInstance uint32) VkCmdDrawIndexedIndirect func(commandBuffer VkCommandBuffer, buffer VkBuffer, offset VkDeviceSize, drawCount uint32, stride uint32) VkCmdDrawIndexedIndirectCount func(commandBuffer VkCommandBuffer, buffer VkBuffer, offset VkDeviceSize, countBuffer VkBuffer, countBufferOffset VkDeviceSize, maxDrawCount uint32, stride uint32) VkCmdDrawIndirect func(commandBuffer VkCommandBuffer, buffer VkBuffer, offset VkDeviceSize, drawCount uint32, stride uint32) VkCmdDrawIndirectCount func(commandBuffer VkCommandBuffer, buffer VkBuffer, offset VkDeviceSize, countBuffer VkBuffer, countBufferOffset VkDeviceSize, maxDrawCount uint32, stride uint32) VkCmdEndDebugUtilsLabelEXT func(commandBuffer VkCommandBuffer) VkCmdEndQuery func(commandBuffer VkCommandBuffer, queryPool VkQueryPool, query uint32) VkCmdEndRenderPass func(commandBuffer VkCommandBuffer) VkCmdEndRenderPass2 func(commandBuffer VkCommandBuffer, pSubpassEndInfo *VkSubpassEndInfo) VkCmdEndRendering func(commandBuffer VkCommandBuffer) VkCmdEndRenderingKHR func(commandBuffer VkCommandBuffer) VkCmdExecuteCommands func(commandBuffer VkCommandBuffer, commandBufferCount uint32, pCommandBuffers *VkCommandBuffer) VkCmdFillBuffer func(commandBuffer VkCommandBuffer, dstBuffer VkBuffer, dstOffset VkDeviceSize, size VkDeviceSize, data uint32) VkCmdInsertDebugUtilsLabelEXT func(commandBuffer VkCommandBuffer, pLabelInfo *VkDebugUtilsLabelEXT) VkCmdNextSubpass func(commandBuffer VkCommandBuffer, contents VkSubpassContents) VkCmdNextSubpass2 func(commandBuffer VkCommandBuffer, pSubpassBeginInfo *VkSubpassBeginInfo, pSubpassEndInfo *VkSubpassEndInfo) VkCmdPipelineBarrier func(commandBuffer VkCommandBuffer, srcStageMask VkPipelineStageFlags, dstStageMask VkPipelineStageFlags, dependencyFlags VkDependencyFlags, memoryBarrierCount uint32, pMemoryBarriers *VkMemoryBarrier, bufferMemoryBarrierCount uint32, pBufferMemoryBarriers *VkBufferMemoryBarrier, imageMemoryBarrierCount uint32, pImageMemoryBarriers *VkImageMemoryBarrier) VkCmdPipelineBarrier2 func(commandBuffer VkCommandBuffer, pDependencyInfo *VkDependencyInfo) VkCmdPipelineBarrier2KHR func(commandBuffer VkCommandBuffer, pDependencyInfo *VkDependencyInfo) VkCmdPushConstants func(commandBuffer VkCommandBuffer, layout VkPipelineLayout, stageFlags VkShaderStageFlags, offset uint32, size uint32, pValues unsafe.Pointer) VkCmdResetEvent func(commandBuffer VkCommandBuffer, event VkEvent, stageMask VkPipelineStageFlags) VkCmdResetEvent2 func(commandBuffer VkCommandBuffer, event VkEvent, stageMask VkPipelineStageFlags2) VkCmdResetEvent2KHR func(commandBuffer VkCommandBuffer, event VkEvent, stageMask VkPipelineStageFlags2) VkCmdResetQueryPool func(commandBuffer VkCommandBuffer, queryPool VkQueryPool, firstQuery uint32, queryCount uint32) VkCmdResolveImage func(commandBuffer VkCommandBuffer, srcImage VkImage, srcImageLayout VkImageLayout, dstImage VkImage, dstImageLayout VkImageLayout, regionCount uint32, pRegions *VkImageResolve) VkCmdResolveImage2 func(commandBuffer VkCommandBuffer, pResolveImageInfo *VkResolveImageInfo2) VkCmdSetBlendConstants func(commandBuffer VkCommandBuffer, blendConstants *[4]float32) VkCmdSetCullMode func(commandBuffer VkCommandBuffer, cullMode VkCullModeFlags) VkCmdSetDepthBias func(commandBuffer VkCommandBuffer, depthBiasConstantFactor float32, depthBiasClamp float32, depthBiasSlopeFactor float32) VkCmdSetDepthBiasEnable func(commandBuffer VkCommandBuffer, depthBiasEnable VkBool32) VkCmdSetDepthBounds func(commandBuffer VkCommandBuffer, minDepthBounds float32, maxDepthBounds float32) VkCmdSetDepthBoundsTestEnable func(commandBuffer VkCommandBuffer, depthBoundsTestEnable VkBool32) VkCmdSetDepthCompareOp func(commandBuffer VkCommandBuffer, depthCompareOp VkCompareOp) VkCmdSetDepthTestEnable func(commandBuffer VkCommandBuffer, depthTestEnable VkBool32) VkCmdSetDepthWriteEnable func(commandBuffer VkCommandBuffer, depthWriteEnable VkBool32) VkCmdSetDeviceMask func(commandBuffer VkCommandBuffer, deviceMask uint32) VkCmdSetEvent func(commandBuffer VkCommandBuffer, event VkEvent, stageMask VkPipelineStageFlags) VkCmdSetEvent2 func(commandBuffer VkCommandBuffer, event VkEvent, pDependencyInfo *VkDependencyInfo) VkCmdSetEvent2KHR func(commandBuffer VkCommandBuffer, event VkEvent, pDependencyInfo *VkDependencyInfo) VkCmdSetFrontFace func(commandBuffer VkCommandBuffer, frontFace VkFrontFace) VkCmdSetLineWidth func(commandBuffer VkCommandBuffer, lineWidth float32) VkCmdSetPrimitiveRestartEnable func(commandBuffer VkCommandBuffer, primitiveRestartEnable VkBool32) VkCmdSetPrimitiveTopology func(commandBuffer VkCommandBuffer, primitiveTopology VkPrimitiveTopology) VkCmdSetRasterizerDiscardEnable func(commandBuffer VkCommandBuffer, rasterizerDiscardEnable VkBool32) VkCmdSetScissor func(commandBuffer VkCommandBuffer, firstScissor uint32, scissorCount uint32, pScissors *VkRect2D) VkCmdSetScissorWithCount func(commandBuffer VkCommandBuffer, scissorCount uint32, pScissors *VkRect2D) VkCmdSetStencilCompareMask func(commandBuffer VkCommandBuffer, faceMask VkStencilFaceFlags, compareMask uint32) VkCmdSetStencilOp func(commandBuffer VkCommandBuffer, faceMask VkStencilFaceFlags, failOp VkStencilOp, passOp VkStencilOp, depthFailOp VkStencilOp, compareOp VkCompareOp) VkCmdSetStencilReference func(commandBuffer VkCommandBuffer, faceMask VkStencilFaceFlags, reference uint32) VkCmdSetStencilTestEnable func(commandBuffer VkCommandBuffer, stencilTestEnable VkBool32) VkCmdSetStencilWriteMask func(commandBuffer VkCommandBuffer, faceMask VkStencilFaceFlags, writeMask uint32) VkCmdSetViewport func(commandBuffer VkCommandBuffer, firstViewport uint32, viewportCount uint32, pViewports *VkViewport) VkCmdSetViewportWithCount func(commandBuffer VkCommandBuffer, viewportCount uint32, pViewports *VkViewport) VkCmdUpdateBuffer func(commandBuffer VkCommandBuffer, dstBuffer VkBuffer, dstOffset VkDeviceSize, dataSize VkDeviceSize, pData unsafe.Pointer) VkCmdWaitEvents func(commandBuffer VkCommandBuffer, eventCount uint32, pEvents *VkEvent, srcStageMask VkPipelineStageFlags, dstStageMask VkPipelineStageFlags, memoryBarrierCount uint32, pMemoryBarriers *VkMemoryBarrier, bufferMemoryBarrierCount uint32, pBufferMemoryBarriers *VkBufferMemoryBarrier, imageMemoryBarrierCount uint32, pImageMemoryBarriers *VkImageMemoryBarrier) VkCmdWaitEvents2 func(commandBuffer VkCommandBuffer, eventCount uint32, pEvents *VkEvent, pDependencyInfos *VkDependencyInfo) VkCmdWaitEvents2KHR func(commandBuffer VkCommandBuffer, eventCount uint32, pEvents *VkEvent, pDependencyInfos *VkDependencyInfo) VkCmdWriteTimestamp func(commandBuffer VkCommandBuffer, pipelineStage VkPipelineStageFlagBits, queryPool VkQueryPool, query uint32) VkCmdWriteTimestamp2 func(commandBuffer VkCommandBuffer, stage VkPipelineStageFlags2, queryPool VkQueryPool, query uint32) VkCmdWriteTimestamp2KHR func(commandBuffer VkCommandBuffer, stage VkPipelineStageFlags2, queryPool VkQueryPool, query uint32) VkCreateBuffer func(device VkDevice, pCreateInfo *VkBufferCreateInfo, pAllocator *VkAllocationCallbacks, pBuffer *VkBuffer) VkResult VkCreateBufferView func(device VkDevice, pCreateInfo *VkBufferViewCreateInfo, pAllocator *VkAllocationCallbacks, pView *VkBufferView) VkResult VkCreateCommandPool func(device VkDevice, pCreateInfo *VkCommandPoolCreateInfo, pAllocator *VkAllocationCallbacks, pCommandPool *VkCommandPool) VkResult VkCreateComputePipelines func(device VkDevice, pipelineCache VkPipelineCache, createInfoCount uint32, pCreateInfos *VkComputePipelineCreateInfo, pAllocator *VkAllocationCallbacks, pPipelines *VkPipeline) VkResult VkCreateDebugUtilsMessengerEXT func(instance VkInstance, pCreateInfo *VkDebugUtilsMessengerCreateInfoEXT, pAllocator *VkAllocationCallbacks, pMessenger *VkDebugUtilsMessengerEXT) VkResult VkCreateDescriptorPool func(device VkDevice, pCreateInfo *VkDescriptorPoolCreateInfo, pAllocator *VkAllocationCallbacks, pDescriptorPool *VkDescriptorPool) VkResult VkCreateDescriptorSetLayout func(device VkDevice, pCreateInfo *VkDescriptorSetLayoutCreateInfo, pAllocator *VkAllocationCallbacks, pSetLayout *VkDescriptorSetLayout) VkResult VkCreateDescriptorUpdateTemplate func(device VkDevice, pCreateInfo *VkDescriptorUpdateTemplateCreateInfo, pAllocator *VkAllocationCallbacks, pDescriptorUpdateTemplate *VkDescriptorUpdateTemplate) VkResult VkCreateDevice func(physicalDevice VkPhysicalDevice, pCreateInfo *VkDeviceCreateInfo, pAllocator *VkAllocationCallbacks, pDevice *VkDevice) VkResult VkCreateEvent func(device VkDevice, pCreateInfo *VkEventCreateInfo, pAllocator *VkAllocationCallbacks, pEvent *VkEvent) VkResult VkCreateFence func(device VkDevice, pCreateInfo *VkFenceCreateInfo, pAllocator *VkAllocationCallbacks, pFence *VkFence) VkResult VkCreateFramebuffer func(device VkDevice, pCreateInfo *VkFramebufferCreateInfo, pAllocator *VkAllocationCallbacks, pFramebuffer *VkFramebuffer) VkResult VkCreateGraphicsPipelines func(device VkDevice, pipelineCache VkPipelineCache, createInfoCount uint32, pCreateInfos *VkGraphicsPipelineCreateInfo, pAllocator *VkAllocationCallbacks, pPipelines *VkPipeline) VkResult VkCreateHeadlessSurfaceEXT func(instance VkInstance, pCreateInfo *VkHeadlessSurfaceCreateInfoEXT, pAllocator *VkAllocationCallbacks, pSurface *VkSurfaceKHR) VkResult VkCreateImage func(device VkDevice, pCreateInfo *VkImageCreateInfo, pAllocator *VkAllocationCallbacks, pImage *VkImage) VkResult VkCreateImageView func(device VkDevice, pCreateInfo *VkImageViewCreateInfo, pAllocator *VkAllocationCallbacks, pView *VkImageView) VkResult VkCreateInstance func(pCreateInfo *VkInstanceCreateInfo, pAllocator *VkAllocationCallbacks, pInstance *VkInstance) VkResult VkCreateMetalSurfaceEXT func(instance VkInstance, pCreateInfo *VkMetalSurfaceCreateInfoEXT, pAllocator *VkAllocationCallbacks, pSurface *VkSurfaceKHR) VkResult VkCreatePipelineCache func(device VkDevice, pCreateInfo *VkPipelineCacheCreateInfo, pAllocator *VkAllocationCallbacks, pPipelineCache *VkPipelineCache) VkResult VkCreatePipelineLayout func(device VkDevice, pCreateInfo *VkPipelineLayoutCreateInfo, pAllocator *VkAllocationCallbacks, pPipelineLayout *VkPipelineLayout) VkResult VkCreatePrivateDataSlot func(device VkDevice, pCreateInfo *VkPrivateDataSlotCreateInfo, pAllocator *VkAllocationCallbacks, pPrivateDataSlot *VkPrivateDataSlot) VkResult VkCreateQueryPool func(device VkDevice, pCreateInfo *VkQueryPoolCreateInfo, pAllocator *VkAllocationCallbacks, pQueryPool *VkQueryPool) VkResult VkCreateRenderPass func(device VkDevice, pCreateInfo *VkRenderPassCreateInfo, pAllocator *VkAllocationCallbacks, pRenderPass *VkRenderPass) VkResult VkCreateRenderPass2 func(device VkDevice, pCreateInfo *VkRenderPassCreateInfo2, pAllocator *VkAllocationCallbacks, pRenderPass *VkRenderPass) VkResult VkCreateSampler func(device VkDevice, pCreateInfo *VkSamplerCreateInfo, pAllocator *VkAllocationCallbacks, pSampler *VkSampler) VkResult VkCreateSamplerYcbcrConversion func(device VkDevice, pCreateInfo *VkSamplerYcbcrConversionCreateInfo, pAllocator *VkAllocationCallbacks, pYcbcrConversion *VkSamplerYcbcrConversion) VkResult VkCreateSemaphore func(device VkDevice, pCreateInfo *VkSemaphoreCreateInfo, pAllocator *VkAllocationCallbacks, pSemaphore *VkSemaphore) VkResult VkCreateShaderModule func(device VkDevice, pCreateInfo *VkShaderModuleCreateInfo, pAllocator *VkAllocationCallbacks, pShaderModule *VkShaderModule) VkResult VkCreateSwapchainKHR func(device VkDevice, pCreateInfo *VkSwapchainCreateInfoKHR, pAllocator *VkAllocationCallbacks, pSwapchain *VkSwapchainKHR) VkResult VkCreateWaylandSurfaceKHR func(instance VkInstance, pCreateInfo *VkWaylandSurfaceCreateInfoKHR, pAllocator *VkAllocationCallbacks, pSurface *VkSurfaceKHR) VkResult VkCreateWin32SurfaceKHR func(instance VkInstance, pCreateInfo *VkWin32SurfaceCreateInfoKHR, pAllocator *VkAllocationCallbacks, pSurface *VkSurfaceKHR) VkResult VkCreateXcbSurfaceKHR func(instance VkInstance, pCreateInfo *VkXcbSurfaceCreateInfoKHR, pAllocator *VkAllocationCallbacks, pSurface *VkSurfaceKHR) VkResult VkCreateXlibSurfaceKHR func(instance VkInstance, pCreateInfo *VkXlibSurfaceCreateInfoKHR, pAllocator *VkAllocationCallbacks, pSurface *VkSurfaceKHR) VkResult VkDestroyBuffer func(device VkDevice, buffer VkBuffer, pAllocator *VkAllocationCallbacks) VkDestroyBufferView func(device VkDevice, bufferView VkBufferView, pAllocator *VkAllocationCallbacks) VkDestroyCommandPool func(device VkDevice, commandPool VkCommandPool, pAllocator *VkAllocationCallbacks) VkDestroyDebugUtilsMessengerEXT func(instance VkInstance, messenger VkDebugUtilsMessengerEXT, pAllocator *VkAllocationCallbacks) VkDestroyDescriptorPool func(device VkDevice, descriptorPool VkDescriptorPool, pAllocator *VkAllocationCallbacks) VkDestroyDescriptorSetLayout func(device VkDevice, descriptorSetLayout VkDescriptorSetLayout, pAllocator *VkAllocationCallbacks) VkDestroyDescriptorUpdateTemplate func(device VkDevice, descriptorUpdateTemplate VkDescriptorUpdateTemplate, pAllocator *VkAllocationCallbacks) VkDestroyDevice func(device VkDevice, pAllocator *VkAllocationCallbacks) VkDestroyEvent func(device VkDevice, event VkEvent, pAllocator *VkAllocationCallbacks) VkDestroyFence func(device VkDevice, fence VkFence, pAllocator *VkAllocationCallbacks) VkDestroyFramebuffer func(device VkDevice, framebuffer VkFramebuffer, pAllocator *VkAllocationCallbacks) VkDestroyImage func(device VkDevice, image VkImage, pAllocator *VkAllocationCallbacks) VkDestroyImageView func(device VkDevice, imageView VkImageView, pAllocator *VkAllocationCallbacks) VkDestroyInstance func(instance VkInstance, pAllocator *VkAllocationCallbacks) VkDestroyPipeline func(device VkDevice, pipeline VkPipeline, pAllocator *VkAllocationCallbacks) VkDestroyPipelineCache func(device VkDevice, pipelineCache VkPipelineCache, pAllocator *VkAllocationCallbacks) VkDestroyPipelineLayout func(device VkDevice, pipelineLayout VkPipelineLayout, pAllocator *VkAllocationCallbacks) VkDestroyPrivateDataSlot func(device VkDevice, privateDataSlot VkPrivateDataSlot, pAllocator *VkAllocationCallbacks) VkDestroyQueryPool func(device VkDevice, queryPool VkQueryPool, pAllocator *VkAllocationCallbacks) VkDestroyRenderPass func(device VkDevice, renderPass VkRenderPass, pAllocator *VkAllocationCallbacks) VkDestroySampler func(device VkDevice, sampler VkSampler, pAllocator *VkAllocationCallbacks) VkDestroySamplerYcbcrConversion func(device VkDevice, ycbcrConversion VkSamplerYcbcrConversion, pAllocator *VkAllocationCallbacks) VkDestroySemaphore func(device VkDevice, semaphore VkSemaphore, pAllocator *VkAllocationCallbacks) VkDestroyShaderModule func(device VkDevice, shaderModule VkShaderModule, pAllocator *VkAllocationCallbacks) VkDestroySurfaceKHR func(instance VkInstance, surface VkSurfaceKHR, pAllocator *VkAllocationCallbacks) VkDestroySwapchainKHR func(device VkDevice, swapchain VkSwapchainKHR, pAllocator *VkAllocationCallbacks) VkDeviceWaitIdle func(device VkDevice) VkResult VkEndCommandBuffer func(commandBuffer VkCommandBuffer) VkResult VkEnumerateDeviceExtensionProperties func(physicalDevice VkPhysicalDevice, pLayerName *byte, pPropertyCount *uint32, pProperties *VkExtensionProperties) VkResult VkEnumerateDeviceLayerProperties func(physicalDevice VkPhysicalDevice, pPropertyCount *uint32, pProperties *VkLayerProperties) VkResult VkEnumerateInstanceExtensionProperties func(pLayerName *byte, pPropertyCount *uint32, pProperties *VkExtensionProperties) VkResult VkEnumerateInstanceLayerProperties func(pPropertyCount *uint32, pProperties *VkLayerProperties) VkResult VkEnumerateInstanceVersion func(pApiVersion *uint32) VkResult VkEnumeratePhysicalDeviceGroups func(instance VkInstance, pPhysicalDeviceGroupCount *uint32, pPhysicalDeviceGroupProperties *VkPhysicalDeviceGroupProperties) VkResult VkEnumeratePhysicalDevices func(instance VkInstance, pPhysicalDeviceCount *uint32, pPhysicalDevices *VkPhysicalDevice) VkResult VkFlushMappedMemoryRanges func(device VkDevice, memoryRangeCount uint32, pMemoryRanges *VkMappedMemoryRange) VkResult VkFreeCommandBuffers func(device VkDevice, commandPool VkCommandPool, commandBufferCount uint32, pCommandBuffers *VkCommandBuffer) VkFreeDescriptorSets func(device VkDevice, descriptorPool VkDescriptorPool, descriptorSetCount uint32, pDescriptorSets *VkDescriptorSet) VkResult VkFreeMemory func(device VkDevice, memory VkDeviceMemory, pAllocator *VkAllocationCallbacks) VkGetBufferDeviceAddress func(device VkDevice, pInfo *VkBufferDeviceAddressInfo) VkDeviceAddress VkGetBufferMemoryRequirements func(device VkDevice, buffer VkBuffer, pMemoryRequirements *VkMemoryRequirements) VkGetBufferMemoryRequirements2 func(device VkDevice, pInfo *VkBufferMemoryRequirementsInfo2, pMemoryRequirements *VkMemoryRequirements2) VkGetBufferOpaqueCaptureAddress func(device VkDevice, pInfo *VkBufferDeviceAddressInfo) uint64 VkGetDescriptorSetLayoutSupport func(device VkDevice, pCreateInfo *VkDescriptorSetLayoutCreateInfo, pSupport *VkDescriptorSetLayoutSupport) VkGetDeviceBufferMemoryRequirements func(device VkDevice, pInfo *VkDeviceBufferMemoryRequirements, pMemoryRequirements *VkMemoryRequirements2) VkGetDeviceGroupPeerMemoryFeatures func(device VkDevice, heapIndex uint32, localDeviceIndex uint32, remoteDeviceIndex uint32, pPeerMemoryFeatures *VkPeerMemoryFeatureFlags) VkGetDeviceGroupPresentCapabilitiesKHR func(device VkDevice, pDeviceGroupPresentCapabilities *VkDeviceGroupPresentCapabilitiesKHR) VkResult VkGetDeviceGroupSurfacePresentModesKHR func(device VkDevice, surface VkSurfaceKHR, pModes *VkDeviceGroupPresentModeFlagsKHR) VkResult VkGetDeviceImageMemoryRequirements func(device VkDevice, pInfo *VkDeviceImageMemoryRequirements, pMemoryRequirements *VkMemoryRequirements2) VkGetDeviceImageSparseMemoryRequirements func(device VkDevice, pInfo *VkDeviceImageMemoryRequirements, pSparseMemoryRequirementCount *uint32, pSparseMemoryRequirements *VkSparseImageMemoryRequirements2) VkGetDeviceMemoryCommitment func(device VkDevice, memory VkDeviceMemory, pCommittedMemoryInBytes *VkDeviceSize) VkGetDeviceMemoryOpaqueCaptureAddress func(device VkDevice, pInfo *VkDeviceMemoryOpaqueCaptureAddressInfo) uint64 VkGetDeviceProcAddr func(device VkDevice, pName *byte) PFN_vkVoidFunction VkGetDeviceQueue func(device VkDevice, queueFamilyIndex uint32, queueIndex uint32, pQueue *VkQueue) VkGetDeviceQueue2 func(device VkDevice, pQueueInfo *VkDeviceQueueInfo2, pQueue *VkQueue) VkGetEventStatus func(device VkDevice, event VkEvent) VkResult VkGetFenceStatus func(device VkDevice, fence VkFence) VkResult VkGetImageMemoryRequirements func(device VkDevice, image VkImage, pMemoryRequirements *VkMemoryRequirements) VkGetImageMemoryRequirements2 func(device VkDevice, pInfo *VkImageMemoryRequirementsInfo2, pMemoryRequirements *VkMemoryRequirements2) VkGetImageSparseMemoryRequirements func(device VkDevice, image VkImage, pSparseMemoryRequirementCount *uint32, pSparseMemoryRequirements *VkSparseImageMemoryRequirements) VkGetImageSparseMemoryRequirements2 func(device VkDevice, pInfo *VkImageSparseMemoryRequirementsInfo2, pSparseMemoryRequirementCount *uint32, pSparseMemoryRequirements *VkSparseImageMemoryRequirements2) VkGetImageSubresourceLayout func(device VkDevice, image VkImage, pSubresource *VkImageSubresource, pLayout *VkSubresourceLayout) VkGetPhysicalDeviceExternalBufferProperties func(physicalDevice VkPhysicalDevice, pExternalBufferInfo *VkPhysicalDeviceExternalBufferInfo, pExternalBufferProperties *VkExternalBufferProperties) VkGetPhysicalDeviceExternalFenceProperties func(physicalDevice VkPhysicalDevice, pExternalFenceInfo *VkPhysicalDeviceExternalFenceInfo, pExternalFenceProperties *VkExternalFenceProperties) VkGetPhysicalDeviceExternalSemaphoreProperties func(physicalDevice VkPhysicalDevice, pExternalSemaphoreInfo *VkPhysicalDeviceExternalSemaphoreInfo, pExternalSemaphoreProperties *VkExternalSemaphoreProperties) VkGetPhysicalDeviceFeatures func(physicalDevice VkPhysicalDevice, pFeatures *VkPhysicalDeviceFeatures) VkGetPhysicalDeviceFeatures2 func(physicalDevice VkPhysicalDevice, pFeatures *VkPhysicalDeviceFeatures2) VkGetPhysicalDeviceFormatProperties func(physicalDevice VkPhysicalDevice, format VkFormat, pFormatProperties *VkFormatProperties) VkGetPhysicalDeviceFormatProperties2 func(physicalDevice VkPhysicalDevice, format VkFormat, pFormatProperties *VkFormatProperties2) VkGetPhysicalDeviceImageFormatProperties func(physicalDevice VkPhysicalDevice, format VkFormat, type_ VkImageType, tiling VkImageTiling, usage VkImageUsageFlags, flags VkImageCreateFlags, pImageFormatProperties *VkImageFormatProperties) VkResult VkGetPhysicalDeviceImageFormatProperties2 func(physicalDevice VkPhysicalDevice, pImageFormatInfo *VkPhysicalDeviceImageFormatInfo2, pImageFormatProperties *VkImageFormatProperties2) VkResult VkGetPhysicalDeviceMemoryProperties func(physicalDevice VkPhysicalDevice, pMemoryProperties *VkPhysicalDeviceMemoryProperties) VkGetPhysicalDeviceMemoryProperties2 func(physicalDevice VkPhysicalDevice, pMemoryProperties *VkPhysicalDeviceMemoryProperties2) VkGetPhysicalDevicePresentRectanglesKHR func(physicalDevice VkPhysicalDevice, surface VkSurfaceKHR, pRectCount *uint32, pRects *VkRect2D) VkResult VkGetPhysicalDeviceProperties func(physicalDevice VkPhysicalDevice, pProperties *VkPhysicalDeviceProperties) VkGetPhysicalDeviceProperties2 func(physicalDevice VkPhysicalDevice, pProperties *VkPhysicalDeviceProperties2) VkGetPhysicalDeviceQueueFamilyProperties func(physicalDevice VkPhysicalDevice, pQueueFamilyPropertyCount *uint32, pQueueFamilyProperties *VkQueueFamilyProperties) VkGetPhysicalDeviceQueueFamilyProperties2 func(physicalDevice VkPhysicalDevice, pQueueFamilyPropertyCount *uint32, pQueueFamilyProperties *VkQueueFamilyProperties2) VkGetPhysicalDeviceSparseImageFormatProperties func(physicalDevice VkPhysicalDevice, format VkFormat, type_ VkImageType, samples VkSampleCountFlagBits, usage VkImageUsageFlags, tiling VkImageTiling, pPropertyCount *uint32, pProperties *VkSparseImageFormatProperties) VkGetPhysicalDeviceSparseImageFormatProperties2 func(physicalDevice VkPhysicalDevice, pFormatInfo *VkPhysicalDeviceSparseImageFormatInfo2, pPropertyCount *uint32, pProperties *VkSparseImageFormatProperties2) VkGetPhysicalDeviceSurfaceCapabilities2KHR func(physicalDevice VkPhysicalDevice, pSurfaceInfo *VkPhysicalDeviceSurfaceInfo2KHR, pSurfaceCapabilities *VkSurfaceCapabilities2KHR) VkResult VkGetPhysicalDeviceSurfaceCapabilitiesKHR func(physicalDevice VkPhysicalDevice, surface VkSurfaceKHR, pSurfaceCapabilities *VkSurfaceCapabilitiesKHR) VkResult VkGetPhysicalDeviceSurfaceFormats2KHR func(physicalDevice VkPhysicalDevice, pSurfaceInfo *VkPhysicalDeviceSurfaceInfo2KHR, pSurfaceFormatCount *uint32, pSurfaceFormats *VkSurfaceFormat2KHR) VkResult VkGetPhysicalDeviceSurfaceFormatsKHR func(physicalDevice VkPhysicalDevice, surface VkSurfaceKHR, pSurfaceFormatCount *uint32, pSurfaceFormats *VkSurfaceFormatKHR) VkResult VkGetPhysicalDeviceSurfacePresentModesKHR func(physicalDevice VkPhysicalDevice, surface VkSurfaceKHR, pPresentModeCount *uint32, pPresentModes *VkPresentModeKHR) VkResult VkGetPhysicalDeviceSurfaceSupportKHR func(physicalDevice VkPhysicalDevice, queueFamilyIndex uint32, surface VkSurfaceKHR, pSupported *VkBool32) VkResult VkGetPhysicalDeviceToolProperties func(physicalDevice VkPhysicalDevice, pToolCount *uint32, pToolProperties *VkPhysicalDeviceToolProperties) VkResult VkGetPhysicalDeviceWaylandPresentationSupportKHR func(physicalDevice VkPhysicalDevice, queueFamilyIndex uint32, display unsafe.Pointer) VkBool32 VkGetPhysicalDeviceWin32PresentationSupportKHR func(physicalDevice VkPhysicalDevice, queueFamilyIndex uint32) VkBool32 VkGetPhysicalDeviceXcbPresentationSupportKHR func(physicalDevice VkPhysicalDevice, queueFamilyIndex uint32, connection unsafe.Pointer, visual_id uint32) VkBool32 VkGetPhysicalDeviceXlibPresentationSupportKHR func(physicalDevice VkPhysicalDevice, queueFamilyIndex uint32, dpy unsafe.Pointer, visualID uint64) VkBool32 VkGetPipelineCacheData func(device VkDevice, pipelineCache VkPipelineCache, pDataSize *uintptr, pData unsafe.Pointer) VkResult VkGetPrivateData func(device VkDevice, objectType VkObjectType, objectHandle uint64, privateDataSlot VkPrivateDataSlot, pData *uint64) VkGetQueryPoolResults func(device VkDevice, queryPool VkQueryPool, firstQuery uint32, queryCount uint32, dataSize uintptr, pData unsafe.Pointer, stride VkDeviceSize, flags VkQueryResultFlags) VkResult VkGetRenderAreaGranularity func(device VkDevice, renderPass VkRenderPass, pGranularity *VkExtent2D) VkGetSemaphoreCounterValue func(device VkDevice, semaphore VkSemaphore, pValue *uint64) VkResult VkGetSwapchainImagesKHR func(device VkDevice, swapchain VkSwapchainKHR, pSwapchainImageCount *uint32, pSwapchainImages *VkImage) VkResult VkInvalidateMappedMemoryRanges func(device VkDevice, memoryRangeCount uint32, pMemoryRanges *VkMappedMemoryRange) VkResult VkMapMemory func(device VkDevice, memory VkDeviceMemory, offset VkDeviceSize, size VkDeviceSize, flags VkMemoryMapFlags, ppData *unsafe.Pointer) VkResult VkMergePipelineCaches func(device VkDevice, dstCache VkPipelineCache, srcCacheCount uint32, pSrcCaches *VkPipelineCache) VkResult VkQueueBeginDebugUtilsLabelEXT func(queue VkQueue, pLabelInfo *VkDebugUtilsLabelEXT) VkQueueBindSparse func(queue VkQueue, bindInfoCount uint32, pBindInfo *VkBindSparseInfo, fence VkFence) VkResult VkQueueEndDebugUtilsLabelEXT func(queue VkQueue) VkQueueInsertDebugUtilsLabelEXT func(queue VkQueue, pLabelInfo *VkDebugUtilsLabelEXT) VkQueuePresentKHR func(queue VkQueue, pPresentInfo *VkPresentInfoKHR) VkResult VkQueueSubmit func(queue VkQueue, submitCount uint32, pSubmits *VkSubmitInfo, fence VkFence) VkResult VkQueueSubmit2 func(queue VkQueue, submitCount uint32, pSubmits *VkSubmitInfo2, fence VkFence) VkResult VkQueueSubmit2KHR func(queue VkQueue, submitCount uint32, pSubmits *VkSubmitInfo2, fence VkFence) VkResult VkQueueWaitIdle func(queue VkQueue) VkResult VkResetCommandBuffer func(commandBuffer VkCommandBuffer, flags VkCommandBufferResetFlags) VkResult VkResetCommandPool func(device VkDevice, commandPool VkCommandPool, flags VkCommandPoolResetFlags) VkResult VkResetDescriptorPool func(device VkDevice, descriptorPool VkDescriptorPool, flags VkDescriptorPoolResetFlags) VkResult VkResetEvent func(device VkDevice, event VkEvent) VkResult VkResetFences func(device VkDevice, fenceCount uint32, pFences *VkFence) VkResult VkResetQueryPool func(device VkDevice, queryPool VkQueryPool, firstQuery uint32, queryCount uint32) VkSetDebugUtilsObjectNameEXT func(device VkDevice, pNameInfo *VkDebugUtilsObjectNameInfoEXT) VkResult VkSetDebugUtilsObjectTagEXT func(device VkDevice, pTagInfo *VkDebugUtilsObjectTagInfoEXT) VkResult VkSetEvent func(device VkDevice, event VkEvent) VkResult VkSetPrivateData func(device VkDevice, objectType VkObjectType, objectHandle uint64, privateDataSlot VkPrivateDataSlot, data uint64) VkResult VkSignalSemaphore func(device VkDevice, pSignalInfo *VkSemaphoreSignalInfo) VkResult VkSubmitDebugUtilsMessageEXT func(instance VkInstance, messageSeverity VkDebugUtilsMessageSeverityFlagBitsEXT, messageTypes VkDebugUtilsMessageTypeFlagsEXT, pCallbackData *VkDebugUtilsMessengerCallbackDataEXT) VkTrimCommandPool func(device VkDevice, commandPool VkCommandPool, flags VkCommandPoolTrimFlags) VkUnmapMemory func(device VkDevice, memory VkDeviceMemory) VkUpdateDescriptorSetWithTemplate func(device VkDevice, descriptorSet VkDescriptorSet, descriptorUpdateTemplate VkDescriptorUpdateTemplate, pData unsafe.Pointer) VkUpdateDescriptorSets func(device VkDevice, descriptorWriteCount uint32, pDescriptorWrites *VkWriteDescriptorSet, descriptorCopyCount uint32, pDescriptorCopies *VkCopyDescriptorSet) VkWaitForFences func(device VkDevice, fenceCount uint32, pFences *VkFence, waitAll VkBool32, timeout uint64) VkResult VkWaitSemaphores func(device VkDevice, pWaitInfo *VkSemaphoreWaitInfo, timeout uint64) VkResult )
var ErrNotLoaded = errors.New("vk: Load has not been called")
ErrNotLoaded is returned when a load step runs before Load.
var VkGetInstanceProcAddr func(instance VkInstance, pName string) PFN_vkVoidFunction
VkGetInstanceProcAddr is the driver's entry-point resolver, bound by Load.
Functions ¶
func CString ¶
CString returns a NUL-terminated byte slice's pointer for a Go string, for fields Vulkan reads as const char*. Keep the returned slice alive across the call that uses it.
func Check ¶
Check converts a VkResult into an error: nil for VK_SUCCESS and the other non-negative results, an *Error otherwise.
func ClearInstance ¶
func ClearInstance()
ClearInstance clears instance and device command tables after the last instance owner has been destroyed. Global creation commands remain loaded.
func CmdBeginRendering ¶
func CmdBeginRendering(cb VkCommandBuffer, info *VkRenderingInfo)
CmdBeginRendering starts a dynamic rendering pass. It is VkCmdBeginRendering without the allocating call wrapper. info, and everything it points to, must outlive the call.
func CmdBindDescriptorSets ¶
func CmdBindDescriptorSets(cb VkCommandBuffer, bindPoint VkPipelineBindPoint, layout VkPipelineLayout, firstSet, setCount uint32, pSets *VkDescriptorSet, dynamicCount uint32, pDynamic *uint32)
CmdBindDescriptorSets binds descriptor sets. It is VkCmdBindDescriptorSets without the allocating call wrapper. pSets and pDynamic must point into memory that outlives the call.
func CmdBindIndexBuffer ¶
func CmdBindIndexBuffer(cb VkCommandBuffer, buffer VkBuffer, offset VkDeviceSize, indexType VkIndexType)
CmdBindIndexBuffer binds an index buffer. It is VkCmdBindIndexBuffer without the allocating call wrapper.
func CmdBindPipeline ¶
func CmdBindPipeline(cb VkCommandBuffer, bindPoint VkPipelineBindPoint, pipeline VkPipeline)
CmdBindPipeline binds a pipeline. It is VkCmdBindPipeline without the allocating call wrapper.
func CmdBindVertexBuffers ¶
func CmdBindVertexBuffers(cb VkCommandBuffer, firstBinding, bindingCount uint32, pBuffers *VkBuffer, pOffsets *VkDeviceSize)
CmdBindVertexBuffers binds vertex buffers. It is VkCmdBindVertexBuffers without the allocating call wrapper. pBuffers and pOffsets must point into memory that outlives the call.
func CmdBlitImage ¶
func CmdBlitImage(cb VkCommandBuffer, src VkImage, srcLayout VkImageLayout, dst VkImage, dstLayout VkImageLayout, regionCount uint32, pRegions *VkImageBlit, filter VkFilter)
CmdBlitImage records a scaled copy between images. It is VkCmdBlitImage without the allocating call wrapper. pRegions must point into memory that outlives the call.
func CmdDraw ¶
func CmdDraw(cb VkCommandBuffer, vertexCount, instanceCount, firstVertex, firstInstance uint32)
CmdDraw records a non-indexed draw. It is VkCmdDraw without the allocating call wrapper.
func CmdDrawIndexed ¶
func CmdDrawIndexed(cb VkCommandBuffer, indexCount, instanceCount, firstIndex uint32, vertexOffset int32, firstInstance uint32)
CmdDrawIndexed records an indexed draw. It is VkCmdDrawIndexed without the allocating call wrapper.
func CmdEndRendering ¶
func CmdEndRendering(cb VkCommandBuffer)
CmdEndRendering ends a dynamic rendering pass. It is VkCmdEndRendering without the allocating call wrapper.
func CmdPipelineBarrier2 ¶
func CmdPipelineBarrier2(cb VkCommandBuffer, dep *VkDependencyInfo)
CmdPipelineBarrier2 records a dependency. It is VkCmdPipelineBarrier2 without the allocating call wrapper. dep, and everything it points to, must live in memory that outlives the call.
func CmdPushConstants ¶
func CmdPushConstants(cb VkCommandBuffer, layout VkPipelineLayout, stages VkShaderStageFlags, offset, size uint32, values unsafe.Pointer)
CmdPushConstants writes push constants. It is VkCmdPushConstants without the allocating call wrapper. values must point into memory that outlives the call.
func CmdResetQueryPool ¶
func CmdResetQueryPool(cb VkCommandBuffer, pool VkQueryPool, first, count uint32)
CmdResetQueryPool resets a range of queries. It is VkCmdResetQueryPool without the allocating call wrapper.
func CmdSetScissor ¶
func CmdSetScissor(cb VkCommandBuffer, first, count uint32, pScissors *VkRect2D)
CmdSetScissor sets scissor rectangles. It is VkCmdSetScissor without the allocating call wrapper. pScissors must point into memory that outlives the call.
func CmdSetViewport ¶
func CmdSetViewport(cb VkCommandBuffer, first, count uint32, pViewports *VkViewport)
CmdSetViewport sets viewports. It is VkCmdSetViewport without the allocating call wrapper. pViewports must point into memory that outlives the call.
func CmdWriteTimestamp2 ¶
func CmdWriteTimestamp2(cb VkCommandBuffer, stage VkPipelineStageFlags2, pool VkQueryPool, query uint32)
CmdWriteTimestamp2 writes a timestamp query. It is VkCmdWriteTimestamp2 without the allocating call wrapper.
func FormatVersion ¶
FormatVersion renders a packed version as major.minor.patch.
func GoString ¶
GoString reads a NUL-terminated char array such as VkPhysicalDeviceProperties.DeviceName.
func Load ¶
func Load() error
Load opens the Vulkan loader (or, on macOS, MoltenVK directly as a fallback) and binds the global commands. It is idempotent.
func LoadDevice ¶
func LoadDevice(instance VkInstance) error
LoadDevice binds device commands through the owning instance's dispatch. These entry points can be used with every device created from that instance; device-specific entry points cannot safely back the global command table.
func LoadInstance ¶
func LoadInstance(instance VkInstance) error
LoadInstance binds the instance-level commands for instance.
func MakeAPIVersion ¶
MakeAPIVersion packs a version the way VK_MAKE_API_VERSION does.
func PrepareLayers ¶
func PrepareLayers()
PrepareLayers is a no-op: the loader finds layer libraries itself here.
func VersionMajor ¶
Version components, as VK_API_VERSION_MAJOR and friends.
func VersionMinor ¶
func VersionPatch ¶
Types ¶
type PFN_vkAllocationFunction ¶
type PFN_vkAllocationFunction uintptr
type PFN_vkDebugUtilsMessengerCallbackEXT ¶
type PFN_vkDebugUtilsMessengerCallbackEXT uintptr
type PFN_vkFreeFunction ¶
type PFN_vkFreeFunction uintptr
type PFN_vkInternalAllocationNotification ¶
type PFN_vkInternalAllocationNotification uintptr
type PFN_vkInternalFreeNotification ¶
type PFN_vkInternalFreeNotification uintptr
type PFN_vkReallocationFunction ¶
type PFN_vkReallocationFunction uintptr
type PFN_vkVoidFunction ¶
type PFN_vkVoidFunction uintptr
type VkAccessFlagBits ¶
type VkAccessFlagBits = VkAccessFlags
type VkAccessFlagBits2 ¶
type VkAccessFlagBits2 = VkAccessFlags2
type VkAccessFlagBits2KHR ¶
type VkAccessFlagBits2KHR = VkAccessFlagBits2
type VkAccessFlags ¶
type VkAccessFlags uint32
const ( VK_ACCESS_INDIRECT_COMMAND_READ_BIT VkAccessFlags = 1 << 0 VK_ACCESS_INDEX_READ_BIT VkAccessFlags = 1 << 1 VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT VkAccessFlags = 1 << 2 VK_ACCESS_UNIFORM_READ_BIT VkAccessFlags = 1 << 3 VK_ACCESS_INPUT_ATTACHMENT_READ_BIT VkAccessFlags = 1 << 4 VK_ACCESS_SHADER_READ_BIT VkAccessFlags = 1 << 5 VK_ACCESS_SHADER_WRITE_BIT VkAccessFlags = 1 << 6 VK_ACCESS_COLOR_ATTACHMENT_READ_BIT VkAccessFlags = 1 << 7 VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT VkAccessFlags = 1 << 8 VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT VkAccessFlags = 1 << 9 VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT VkAccessFlags = 1 << 10 VK_ACCESS_TRANSFER_READ_BIT VkAccessFlags = 1 << 11 VK_ACCESS_TRANSFER_WRITE_BIT VkAccessFlags = 1 << 12 VK_ACCESS_HOST_READ_BIT VkAccessFlags = 1 << 13 VK_ACCESS_HOST_WRITE_BIT VkAccessFlags = 1 << 14 VK_ACCESS_MEMORY_READ_BIT VkAccessFlags = 1 << 15 VK_ACCESS_MEMORY_WRITE_BIT VkAccessFlags = 1 << 16 VK_ACCESS_NONE VkAccessFlags = 0 VK_ACCESS_NONE_KHR = VK_ACCESS_NONE )
type VkAccessFlags2 ¶
type VkAccessFlags2 uint64
type VkAccessFlags2KHR ¶
type VkAccessFlags2KHR = VkAccessFlags2
type VkAcquireNextImageInfoKHR ¶
type VkAcquireNextImageInfoKHR struct {
SType VkStructureType
PNext unsafe.Pointer
Swapchain VkSwapchainKHR
Timeout uint64
Semaphore VkSemaphore
Fence VkFence
DeviceMask uint32
// contains filtered or unexported fields
}
type VkAllocationCallbacks ¶
type VkAllocationCallbacks struct {
PUserData unsafe.Pointer
PfnAllocation PFN_vkAllocationFunction
PfnReallocation PFN_vkReallocationFunction
PfnFree PFN_vkFreeFunction
PfnInternalAllocation PFN_vkInternalAllocationNotification
PfnInternalFree PFN_vkInternalFreeNotification
// contains filtered or unexported fields
}
type VkApplicationInfo ¶
type VkAttachmentDescription ¶
type VkAttachmentDescription struct {
Flags VkAttachmentDescriptionFlags
Format VkFormat
Samples VkSampleCountFlagBits
LoadOp VkAttachmentLoadOp
StoreOp VkAttachmentStoreOp
StencilLoadOp VkAttachmentLoadOp
StencilStoreOp VkAttachmentStoreOp
InitialLayout VkImageLayout
FinalLayout VkImageLayout
// contains filtered or unexported fields
}
type VkAttachmentDescription2 ¶
type VkAttachmentDescription2 struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkAttachmentDescriptionFlags
Format VkFormat
Samples VkSampleCountFlagBits
LoadOp VkAttachmentLoadOp
StoreOp VkAttachmentStoreOp
StencilLoadOp VkAttachmentLoadOp
StencilStoreOp VkAttachmentStoreOp
InitialLayout VkImageLayout
FinalLayout VkImageLayout
// contains filtered or unexported fields
}
type VkAttachmentDescriptionFlagBits ¶
type VkAttachmentDescriptionFlagBits = VkAttachmentDescriptionFlags
type VkAttachmentDescriptionFlags ¶
type VkAttachmentDescriptionFlags uint32
const (
VK_ATTACHMENT_DESCRIPTION_MAY_ALIAS_BIT VkAttachmentDescriptionFlags = 1 << 0
)
type VkAttachmentDescriptionStencilLayout ¶
type VkAttachmentDescriptionStencilLayout struct {
SType VkStructureType
PNext unsafe.Pointer
StencilInitialLayout VkImageLayout
StencilFinalLayout VkImageLayout
// contains filtered or unexported fields
}
type VkAttachmentLoadOp ¶
type VkAttachmentLoadOp int32
const ( VK_ATTACHMENT_LOAD_OP_LOAD VkAttachmentLoadOp = 0 VK_ATTACHMENT_LOAD_OP_CLEAR VkAttachmentLoadOp = 1 VK_ATTACHMENT_LOAD_OP_DONT_CARE VkAttachmentLoadOp = 2 )
type VkAttachmentReference ¶
type VkAttachmentReference struct {
Attachment uint32
Layout VkImageLayout
// contains filtered or unexported fields
}
type VkAttachmentReference2 ¶
type VkAttachmentReference2 struct {
SType VkStructureType
PNext unsafe.Pointer
Attachment uint32
Layout VkImageLayout
AspectMask VkImageAspectFlags
// contains filtered or unexported fields
}
type VkAttachmentReferenceStencilLayout ¶
type VkAttachmentReferenceStencilLayout struct {
SType VkStructureType
PNext unsafe.Pointer
StencilLayout VkImageLayout
// contains filtered or unexported fields
}
type VkAttachmentStoreOp ¶
type VkAttachmentStoreOp int32
const ( VK_ATTACHMENT_STORE_OP_STORE VkAttachmentStoreOp = 0 VK_ATTACHMENT_STORE_OP_DONT_CARE VkAttachmentStoreOp = 1 VK_ATTACHMENT_STORE_OP_NONE VkAttachmentStoreOp = 1000301000 VK_ATTACHMENT_STORE_OP_NONE_KHR = VK_ATTACHMENT_STORE_OP_NONE )
type VkBaseInStructure ¶
type VkBaseInStructure struct {
SType VkStructureType
PNext *VkBaseInStructure
// contains filtered or unexported fields
}
type VkBaseOutStructure ¶
type VkBaseOutStructure struct {
SType VkStructureType
PNext *VkBaseOutStructure
// contains filtered or unexported fields
}
type VkBindBufferMemoryDeviceGroupInfo ¶
type VkBindBufferMemoryDeviceGroupInfo struct {
SType VkStructureType
PNext unsafe.Pointer
DeviceIndexCount uint32
PDeviceIndices *uint32
// contains filtered or unexported fields
}
type VkBindBufferMemoryInfo ¶
type VkBindBufferMemoryInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Buffer VkBuffer
Memory VkDeviceMemory
MemoryOffset VkDeviceSize
// contains filtered or unexported fields
}
type VkBindImageMemoryInfo ¶
type VkBindImageMemoryInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Image VkImage
Memory VkDeviceMemory
MemoryOffset VkDeviceSize
// contains filtered or unexported fields
}
type VkBindImageMemorySwapchainInfoKHR ¶
type VkBindImageMemorySwapchainInfoKHR struct {
SType VkStructureType
PNext unsafe.Pointer
Swapchain VkSwapchainKHR
ImageIndex uint32
// contains filtered or unexported fields
}
type VkBindImagePlaneMemoryInfo ¶
type VkBindImagePlaneMemoryInfo struct {
SType VkStructureType
PNext unsafe.Pointer
PlaneAspect VkImageAspectFlagBits
// contains filtered or unexported fields
}
type VkBindSparseInfo ¶
type VkBindSparseInfo struct {
SType VkStructureType
PNext unsafe.Pointer
WaitSemaphoreCount uint32
PWaitSemaphores *VkSemaphore
BufferBindCount uint32
PBufferBinds *VkSparseBufferMemoryBindInfo
ImageOpaqueBindCount uint32
PImageOpaqueBinds *VkSparseImageOpaqueMemoryBindInfo
ImageBindCount uint32
PImageBinds *VkSparseImageMemoryBindInfo
SignalSemaphoreCount uint32
PSignalSemaphores *VkSemaphore
// contains filtered or unexported fields
}
type VkBlendFactor ¶
type VkBlendFactor int32
const ( VK_BLEND_FACTOR_ZERO VkBlendFactor = 0 VK_BLEND_FACTOR_ONE VkBlendFactor = 1 VK_BLEND_FACTOR_SRC_COLOR VkBlendFactor = 2 VK_BLEND_FACTOR_ONE_MINUS_SRC_COLOR VkBlendFactor = 3 VK_BLEND_FACTOR_DST_COLOR VkBlendFactor = 4 VK_BLEND_FACTOR_ONE_MINUS_DST_COLOR VkBlendFactor = 5 VK_BLEND_FACTOR_SRC_ALPHA VkBlendFactor = 6 VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA VkBlendFactor = 7 VK_BLEND_FACTOR_DST_ALPHA VkBlendFactor = 8 VK_BLEND_FACTOR_ONE_MINUS_DST_ALPHA VkBlendFactor = 9 VK_BLEND_FACTOR_CONSTANT_COLOR VkBlendFactor = 10 VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR VkBlendFactor = 11 VK_BLEND_FACTOR_CONSTANT_ALPHA VkBlendFactor = 12 VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA VkBlendFactor = 13 VK_BLEND_FACTOR_SRC_ALPHA_SATURATE VkBlendFactor = 14 VK_BLEND_FACTOR_SRC1_COLOR VkBlendFactor = 15 VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR VkBlendFactor = 16 VK_BLEND_FACTOR_SRC1_ALPHA VkBlendFactor = 17 VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA VkBlendFactor = 18 )
type VkBlitImageInfo2 ¶
type VkBlitImageInfo2 struct {
SType VkStructureType
PNext unsafe.Pointer
SrcImage VkImage
SrcImageLayout VkImageLayout
DstImage VkImage
DstImageLayout VkImageLayout
RegionCount uint32
PRegions *VkImageBlit2
Filter VkFilter
// contains filtered or unexported fields
}
type VkBorderColor ¶
type VkBorderColor int32
const ( VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK VkBorderColor = 0 VK_BORDER_COLOR_INT_TRANSPARENT_BLACK VkBorderColor = 1 VK_BORDER_COLOR_FLOAT_OPAQUE_BLACK VkBorderColor = 2 VK_BORDER_COLOR_INT_OPAQUE_BLACK VkBorderColor = 3 VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE VkBorderColor = 4 VK_BORDER_COLOR_INT_OPAQUE_WHITE VkBorderColor = 5 )
type VkBufferCopy ¶
type VkBufferCopy struct {
SrcOffset VkDeviceSize
DstOffset VkDeviceSize
Size VkDeviceSize
// contains filtered or unexported fields
}
type VkBufferCopy2 ¶
type VkBufferCopy2 struct {
SType VkStructureType
PNext unsafe.Pointer
SrcOffset VkDeviceSize
DstOffset VkDeviceSize
Size VkDeviceSize
// contains filtered or unexported fields
}
type VkBufferCreateFlagBits ¶
type VkBufferCreateFlagBits = VkBufferCreateFlags
type VkBufferCreateFlags ¶
type VkBufferCreateFlags uint32
const ( VK_BUFFER_CREATE_SPARSE_BINDING_BIT VkBufferCreateFlags = 1 << 0 VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT VkBufferCreateFlags = 1 << 1 VK_BUFFER_CREATE_SPARSE_ALIASED_BIT VkBufferCreateFlags = 1 << 2 VK_BUFFER_CREATE_PROTECTED_BIT VkBufferCreateFlags = 1 << 3 VK_BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT VkBufferCreateFlags = 1 << 4 )
type VkBufferCreateInfo ¶
type VkBufferCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkBufferCreateFlags
Size VkDeviceSize
Usage VkBufferUsageFlags
SharingMode VkSharingMode
QueueFamilyIndexCount uint32
PQueueFamilyIndices *uint32
// contains filtered or unexported fields
}
type VkBufferDeviceAddressInfo ¶
type VkBufferDeviceAddressInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Buffer VkBuffer
// contains filtered or unexported fields
}
type VkBufferImageCopy ¶
type VkBufferImageCopy struct {
BufferOffset VkDeviceSize
BufferRowLength uint32
BufferImageHeight uint32
ImageSubresource VkImageSubresourceLayers
ImageOffset VkOffset3D
ImageExtent VkExtent3D
// contains filtered or unexported fields
}
type VkBufferImageCopy2 ¶
type VkBufferImageCopy2 struct {
SType VkStructureType
PNext unsafe.Pointer
BufferOffset VkDeviceSize
BufferRowLength uint32
BufferImageHeight uint32
ImageSubresource VkImageSubresourceLayers
ImageOffset VkOffset3D
ImageExtent VkExtent3D
// contains filtered or unexported fields
}
type VkBufferMemoryBarrier ¶
type VkBufferMemoryBarrier struct {
SType VkStructureType
PNext unsafe.Pointer
SrcAccessMask VkAccessFlags
DstAccessMask VkAccessFlags
SrcQueueFamilyIndex uint32
DstQueueFamilyIndex uint32
Buffer VkBuffer
Offset VkDeviceSize
Size VkDeviceSize
// contains filtered or unexported fields
}
type VkBufferMemoryBarrier2 ¶
type VkBufferMemoryBarrier2 struct {
SType VkStructureType
PNext unsafe.Pointer
SrcStageMask VkPipelineStageFlags2
SrcAccessMask VkAccessFlags2
DstStageMask VkPipelineStageFlags2
DstAccessMask VkAccessFlags2
SrcQueueFamilyIndex uint32
DstQueueFamilyIndex uint32
Buffer VkBuffer
Offset VkDeviceSize
Size VkDeviceSize
// contains filtered or unexported fields
}
type VkBufferMemoryBarrier2KHR ¶
type VkBufferMemoryBarrier2KHR = VkBufferMemoryBarrier2
type VkBufferMemoryRequirementsInfo2 ¶
type VkBufferMemoryRequirementsInfo2 struct {
SType VkStructureType
PNext unsafe.Pointer
Buffer VkBuffer
// contains filtered or unexported fields
}
type VkBufferOpaqueCaptureAddressCreateInfo ¶
type VkBufferOpaqueCaptureAddressCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
OpaqueCaptureAddress uint64
// contains filtered or unexported fields
}
type VkBufferUsageFlagBits ¶
type VkBufferUsageFlagBits = VkBufferUsageFlags
type VkBufferUsageFlags ¶
type VkBufferUsageFlags uint32
const ( VK_BUFFER_USAGE_TRANSFER_SRC_BIT VkBufferUsageFlags = 1 << 0 VK_BUFFER_USAGE_TRANSFER_DST_BIT VkBufferUsageFlags = 1 << 1 VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT VkBufferUsageFlags = 1 << 2 VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT VkBufferUsageFlags = 1 << 3 VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT VkBufferUsageFlags = 1 << 4 VK_BUFFER_USAGE_STORAGE_BUFFER_BIT VkBufferUsageFlags = 1 << 5 VK_BUFFER_USAGE_INDEX_BUFFER_BIT VkBufferUsageFlags = 1 << 6 VK_BUFFER_USAGE_VERTEX_BUFFER_BIT VkBufferUsageFlags = 1 << 7 VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT VkBufferUsageFlags = 1 << 8 VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT VkBufferUsageFlags = 1 << 17 )
type VkBufferView ¶
type VkBufferView uintptr
type VkBufferViewCreateFlags ¶
type VkBufferViewCreateFlags uint32
type VkBufferViewCreateInfo ¶
type VkBufferViewCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkBufferViewCreateFlags
Buffer VkBuffer
Format VkFormat
Offset VkDeviceSize
Range VkDeviceSize
// contains filtered or unexported fields
}
type VkChromaLocation ¶
type VkChromaLocation int32
const ( VK_CHROMA_LOCATION_COSITED_EVEN VkChromaLocation = 0 VK_CHROMA_LOCATION_MIDPOINT VkChromaLocation = 1 )
type VkClearAttachment ¶
type VkClearAttachment struct {
AspectMask VkImageAspectFlags
ColorAttachment uint32
ClearValue VkClearValue
// contains filtered or unexported fields
}
type VkClearColorValue ¶
type VkClearColorValue struct {
// contains filtered or unexported fields
}
func (*VkClearColorValue) Float32 ¶
func (u *VkClearColorValue) Float32() *[4]float32
Float32 views the union as its float32 member.
func (*VkClearColorValue) Int32 ¶
func (u *VkClearColorValue) Int32() *[4]int32
Int32 views the union as its int32 member.
func (*VkClearColorValue) Uint32 ¶
func (u *VkClearColorValue) Uint32() *[4]uint32
Uint32 views the union as its uint32 member.
type VkClearRect ¶
type VkClearValue ¶
type VkClearValue struct {
// contains filtered or unexported fields
}
func (*VkClearValue) Color ¶
func (u *VkClearValue) Color() *VkClearColorValue
Color views the union as its color member.
func (*VkClearValue) DepthStencil ¶
func (u *VkClearValue) DepthStencil() *VkClearDepthStencilValue
DepthStencil views the union as its depthStencil member.
type VkColorComponentFlagBits ¶
type VkColorComponentFlagBits = VkColorComponentFlags
type VkColorComponentFlags ¶
type VkColorComponentFlags uint32
const ( VK_COLOR_COMPONENT_R_BIT VkColorComponentFlags = 1 << 0 VK_COLOR_COMPONENT_G_BIT VkColorComponentFlags = 1 << 1 VK_COLOR_COMPONENT_B_BIT VkColorComponentFlags = 1 << 2 VK_COLOR_COMPONENT_A_BIT VkColorComponentFlags = 1 << 3 )
type VkColorSpaceKHR ¶
type VkColorSpaceKHR int32
const ( VK_COLOR_SPACE_SRGB_NONLINEAR_KHR VkColorSpaceKHR = 0 VK_COLORSPACE_SRGB_NONLINEAR_KHR = VK_COLOR_SPACE_SRGB_NONLINEAR_KHR )
type VkCommandBuffer ¶
type VkCommandBuffer uintptr
type VkCommandBufferAllocateInfo ¶
type VkCommandBufferAllocateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
CommandPool VkCommandPool
Level VkCommandBufferLevel
CommandBufferCount uint32
// contains filtered or unexported fields
}
type VkCommandBufferBeginInfo ¶
type VkCommandBufferBeginInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkCommandBufferUsageFlags
PInheritanceInfo *VkCommandBufferInheritanceInfo
// contains filtered or unexported fields
}
type VkCommandBufferInheritanceInfo ¶
type VkCommandBufferInheritanceInfo struct {
SType VkStructureType
PNext unsafe.Pointer
RenderPass VkRenderPass
Subpass uint32
Framebuffer VkFramebuffer
OcclusionQueryEnable VkBool32
QueryFlags VkQueryControlFlags
PipelineStatistics VkQueryPipelineStatisticFlags
// contains filtered or unexported fields
}
type VkCommandBufferInheritanceRenderingInfo ¶
type VkCommandBufferInheritanceRenderingInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkRenderingFlags
ViewMask uint32
ColorAttachmentCount uint32
PColorAttachmentFormats *VkFormat
DepthAttachmentFormat VkFormat
StencilAttachmentFormat VkFormat
RasterizationSamples VkSampleCountFlagBits
// contains filtered or unexported fields
}
type VkCommandBufferInheritanceRenderingInfoKHR ¶
type VkCommandBufferInheritanceRenderingInfoKHR = VkCommandBufferInheritanceRenderingInfo
type VkCommandBufferLevel ¶
type VkCommandBufferLevel int32
const ( VK_COMMAND_BUFFER_LEVEL_PRIMARY VkCommandBufferLevel = 0 VK_COMMAND_BUFFER_LEVEL_SECONDARY VkCommandBufferLevel = 1 )
type VkCommandBufferResetFlagBits ¶
type VkCommandBufferResetFlagBits = VkCommandBufferResetFlags
type VkCommandBufferResetFlags ¶
type VkCommandBufferResetFlags uint32
const (
VK_COMMAND_BUFFER_RESET_RELEASE_RESOURCES_BIT VkCommandBufferResetFlags = 1 << 0
)
type VkCommandBufferSubmitInfo ¶
type VkCommandBufferSubmitInfo struct {
SType VkStructureType
PNext unsafe.Pointer
CommandBuffer VkCommandBuffer
DeviceMask uint32
// contains filtered or unexported fields
}
type VkCommandBufferSubmitInfoKHR ¶
type VkCommandBufferSubmitInfoKHR = VkCommandBufferSubmitInfo
type VkCommandBufferUsageFlagBits ¶
type VkCommandBufferUsageFlagBits = VkCommandBufferUsageFlags
type VkCommandBufferUsageFlags ¶
type VkCommandBufferUsageFlags uint32
const ( VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT VkCommandBufferUsageFlags = 1 << 0 VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT VkCommandBufferUsageFlags = 1 << 1 VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT VkCommandBufferUsageFlags = 1 << 2 )
type VkCommandPool ¶
type VkCommandPool uintptr
type VkCommandPoolCreateFlagBits ¶
type VkCommandPoolCreateFlagBits = VkCommandPoolCreateFlags
type VkCommandPoolCreateFlags ¶
type VkCommandPoolCreateFlags uint32
const ( VK_COMMAND_POOL_CREATE_TRANSIENT_BIT VkCommandPoolCreateFlags = 1 << 0 VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT VkCommandPoolCreateFlags = 1 << 1 VK_COMMAND_POOL_CREATE_PROTECTED_BIT VkCommandPoolCreateFlags = 1 << 2 )
type VkCommandPoolCreateInfo ¶
type VkCommandPoolCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkCommandPoolCreateFlags
QueueFamilyIndex uint32
// contains filtered or unexported fields
}
type VkCommandPoolResetFlagBits ¶
type VkCommandPoolResetFlagBits = VkCommandPoolResetFlags
type VkCommandPoolResetFlags ¶
type VkCommandPoolResetFlags uint32
const (
VK_COMMAND_POOL_RESET_RELEASE_RESOURCES_BIT VkCommandPoolResetFlags = 1 << 0
)
type VkCommandPoolTrimFlags ¶
type VkCommandPoolTrimFlags uint32
type VkCompareOp ¶
type VkCompareOp int32
const ( VK_COMPARE_OP_NEVER VkCompareOp = 0 VK_COMPARE_OP_LESS VkCompareOp = 1 VK_COMPARE_OP_EQUAL VkCompareOp = 2 VK_COMPARE_OP_LESS_OR_EQUAL VkCompareOp = 3 VK_COMPARE_OP_GREATER VkCompareOp = 4 VK_COMPARE_OP_NOT_EQUAL VkCompareOp = 5 VK_COMPARE_OP_GREATER_OR_EQUAL VkCompareOp = 6 VK_COMPARE_OP_ALWAYS VkCompareOp = 7 )
type VkComponentMapping ¶
type VkComponentMapping struct {
R VkComponentSwizzle
G VkComponentSwizzle
B VkComponentSwizzle
A VkComponentSwizzle
// contains filtered or unexported fields
}
type VkComponentSwizzle ¶
type VkComponentSwizzle int32
const ( VK_COMPONENT_SWIZZLE_IDENTITY VkComponentSwizzle = 0 VK_COMPONENT_SWIZZLE_ZERO VkComponentSwizzle = 1 VK_COMPONENT_SWIZZLE_ONE VkComponentSwizzle = 2 VK_COMPONENT_SWIZZLE_R VkComponentSwizzle = 3 VK_COMPONENT_SWIZZLE_G VkComponentSwizzle = 4 VK_COMPONENT_SWIZZLE_B VkComponentSwizzle = 5 VK_COMPONENT_SWIZZLE_A VkComponentSwizzle = 6 )
type VkCompositeAlphaFlagBitsKHR ¶
type VkCompositeAlphaFlagBitsKHR = VkCompositeAlphaFlagsKHR
type VkCompositeAlphaFlagsKHR ¶
type VkCompositeAlphaFlagsKHR uint32
const ( VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR VkCompositeAlphaFlagsKHR = 1 << 0 VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR VkCompositeAlphaFlagsKHR = 1 << 1 VK_COMPOSITE_ALPHA_POST_MULTIPLIED_BIT_KHR VkCompositeAlphaFlagsKHR = 1 << 2 VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR VkCompositeAlphaFlagsKHR = 1 << 3 )
type VkComputePipelineCreateInfo ¶
type VkComputePipelineCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkPipelineCreateFlags
Stage VkPipelineShaderStageCreateInfo
Layout VkPipelineLayout
BasePipelineHandle VkPipeline
BasePipelineIndex int32
// contains filtered or unexported fields
}
type VkConformanceVersion ¶
type VkCopyBufferInfo2 ¶
type VkCopyBufferInfo2 struct {
SType VkStructureType
PNext unsafe.Pointer
SrcBuffer VkBuffer
DstBuffer VkBuffer
RegionCount uint32
PRegions *VkBufferCopy2
// contains filtered or unexported fields
}
type VkCopyBufferToImageInfo2 ¶
type VkCopyBufferToImageInfo2 struct {
SType VkStructureType
PNext unsafe.Pointer
SrcBuffer VkBuffer
DstImage VkImage
DstImageLayout VkImageLayout
RegionCount uint32
PRegions *VkBufferImageCopy2
// contains filtered or unexported fields
}
type VkCopyDescriptorSet ¶
type VkCopyDescriptorSet struct {
SType VkStructureType
PNext unsafe.Pointer
SrcSet VkDescriptorSet
SrcBinding uint32
SrcArrayElement uint32
DstSet VkDescriptorSet
DstBinding uint32
DstArrayElement uint32
DescriptorCount uint32
// contains filtered or unexported fields
}
type VkCopyImageInfo2 ¶
type VkCopyImageInfo2 struct {
SType VkStructureType
PNext unsafe.Pointer
SrcImage VkImage
SrcImageLayout VkImageLayout
DstImage VkImage
DstImageLayout VkImageLayout
RegionCount uint32
PRegions *VkImageCopy2
// contains filtered or unexported fields
}
type VkCopyImageToBufferInfo2 ¶
type VkCopyImageToBufferInfo2 struct {
SType VkStructureType
PNext unsafe.Pointer
SrcImage VkImage
SrcImageLayout VkImageLayout
DstBuffer VkBuffer
RegionCount uint32
PRegions *VkBufferImageCopy2
// contains filtered or unexported fields
}
type VkCullModeFlagBits ¶
type VkCullModeFlagBits = VkCullModeFlags
type VkCullModeFlags ¶
type VkCullModeFlags uint32
const ( VK_CULL_MODE_NONE VkCullModeFlags = 0 VK_CULL_MODE_FRONT_BIT VkCullModeFlags = 1 << 0 VK_CULL_MODE_BACK_BIT VkCullModeFlags = 1 << 1 VK_CULL_MODE_FRONT_AND_BACK VkCullModeFlags = 0x00000003 )
type VkDebugUtilsLabelEXT ¶
type VkDebugUtilsLabelEXT struct {
SType VkStructureType
PNext unsafe.Pointer
PLabelName *byte
Color [4]float32
// contains filtered or unexported fields
}
type VkDebugUtilsMessageSeverityFlagBitsEXT ¶
type VkDebugUtilsMessageSeverityFlagBitsEXT = VkDebugUtilsMessageSeverityFlagsEXT
type VkDebugUtilsMessageSeverityFlagsEXT ¶
type VkDebugUtilsMessageSeverityFlagsEXT uint32
const ( VK_DEBUG_UTILS_MESSAGE_SEVERITY_VERBOSE_BIT_EXT VkDebugUtilsMessageSeverityFlagsEXT = 1 << 0 VK_DEBUG_UTILS_MESSAGE_SEVERITY_INFO_BIT_EXT VkDebugUtilsMessageSeverityFlagsEXT = 1 << 4 VK_DEBUG_UTILS_MESSAGE_SEVERITY_WARNING_BIT_EXT VkDebugUtilsMessageSeverityFlagsEXT = 1 << 8 VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT VkDebugUtilsMessageSeverityFlagsEXT = 1 << 12 )
type VkDebugUtilsMessageTypeFlagBitsEXT ¶
type VkDebugUtilsMessageTypeFlagBitsEXT = VkDebugUtilsMessageTypeFlagsEXT
type VkDebugUtilsMessageTypeFlagsEXT ¶
type VkDebugUtilsMessageTypeFlagsEXT uint32
const ( VK_DEBUG_UTILS_MESSAGE_TYPE_GENERAL_BIT_EXT VkDebugUtilsMessageTypeFlagsEXT = 1 << 0 VK_DEBUG_UTILS_MESSAGE_TYPE_VALIDATION_BIT_EXT VkDebugUtilsMessageTypeFlagsEXT = 1 << 1 VK_DEBUG_UTILS_MESSAGE_TYPE_PERFORMANCE_BIT_EXT VkDebugUtilsMessageTypeFlagsEXT = 1 << 2 )
type VkDebugUtilsMessengerCallbackDataEXT ¶
type VkDebugUtilsMessengerCallbackDataEXT struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkDebugUtilsMessengerCallbackDataFlagsEXT
PMessageIdName *byte
MessageIdNumber int32
PMessage *byte
QueueLabelCount uint32
PQueueLabels *VkDebugUtilsLabelEXT
CmdBufLabelCount uint32
PCmdBufLabels *VkDebugUtilsLabelEXT
ObjectCount uint32
PObjects *VkDebugUtilsObjectNameInfoEXT
// contains filtered or unexported fields
}
type VkDebugUtilsMessengerCallbackDataFlagsEXT ¶
type VkDebugUtilsMessengerCallbackDataFlagsEXT uint32
type VkDebugUtilsMessengerCreateFlagsEXT ¶
type VkDebugUtilsMessengerCreateFlagsEXT uint32
type VkDebugUtilsMessengerCreateInfoEXT ¶
type VkDebugUtilsMessengerCreateInfoEXT struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkDebugUtilsMessengerCreateFlagsEXT
MessageSeverity VkDebugUtilsMessageSeverityFlagsEXT
MessageType VkDebugUtilsMessageTypeFlagsEXT
PfnUserCallback PFN_vkDebugUtilsMessengerCallbackEXT
PUserData unsafe.Pointer
// contains filtered or unexported fields
}
type VkDebugUtilsMessengerEXT ¶
type VkDebugUtilsMessengerEXT uintptr
type VkDebugUtilsObjectNameInfoEXT ¶
type VkDebugUtilsObjectNameInfoEXT struct {
SType VkStructureType
PNext unsafe.Pointer
ObjectType VkObjectType
ObjectHandle uint64
PObjectName *byte
// contains filtered or unexported fields
}
type VkDebugUtilsObjectTagInfoEXT ¶
type VkDebugUtilsObjectTagInfoEXT struct {
SType VkStructureType
PNext unsafe.Pointer
ObjectType VkObjectType
ObjectHandle uint64
TagName uint64
TagSize uintptr
PTag unsafe.Pointer
// contains filtered or unexported fields
}
type VkDependencyFlagBits ¶
type VkDependencyFlagBits = VkDependencyFlags
type VkDependencyFlags ¶
type VkDependencyFlags uint32
const ( VK_DEPENDENCY_BY_REGION_BIT VkDependencyFlags = 1 << 0 VK_DEPENDENCY_DEVICE_GROUP_BIT VkDependencyFlags = 1 << 2 VK_DEPENDENCY_VIEW_LOCAL_BIT VkDependencyFlags = 1 << 1 )
type VkDependencyInfo ¶
type VkDependencyInfo struct {
SType VkStructureType
PNext unsafe.Pointer
DependencyFlags VkDependencyFlags
MemoryBarrierCount uint32
PMemoryBarriers *VkMemoryBarrier2
BufferMemoryBarrierCount uint32
PBufferMemoryBarriers *VkBufferMemoryBarrier2
ImageMemoryBarrierCount uint32
PImageMemoryBarriers *VkImageMemoryBarrier2
// contains filtered or unexported fields
}
type VkDependencyInfoKHR ¶
type VkDependencyInfoKHR = VkDependencyInfo
type VkDescriptorBindingFlagBits ¶
type VkDescriptorBindingFlagBits = VkDescriptorBindingFlags
type VkDescriptorBindingFlags ¶
type VkDescriptorBindingFlags uint32
const ( VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT VkDescriptorBindingFlags = 1 << 0 VK_DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT VkDescriptorBindingFlags = 1 << 1 VK_DESCRIPTOR_BINDING_PARTIALLY_BOUND_BIT VkDescriptorBindingFlags = 1 << 2 VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT VkDescriptorBindingFlags = 1 << 3 )
type VkDescriptorBufferInfo ¶
type VkDescriptorBufferInfo struct {
Buffer VkBuffer
Offset VkDeviceSize
Range VkDeviceSize
// contains filtered or unexported fields
}
type VkDescriptorImageInfo ¶
type VkDescriptorImageInfo struct {
Sampler VkSampler
ImageView VkImageView
ImageLayout VkImageLayout
// contains filtered or unexported fields
}
type VkDescriptorPool ¶
type VkDescriptorPool uintptr
type VkDescriptorPoolCreateFlagBits ¶
type VkDescriptorPoolCreateFlagBits = VkDescriptorPoolCreateFlags
type VkDescriptorPoolCreateFlags ¶
type VkDescriptorPoolCreateFlags uint32
const ( VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT VkDescriptorPoolCreateFlags = 1 << 0 VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT VkDescriptorPoolCreateFlags = 1 << 1 )
type VkDescriptorPoolCreateInfo ¶
type VkDescriptorPoolCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkDescriptorPoolCreateFlags
MaxSets uint32
PoolSizeCount uint32
PPoolSizes *VkDescriptorPoolSize
// contains filtered or unexported fields
}
type VkDescriptorPoolInlineUniformBlockCreateInfo ¶
type VkDescriptorPoolInlineUniformBlockCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
MaxInlineUniformBlockBindings uint32
// contains filtered or unexported fields
}
type VkDescriptorPoolResetFlags ¶
type VkDescriptorPoolResetFlags uint32
type VkDescriptorPoolSize ¶
type VkDescriptorPoolSize struct {
Type VkDescriptorType
DescriptorCount uint32
// contains filtered or unexported fields
}
type VkDescriptorSet ¶
type VkDescriptorSet uintptr
type VkDescriptorSetAllocateInfo ¶
type VkDescriptorSetAllocateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
DescriptorPool VkDescriptorPool
DescriptorSetCount uint32
PSetLayouts *VkDescriptorSetLayout
// contains filtered or unexported fields
}
type VkDescriptorSetLayout ¶
type VkDescriptorSetLayout uintptr
type VkDescriptorSetLayoutBinding ¶
type VkDescriptorSetLayoutBinding struct {
Binding uint32
DescriptorType VkDescriptorType
DescriptorCount uint32
StageFlags VkShaderStageFlags
PImmutableSamplers *VkSampler
// contains filtered or unexported fields
}
type VkDescriptorSetLayoutBindingFlagsCreateInfo ¶
type VkDescriptorSetLayoutBindingFlagsCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
BindingCount uint32
PBindingFlags *VkDescriptorBindingFlags
// contains filtered or unexported fields
}
type VkDescriptorSetLayoutCreateFlagBits ¶
type VkDescriptorSetLayoutCreateFlagBits = VkDescriptorSetLayoutCreateFlags
type VkDescriptorSetLayoutCreateFlags ¶
type VkDescriptorSetLayoutCreateFlags uint32
const (
VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT VkDescriptorSetLayoutCreateFlags = 1 << 1
)
type VkDescriptorSetLayoutCreateInfo ¶
type VkDescriptorSetLayoutCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkDescriptorSetLayoutCreateFlags
BindingCount uint32
PBindings *VkDescriptorSetLayoutBinding
// contains filtered or unexported fields
}
type VkDescriptorSetLayoutSupport ¶
type VkDescriptorSetLayoutSupport struct {
SType VkStructureType
PNext unsafe.Pointer
Supported VkBool32
// contains filtered or unexported fields
}
type VkDescriptorSetVariableDescriptorCountAllocateInfo ¶
type VkDescriptorSetVariableDescriptorCountAllocateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
DescriptorSetCount uint32
PDescriptorCounts *uint32
// contains filtered or unexported fields
}
type VkDescriptorSetVariableDescriptorCountLayoutSupport ¶
type VkDescriptorSetVariableDescriptorCountLayoutSupport struct {
SType VkStructureType
PNext unsafe.Pointer
MaxVariableDescriptorCount uint32
// contains filtered or unexported fields
}
type VkDescriptorType ¶
type VkDescriptorType int32
const ( VK_DESCRIPTOR_TYPE_SAMPLER VkDescriptorType = 0 VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER VkDescriptorType = 1 VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE VkDescriptorType = 2 VK_DESCRIPTOR_TYPE_STORAGE_IMAGE VkDescriptorType = 3 VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER VkDescriptorType = 4 VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER VkDescriptorType = 5 VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER VkDescriptorType = 6 VK_DESCRIPTOR_TYPE_STORAGE_BUFFER VkDescriptorType = 7 VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC VkDescriptorType = 8 VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC VkDescriptorType = 9 VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT VkDescriptorType = 10 VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK VkDescriptorType = 1000138000 )
type VkDescriptorUpdateTemplate ¶
type VkDescriptorUpdateTemplate uintptr
type VkDescriptorUpdateTemplateCreateFlags ¶
type VkDescriptorUpdateTemplateCreateFlags uint32
type VkDescriptorUpdateTemplateCreateInfo ¶
type VkDescriptorUpdateTemplateCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkDescriptorUpdateTemplateCreateFlags
DescriptorUpdateEntryCount uint32
PDescriptorUpdateEntries *VkDescriptorUpdateTemplateEntry
TemplateType VkDescriptorUpdateTemplateType
DescriptorSetLayout VkDescriptorSetLayout
PipelineBindPoint VkPipelineBindPoint
PipelineLayout VkPipelineLayout
Set uint32
// contains filtered or unexported fields
}
type VkDescriptorUpdateTemplateType ¶
type VkDescriptorUpdateTemplateType int32
const (
VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET VkDescriptorUpdateTemplateType = 0
)
type VkDeviceAddress ¶
type VkDeviceAddress uint64
type VkDeviceBufferMemoryRequirements ¶
type VkDeviceBufferMemoryRequirements struct {
SType VkStructureType
PNext unsafe.Pointer
PCreateInfo *VkBufferCreateInfo
// contains filtered or unexported fields
}
type VkDeviceCreateFlags ¶
type VkDeviceCreateFlags uint32
type VkDeviceCreateInfo ¶
type VkDeviceCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkDeviceCreateFlags
QueueCreateInfoCount uint32
PQueueCreateInfos *VkDeviceQueueCreateInfo
EnabledLayerCount uint32
PpEnabledLayerNames **byte
EnabledExtensionCount uint32
PpEnabledExtensionNames **byte
PEnabledFeatures *VkPhysicalDeviceFeatures
// contains filtered or unexported fields
}
type VkDeviceGroupBindSparseInfo ¶
type VkDeviceGroupBindSparseInfo struct {
SType VkStructureType
PNext unsafe.Pointer
ResourceDeviceIndex uint32
MemoryDeviceIndex uint32
// contains filtered or unexported fields
}
type VkDeviceGroupCommandBufferBeginInfo ¶
type VkDeviceGroupCommandBufferBeginInfo struct {
SType VkStructureType
PNext unsafe.Pointer
DeviceMask uint32
// contains filtered or unexported fields
}
type VkDeviceGroupDeviceCreateInfo ¶
type VkDeviceGroupDeviceCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
PhysicalDeviceCount uint32
PPhysicalDevices *VkPhysicalDevice
// contains filtered or unexported fields
}
type VkDeviceGroupPresentCapabilitiesKHR ¶
type VkDeviceGroupPresentCapabilitiesKHR struct {
SType VkStructureType
PNext unsafe.Pointer
PresentMask [VK_MAX_DEVICE_GROUP_SIZE]uint32
Modes VkDeviceGroupPresentModeFlagsKHR
// contains filtered or unexported fields
}
type VkDeviceGroupPresentInfoKHR ¶
type VkDeviceGroupPresentInfoKHR struct {
SType VkStructureType
PNext unsafe.Pointer
SwapchainCount uint32
PDeviceMasks *uint32
Mode VkDeviceGroupPresentModeFlagBitsKHR
// contains filtered or unexported fields
}
type VkDeviceGroupPresentModeFlagBitsKHR ¶
type VkDeviceGroupPresentModeFlagBitsKHR = VkDeviceGroupPresentModeFlagsKHR
type VkDeviceGroupPresentModeFlagsKHR ¶
type VkDeviceGroupPresentModeFlagsKHR uint32
const ( VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_BIT_KHR VkDeviceGroupPresentModeFlagsKHR = 1 << 0 VK_DEVICE_GROUP_PRESENT_MODE_REMOTE_BIT_KHR VkDeviceGroupPresentModeFlagsKHR = 1 << 1 VK_DEVICE_GROUP_PRESENT_MODE_SUM_BIT_KHR VkDeviceGroupPresentModeFlagsKHR = 1 << 2 VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_MULTI_DEVICE_BIT_KHR VkDeviceGroupPresentModeFlagsKHR = 1 << 3 )
type VkDeviceGroupSubmitInfo ¶
type VkDeviceGroupSubmitInfo struct {
SType VkStructureType
PNext unsafe.Pointer
WaitSemaphoreCount uint32
PWaitSemaphoreDeviceIndices *uint32
CommandBufferCount uint32
PCommandBufferDeviceMasks *uint32
SignalSemaphoreCount uint32
PSignalSemaphoreDeviceIndices *uint32
// contains filtered or unexported fields
}
type VkDeviceGroupSwapchainCreateInfoKHR ¶
type VkDeviceGroupSwapchainCreateInfoKHR struct {
SType VkStructureType
PNext unsafe.Pointer
Modes VkDeviceGroupPresentModeFlagsKHR
// contains filtered or unexported fields
}
type VkDeviceImageMemoryRequirements ¶
type VkDeviceImageMemoryRequirements struct {
SType VkStructureType
PNext unsafe.Pointer
PCreateInfo *VkImageCreateInfo
PlaneAspect VkImageAspectFlagBits
// contains filtered or unexported fields
}
type VkDeviceMemory ¶
type VkDeviceMemory uintptr
type VkDeviceMemoryOpaqueCaptureAddressInfo ¶
type VkDeviceMemoryOpaqueCaptureAddressInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Memory VkDeviceMemory
// contains filtered or unexported fields
}
type VkDevicePrivateDataCreateInfo ¶
type VkDevicePrivateDataCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
PrivateDataSlotRequestCount uint32
// contains filtered or unexported fields
}
type VkDeviceQueueCreateFlagBits ¶
type VkDeviceQueueCreateFlagBits = VkDeviceQueueCreateFlags
type VkDeviceQueueCreateFlags ¶
type VkDeviceQueueCreateFlags uint32
const (
VK_DEVICE_QUEUE_CREATE_PROTECTED_BIT VkDeviceQueueCreateFlags = 1 << 0
)
type VkDeviceQueueCreateInfo ¶
type VkDeviceQueueCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkDeviceQueueCreateFlags
QueueFamilyIndex uint32
QueueCount uint32
PQueuePriorities *float32
// contains filtered or unexported fields
}
type VkDeviceQueueInfo2 ¶
type VkDeviceQueueInfo2 struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkDeviceQueueCreateFlags
QueueFamilyIndex uint32
QueueIndex uint32
// contains filtered or unexported fields
}
type VkDeviceSize ¶
type VkDeviceSize uint64
type VkDrawIndirectCommand ¶
type VkDriverId ¶
type VkDriverId int32
const ( VK_DRIVER_ID_AMD_PROPRIETARY VkDriverId = 1 VK_DRIVER_ID_AMD_OPEN_SOURCE VkDriverId = 2 VK_DRIVER_ID_MESA_RADV VkDriverId = 3 VK_DRIVER_ID_NVIDIA_PROPRIETARY VkDriverId = 4 VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS VkDriverId = 5 VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA VkDriverId = 6 VK_DRIVER_ID_IMAGINATION_PROPRIETARY VkDriverId = 7 VK_DRIVER_ID_QUALCOMM_PROPRIETARY VkDriverId = 8 VK_DRIVER_ID_ARM_PROPRIETARY VkDriverId = 9 VK_DRIVER_ID_GOOGLE_SWIFTSHADER VkDriverId = 10 VK_DRIVER_ID_GGP_PROPRIETARY VkDriverId = 11 VK_DRIVER_ID_BROADCOM_PROPRIETARY VkDriverId = 12 VK_DRIVER_ID_MESA_LLVMPIPE VkDriverId = 13 VK_DRIVER_ID_MOLTENVK VkDriverId = 14 VK_DRIVER_ID_COREAVI_PROPRIETARY VkDriverId = 15 VK_DRIVER_ID_JUICE_PROPRIETARY VkDriverId = 16 VK_DRIVER_ID_VERISILICON_PROPRIETARY VkDriverId = 17 VK_DRIVER_ID_MESA_TURNIP VkDriverId = 18 VK_DRIVER_ID_MESA_V3DV VkDriverId = 19 VK_DRIVER_ID_MESA_PANVK VkDriverId = 20 VK_DRIVER_ID_SAMSUNG_PROPRIETARY VkDriverId = 21 VK_DRIVER_ID_MESA_VENUS VkDriverId = 22 VK_DRIVER_ID_MESA_DOZEN VkDriverId = 23 VK_DRIVER_ID_MESA_NVK VkDriverId = 24 VK_DRIVER_ID_IMAGINATION_OPEN_SOURCE_MESA VkDriverId = 25 VK_DRIVER_ID_MESA_HONEYKRISP VkDriverId = 26 VK_DRIVER_ID_VULKAN_SC_EMULATION_ON_VULKAN VkDriverId = 27 VK_DRIVER_ID_MESA_KOSMICKRISP VkDriverId = 28 )
type VkDynamicState ¶
type VkDynamicState int32
const ( VK_DYNAMIC_STATE_VIEWPORT VkDynamicState = 0 VK_DYNAMIC_STATE_SCISSOR VkDynamicState = 1 VK_DYNAMIC_STATE_LINE_WIDTH VkDynamicState = 2 VK_DYNAMIC_STATE_DEPTH_BIAS VkDynamicState = 3 VK_DYNAMIC_STATE_BLEND_CONSTANTS VkDynamicState = 4 VK_DYNAMIC_STATE_DEPTH_BOUNDS VkDynamicState = 5 VK_DYNAMIC_STATE_STENCIL_COMPARE_MASK VkDynamicState = 6 VK_DYNAMIC_STATE_STENCIL_WRITE_MASK VkDynamicState = 7 VK_DYNAMIC_STATE_STENCIL_REFERENCE VkDynamicState = 8 VK_DYNAMIC_STATE_CULL_MODE VkDynamicState = 1000267000 VK_DYNAMIC_STATE_FRONT_FACE VkDynamicState = 1000267001 VK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGY VkDynamicState = 1000267002 VK_DYNAMIC_STATE_VIEWPORT_WITH_COUNT VkDynamicState = 1000267003 VK_DYNAMIC_STATE_SCISSOR_WITH_COUNT VkDynamicState = 1000267004 VK_DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDE VkDynamicState = 1000267005 VK_DYNAMIC_STATE_DEPTH_TEST_ENABLE VkDynamicState = 1000267006 VK_DYNAMIC_STATE_DEPTH_WRITE_ENABLE VkDynamicState = 1000267007 VK_DYNAMIC_STATE_DEPTH_COMPARE_OP VkDynamicState = 1000267008 VK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLE VkDynamicState = 1000267009 VK_DYNAMIC_STATE_STENCIL_TEST_ENABLE VkDynamicState = 1000267010 VK_DYNAMIC_STATE_STENCIL_OP VkDynamicState = 1000267011 VK_DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLE VkDynamicState = 1000377001 VK_DYNAMIC_STATE_DEPTH_BIAS_ENABLE VkDynamicState = 1000377002 VK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLE VkDynamicState = 1000377004 )
type VkEventCreateFlagBits ¶
type VkEventCreateFlagBits = VkEventCreateFlags
type VkEventCreateFlags ¶
type VkEventCreateFlags uint32
const ( VK_EVENT_CREATE_DEVICE_ONLY_BIT VkEventCreateFlags = 1 << 0 VK_EVENT_CREATE_DEVICE_ONLY_BIT_KHR = VK_EVENT_CREATE_DEVICE_ONLY_BIT )
type VkEventCreateInfo ¶
type VkEventCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkEventCreateFlags
// contains filtered or unexported fields
}
type VkExportFenceCreateInfo ¶
type VkExportFenceCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
HandleTypes VkExternalFenceHandleTypeFlags
// contains filtered or unexported fields
}
type VkExportMemoryAllocateInfo ¶
type VkExportMemoryAllocateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
HandleTypes VkExternalMemoryHandleTypeFlags
// contains filtered or unexported fields
}
type VkExportSemaphoreCreateInfo ¶
type VkExportSemaphoreCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
HandleTypes VkExternalSemaphoreHandleTypeFlags
// contains filtered or unexported fields
}
type VkExtensionProperties ¶
type VkExtensionProperties struct {
ExtensionName [VK_MAX_EXTENSION_NAME_SIZE]byte
SpecVersion uint32
// contains filtered or unexported fields
}
type VkExtent2D ¶
type VkExtent3D ¶
type VkExternalBufferProperties ¶
type VkExternalBufferProperties struct {
SType VkStructureType
PNext unsafe.Pointer
ExternalMemoryProperties VkExternalMemoryProperties
// contains filtered or unexported fields
}
type VkExternalFenceFeatureFlagBits ¶
type VkExternalFenceFeatureFlagBits = VkExternalFenceFeatureFlags
type VkExternalFenceFeatureFlags ¶
type VkExternalFenceFeatureFlags uint32
const ( VK_EXTERNAL_FENCE_FEATURE_EXPORTABLE_BIT VkExternalFenceFeatureFlags = 1 << 0 VK_EXTERNAL_FENCE_FEATURE_IMPORTABLE_BIT VkExternalFenceFeatureFlags = 1 << 1 )
type VkExternalFenceHandleTypeFlagBits ¶
type VkExternalFenceHandleTypeFlagBits = VkExternalFenceHandleTypeFlags
type VkExternalFenceHandleTypeFlags ¶
type VkExternalFenceHandleTypeFlags uint32
const ( VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_FD_BIT VkExternalFenceHandleTypeFlags = 1 << 0 VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_BIT VkExternalFenceHandleTypeFlags = 1 << 1 VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT VkExternalFenceHandleTypeFlags = 1 << 2 VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT VkExternalFenceHandleTypeFlags = 1 << 3 )
type VkExternalFenceProperties ¶
type VkExternalFenceProperties struct {
SType VkStructureType
PNext unsafe.Pointer
ExportFromImportedHandleTypes VkExternalFenceHandleTypeFlags
CompatibleHandleTypes VkExternalFenceHandleTypeFlags
ExternalFenceFeatures VkExternalFenceFeatureFlags
// contains filtered or unexported fields
}
type VkExternalImageFormatProperties ¶
type VkExternalImageFormatProperties struct {
SType VkStructureType
PNext unsafe.Pointer
ExternalMemoryProperties VkExternalMemoryProperties
// contains filtered or unexported fields
}
type VkExternalMemoryBufferCreateInfo ¶
type VkExternalMemoryBufferCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
HandleTypes VkExternalMemoryHandleTypeFlags
// contains filtered or unexported fields
}
type VkExternalMemoryFeatureFlagBits ¶
type VkExternalMemoryFeatureFlagBits = VkExternalMemoryFeatureFlags
type VkExternalMemoryFeatureFlags ¶
type VkExternalMemoryFeatureFlags uint32
const ( VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT VkExternalMemoryFeatureFlags = 1 << 0 VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT VkExternalMemoryFeatureFlags = 1 << 1 VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT VkExternalMemoryFeatureFlags = 1 << 2 )
type VkExternalMemoryHandleTypeFlagBits ¶
type VkExternalMemoryHandleTypeFlagBits = VkExternalMemoryHandleTypeFlags
type VkExternalMemoryHandleTypeFlags ¶
type VkExternalMemoryHandleTypeFlags uint32
const ( VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT VkExternalMemoryHandleTypeFlags = 1 << 0 VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT VkExternalMemoryHandleTypeFlags = 1 << 1 VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT VkExternalMemoryHandleTypeFlags = 1 << 2 VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT VkExternalMemoryHandleTypeFlags = 1 << 3 VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT VkExternalMemoryHandleTypeFlags = 1 << 4 VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT VkExternalMemoryHandleTypeFlags = 1 << 5 VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT VkExternalMemoryHandleTypeFlags = 1 << 6 )
type VkExternalMemoryImageCreateInfo ¶
type VkExternalMemoryImageCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
HandleTypes VkExternalMemoryHandleTypeFlags
// contains filtered or unexported fields
}
type VkExternalMemoryProperties ¶
type VkExternalMemoryProperties struct {
ExternalMemoryFeatures VkExternalMemoryFeatureFlags
ExportFromImportedHandleTypes VkExternalMemoryHandleTypeFlags
CompatibleHandleTypes VkExternalMemoryHandleTypeFlags
// contains filtered or unexported fields
}
type VkExternalSemaphoreFeatureFlagBits ¶
type VkExternalSemaphoreFeatureFlagBits = VkExternalSemaphoreFeatureFlags
type VkExternalSemaphoreFeatureFlags ¶
type VkExternalSemaphoreFeatureFlags uint32
const ( VK_EXTERNAL_SEMAPHORE_FEATURE_EXPORTABLE_BIT VkExternalSemaphoreFeatureFlags = 1 << 0 VK_EXTERNAL_SEMAPHORE_FEATURE_IMPORTABLE_BIT VkExternalSemaphoreFeatureFlags = 1 << 1 )
type VkExternalSemaphoreHandleTypeFlagBits ¶
type VkExternalSemaphoreHandleTypeFlagBits = VkExternalSemaphoreHandleTypeFlags
type VkExternalSemaphoreHandleTypeFlags ¶
type VkExternalSemaphoreHandleTypeFlags uint32
const ( VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT VkExternalSemaphoreHandleTypeFlags = 1 << 0 VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT VkExternalSemaphoreHandleTypeFlags = 1 << 1 VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT VkExternalSemaphoreHandleTypeFlags = 1 << 2 VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT VkExternalSemaphoreHandleTypeFlags = 1 << 3 VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_FENCE_BIT = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT VkExternalSemaphoreHandleTypeFlags = 1 << 4 )
type VkExternalSemaphoreProperties ¶
type VkExternalSemaphoreProperties struct {
SType VkStructureType
PNext unsafe.Pointer
ExportFromImportedHandleTypes VkExternalSemaphoreHandleTypeFlags
CompatibleHandleTypes VkExternalSemaphoreHandleTypeFlags
ExternalSemaphoreFeatures VkExternalSemaphoreFeatureFlags
// contains filtered or unexported fields
}
type VkFenceCreateFlagBits ¶
type VkFenceCreateFlagBits = VkFenceCreateFlags
type VkFenceCreateFlags ¶
type VkFenceCreateFlags uint32
const (
VK_FENCE_CREATE_SIGNALED_BIT VkFenceCreateFlags = 1 << 0
)
type VkFenceCreateInfo ¶
type VkFenceCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkFenceCreateFlags
// contains filtered or unexported fields
}
type VkFenceImportFlagBits ¶
type VkFenceImportFlagBits = VkFenceImportFlags
type VkFenceImportFlags ¶
type VkFenceImportFlags uint32
const (
VK_FENCE_IMPORT_TEMPORARY_BIT VkFenceImportFlags = 1 << 0
)
type VkFormat ¶
type VkFormat int32
const ( VK_FORMAT_UNDEFINED VkFormat = 0 VK_FORMAT_R4G4_UNORM_PACK8 VkFormat = 1 VK_FORMAT_R4G4B4A4_UNORM_PACK16 VkFormat = 2 VK_FORMAT_B4G4R4A4_UNORM_PACK16 VkFormat = 3 VK_FORMAT_R5G6B5_UNORM_PACK16 VkFormat = 4 VK_FORMAT_B5G6R5_UNORM_PACK16 VkFormat = 5 VK_FORMAT_R5G5B5A1_UNORM_PACK16 VkFormat = 6 VK_FORMAT_B5G5R5A1_UNORM_PACK16 VkFormat = 7 VK_FORMAT_A1R5G5B5_UNORM_PACK16 VkFormat = 8 VK_FORMAT_R8_UNORM VkFormat = 9 VK_FORMAT_R8_SNORM VkFormat = 10 VK_FORMAT_R8_USCALED VkFormat = 11 VK_FORMAT_R8_SSCALED VkFormat = 12 VK_FORMAT_R8_UINT VkFormat = 13 VK_FORMAT_R8_SINT VkFormat = 14 VK_FORMAT_R8_SRGB VkFormat = 15 VK_FORMAT_R8G8_UNORM VkFormat = 16 VK_FORMAT_R8G8_SNORM VkFormat = 17 VK_FORMAT_R8G8_USCALED VkFormat = 18 VK_FORMAT_R8G8_SSCALED VkFormat = 19 VK_FORMAT_R8G8_UINT VkFormat = 20 VK_FORMAT_R8G8_SINT VkFormat = 21 VK_FORMAT_R8G8_SRGB VkFormat = 22 VK_FORMAT_R8G8B8_UNORM VkFormat = 23 VK_FORMAT_R8G8B8_SNORM VkFormat = 24 VK_FORMAT_R8G8B8_USCALED VkFormat = 25 VK_FORMAT_R8G8B8_SSCALED VkFormat = 26 VK_FORMAT_R8G8B8_UINT VkFormat = 27 VK_FORMAT_R8G8B8_SINT VkFormat = 28 VK_FORMAT_R8G8B8_SRGB VkFormat = 29 VK_FORMAT_B8G8R8_UNORM VkFormat = 30 VK_FORMAT_B8G8R8_SNORM VkFormat = 31 VK_FORMAT_B8G8R8_USCALED VkFormat = 32 VK_FORMAT_B8G8R8_SSCALED VkFormat = 33 VK_FORMAT_B8G8R8_UINT VkFormat = 34 VK_FORMAT_B8G8R8_SINT VkFormat = 35 VK_FORMAT_B8G8R8_SRGB VkFormat = 36 VK_FORMAT_R8G8B8A8_UNORM VkFormat = 37 VK_FORMAT_R8G8B8A8_SNORM VkFormat = 38 VK_FORMAT_R8G8B8A8_USCALED VkFormat = 39 VK_FORMAT_R8G8B8A8_SSCALED VkFormat = 40 VK_FORMAT_R8G8B8A8_UINT VkFormat = 41 VK_FORMAT_R8G8B8A8_SINT VkFormat = 42 VK_FORMAT_R8G8B8A8_SRGB VkFormat = 43 VK_FORMAT_B8G8R8A8_UNORM VkFormat = 44 VK_FORMAT_B8G8R8A8_SNORM VkFormat = 45 VK_FORMAT_B8G8R8A8_USCALED VkFormat = 46 VK_FORMAT_B8G8R8A8_SSCALED VkFormat = 47 VK_FORMAT_B8G8R8A8_UINT VkFormat = 48 VK_FORMAT_B8G8R8A8_SINT VkFormat = 49 VK_FORMAT_B8G8R8A8_SRGB VkFormat = 50 VK_FORMAT_A8B8G8R8_UNORM_PACK32 VkFormat = 51 VK_FORMAT_A8B8G8R8_SNORM_PACK32 VkFormat = 52 VK_FORMAT_A8B8G8R8_USCALED_PACK32 VkFormat = 53 VK_FORMAT_A8B8G8R8_SSCALED_PACK32 VkFormat = 54 VK_FORMAT_A8B8G8R8_UINT_PACK32 VkFormat = 55 VK_FORMAT_A8B8G8R8_SINT_PACK32 VkFormat = 56 VK_FORMAT_A8B8G8R8_SRGB_PACK32 VkFormat = 57 VK_FORMAT_A2R10G10B10_UNORM_PACK32 VkFormat = 58 VK_FORMAT_A2R10G10B10_SNORM_PACK32 VkFormat = 59 VK_FORMAT_A2R10G10B10_USCALED_PACK32 VkFormat = 60 VK_FORMAT_A2R10G10B10_SSCALED_PACK32 VkFormat = 61 VK_FORMAT_A2R10G10B10_UINT_PACK32 VkFormat = 62 VK_FORMAT_A2R10G10B10_SINT_PACK32 VkFormat = 63 VK_FORMAT_A2B10G10R10_UNORM_PACK32 VkFormat = 64 VK_FORMAT_A2B10G10R10_SNORM_PACK32 VkFormat = 65 VK_FORMAT_A2B10G10R10_USCALED_PACK32 VkFormat = 66 VK_FORMAT_A2B10G10R10_SSCALED_PACK32 VkFormat = 67 VK_FORMAT_A2B10G10R10_UINT_PACK32 VkFormat = 68 VK_FORMAT_A2B10G10R10_SINT_PACK32 VkFormat = 69 VK_FORMAT_R16_UNORM VkFormat = 70 VK_FORMAT_R16_SNORM VkFormat = 71 VK_FORMAT_R16_USCALED VkFormat = 72 VK_FORMAT_R16_SSCALED VkFormat = 73 VK_FORMAT_R16_UINT VkFormat = 74 VK_FORMAT_R16_SINT VkFormat = 75 VK_FORMAT_R16_SFLOAT VkFormat = 76 VK_FORMAT_R16G16_UNORM VkFormat = 77 VK_FORMAT_R16G16_SNORM VkFormat = 78 VK_FORMAT_R16G16_USCALED VkFormat = 79 VK_FORMAT_R16G16_SSCALED VkFormat = 80 VK_FORMAT_R16G16_UINT VkFormat = 81 VK_FORMAT_R16G16_SINT VkFormat = 82 VK_FORMAT_R16G16_SFLOAT VkFormat = 83 VK_FORMAT_R16G16B16_UNORM VkFormat = 84 VK_FORMAT_R16G16B16_SNORM VkFormat = 85 VK_FORMAT_R16G16B16_USCALED VkFormat = 86 VK_FORMAT_R16G16B16_SSCALED VkFormat = 87 VK_FORMAT_R16G16B16_UINT VkFormat = 88 VK_FORMAT_R16G16B16_SINT VkFormat = 89 VK_FORMAT_R16G16B16_SFLOAT VkFormat = 90 VK_FORMAT_R16G16B16A16_UNORM VkFormat = 91 VK_FORMAT_R16G16B16A16_SNORM VkFormat = 92 VK_FORMAT_R16G16B16A16_USCALED VkFormat = 93 VK_FORMAT_R16G16B16A16_SSCALED VkFormat = 94 VK_FORMAT_R16G16B16A16_UINT VkFormat = 95 VK_FORMAT_R16G16B16A16_SINT VkFormat = 96 VK_FORMAT_R16G16B16A16_SFLOAT VkFormat = 97 VK_FORMAT_R32_UINT VkFormat = 98 VK_FORMAT_R32_SINT VkFormat = 99 VK_FORMAT_R32_SFLOAT VkFormat = 100 VK_FORMAT_R32G32_UINT VkFormat = 101 VK_FORMAT_R32G32_SINT VkFormat = 102 VK_FORMAT_R32G32_SFLOAT VkFormat = 103 VK_FORMAT_R32G32B32_UINT VkFormat = 104 VK_FORMAT_R32G32B32_SINT VkFormat = 105 VK_FORMAT_R32G32B32_SFLOAT VkFormat = 106 VK_FORMAT_R32G32B32A32_UINT VkFormat = 107 VK_FORMAT_R32G32B32A32_SINT VkFormat = 108 VK_FORMAT_R32G32B32A32_SFLOAT VkFormat = 109 VK_FORMAT_R64_UINT VkFormat = 110 VK_FORMAT_R64_SINT VkFormat = 111 VK_FORMAT_R64_SFLOAT VkFormat = 112 VK_FORMAT_R64G64_UINT VkFormat = 113 VK_FORMAT_R64G64_SINT VkFormat = 114 VK_FORMAT_R64G64_SFLOAT VkFormat = 115 VK_FORMAT_R64G64B64_UINT VkFormat = 116 VK_FORMAT_R64G64B64_SINT VkFormat = 117 VK_FORMAT_R64G64B64_SFLOAT VkFormat = 118 VK_FORMAT_R64G64B64A64_UINT VkFormat = 119 VK_FORMAT_R64G64B64A64_SINT VkFormat = 120 VK_FORMAT_R64G64B64A64_SFLOAT VkFormat = 121 VK_FORMAT_B10G11R11_UFLOAT_PACK32 VkFormat = 122 VK_FORMAT_E5B9G9R9_UFLOAT_PACK32 VkFormat = 123 VK_FORMAT_D16_UNORM VkFormat = 124 VK_FORMAT_X8_D24_UNORM_PACK32 VkFormat = 125 VK_FORMAT_D32_SFLOAT VkFormat = 126 VK_FORMAT_S8_UINT VkFormat = 127 VK_FORMAT_D16_UNORM_S8_UINT VkFormat = 128 VK_FORMAT_D24_UNORM_S8_UINT VkFormat = 129 VK_FORMAT_D32_SFLOAT_S8_UINT VkFormat = 130 VK_FORMAT_BC1_RGB_UNORM_BLOCK VkFormat = 131 VK_FORMAT_BC1_RGB_SRGB_BLOCK VkFormat = 132 VK_FORMAT_BC1_RGBA_UNORM_BLOCK VkFormat = 133 VK_FORMAT_BC1_RGBA_SRGB_BLOCK VkFormat = 134 VK_FORMAT_BC2_UNORM_BLOCK VkFormat = 135 VK_FORMAT_BC2_SRGB_BLOCK VkFormat = 136 VK_FORMAT_BC3_UNORM_BLOCK VkFormat = 137 VK_FORMAT_BC3_SRGB_BLOCK VkFormat = 138 VK_FORMAT_BC4_UNORM_BLOCK VkFormat = 139 VK_FORMAT_BC4_SNORM_BLOCK VkFormat = 140 VK_FORMAT_BC5_UNORM_BLOCK VkFormat = 141 VK_FORMAT_BC5_SNORM_BLOCK VkFormat = 142 VK_FORMAT_BC6H_UFLOAT_BLOCK VkFormat = 143 VK_FORMAT_BC6H_SFLOAT_BLOCK VkFormat = 144 VK_FORMAT_BC7_UNORM_BLOCK VkFormat = 145 VK_FORMAT_BC7_SRGB_BLOCK VkFormat = 146 VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK VkFormat = 147 VK_FORMAT_ETC2_R8G8B8_SRGB_BLOCK VkFormat = 148 VK_FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK VkFormat = 149 VK_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK VkFormat = 150 VK_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK VkFormat = 151 VK_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK VkFormat = 152 VK_FORMAT_EAC_R11_UNORM_BLOCK VkFormat = 153 VK_FORMAT_EAC_R11_SNORM_BLOCK VkFormat = 154 VK_FORMAT_EAC_R11G11_UNORM_BLOCK VkFormat = 155 VK_FORMAT_EAC_R11G11_SNORM_BLOCK VkFormat = 156 VK_FORMAT_ASTC_4x4_UNORM_BLOCK VkFormat = 157 VK_FORMAT_ASTC_4x4_SRGB_BLOCK VkFormat = 158 VK_FORMAT_ASTC_5x4_UNORM_BLOCK VkFormat = 159 VK_FORMAT_ASTC_5x4_SRGB_BLOCK VkFormat = 160 VK_FORMAT_ASTC_5x5_UNORM_BLOCK VkFormat = 161 VK_FORMAT_ASTC_5x5_SRGB_BLOCK VkFormat = 162 VK_FORMAT_ASTC_6x5_UNORM_BLOCK VkFormat = 163 VK_FORMAT_ASTC_6x5_SRGB_BLOCK VkFormat = 164 VK_FORMAT_ASTC_6x6_UNORM_BLOCK VkFormat = 165 VK_FORMAT_ASTC_6x6_SRGB_BLOCK VkFormat = 166 VK_FORMAT_ASTC_8x5_UNORM_BLOCK VkFormat = 167 VK_FORMAT_ASTC_8x5_SRGB_BLOCK VkFormat = 168 VK_FORMAT_ASTC_8x6_UNORM_BLOCK VkFormat = 169 VK_FORMAT_ASTC_8x6_SRGB_BLOCK VkFormat = 170 VK_FORMAT_ASTC_8x8_UNORM_BLOCK VkFormat = 171 VK_FORMAT_ASTC_8x8_SRGB_BLOCK VkFormat = 172 VK_FORMAT_ASTC_10x5_UNORM_BLOCK VkFormat = 173 VK_FORMAT_ASTC_10x5_SRGB_BLOCK VkFormat = 174 VK_FORMAT_ASTC_10x6_UNORM_BLOCK VkFormat = 175 VK_FORMAT_ASTC_10x6_SRGB_BLOCK VkFormat = 176 VK_FORMAT_ASTC_10x8_UNORM_BLOCK VkFormat = 177 VK_FORMAT_ASTC_10x8_SRGB_BLOCK VkFormat = 178 VK_FORMAT_ASTC_10x10_UNORM_BLOCK VkFormat = 179 VK_FORMAT_ASTC_10x10_SRGB_BLOCK VkFormat = 180 VK_FORMAT_ASTC_12x10_UNORM_BLOCK VkFormat = 181 VK_FORMAT_ASTC_12x10_SRGB_BLOCK VkFormat = 182 VK_FORMAT_ASTC_12x12_UNORM_BLOCK VkFormat = 183 VK_FORMAT_ASTC_12x12_SRGB_BLOCK VkFormat = 184 VK_FORMAT_G8B8G8R8_422_UNORM VkFormat = 1000156000 VK_FORMAT_B8G8R8G8_422_UNORM VkFormat = 1000156001 VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM VkFormat = 1000156002 VK_FORMAT_G8_B8R8_2PLANE_420_UNORM VkFormat = 1000156003 VK_FORMAT_G8_B8_R8_3PLANE_422_UNORM VkFormat = 1000156004 VK_FORMAT_G8_B8R8_2PLANE_422_UNORM VkFormat = 1000156005 VK_FORMAT_G8_B8_R8_3PLANE_444_UNORM VkFormat = 1000156006 VK_FORMAT_R10X6_UNORM_PACK16 VkFormat = 1000156007 VK_FORMAT_R10X6G10X6_UNORM_2PACK16 VkFormat = 1000156008 VK_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16 VkFormat = 1000156009 VK_FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16 VkFormat = 1000156010 VK_FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16 VkFormat = 1000156011 VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16 VkFormat = 1000156012 VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16 VkFormat = 1000156013 VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16 VkFormat = 1000156014 VK_FORMAT_G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16 VkFormat = 1000156015 VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16 VkFormat = 1000156016 VK_FORMAT_R12X4_UNORM_PACK16 VkFormat = 1000156017 VK_FORMAT_R12X4G12X4_UNORM_2PACK16 VkFormat = 1000156018 VK_FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16 VkFormat = 1000156019 VK_FORMAT_G12X4B12X4G12X4R12X4_422_UNORM_4PACK16 VkFormat = 1000156020 VK_FORMAT_B12X4G12X4R12X4G12X4_422_UNORM_4PACK16 VkFormat = 1000156021 VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16 VkFormat = 1000156022 VK_FORMAT_G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16 VkFormat = 1000156023 VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16 VkFormat = 1000156024 VK_FORMAT_G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16 VkFormat = 1000156025 VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16 VkFormat = 1000156026 VK_FORMAT_G16B16G16R16_422_UNORM VkFormat = 1000156027 VK_FORMAT_B16G16R16G16_422_UNORM VkFormat = 1000156028 VK_FORMAT_G16_B16_R16_3PLANE_420_UNORM VkFormat = 1000156029 VK_FORMAT_G16_B16R16_2PLANE_420_UNORM VkFormat = 1000156030 VK_FORMAT_G16_B16_R16_3PLANE_422_UNORM VkFormat = 1000156031 VK_FORMAT_G16_B16R16_2PLANE_422_UNORM VkFormat = 1000156032 VK_FORMAT_G16_B16_R16_3PLANE_444_UNORM VkFormat = 1000156033 VK_FORMAT_G8_B8R8_2PLANE_444_UNORM VkFormat = 1000330000 VK_FORMAT_G10X6_B10X6R10X6_2PLANE_444_UNORM_3PACK16 VkFormat = 1000330001 VK_FORMAT_G12X4_B12X4R12X4_2PLANE_444_UNORM_3PACK16 VkFormat = 1000330002 VK_FORMAT_G16_B16R16_2PLANE_444_UNORM VkFormat = 1000330003 VK_FORMAT_A4R4G4B4_UNORM_PACK16 VkFormat = 1000340000 VK_FORMAT_A4B4G4R4_UNORM_PACK16 VkFormat = 1000340001 VK_FORMAT_ASTC_4x4_SFLOAT_BLOCK VkFormat = 1000066000 VK_FORMAT_ASTC_5x4_SFLOAT_BLOCK VkFormat = 1000066001 VK_FORMAT_ASTC_5x5_SFLOAT_BLOCK VkFormat = 1000066002 VK_FORMAT_ASTC_6x5_SFLOAT_BLOCK VkFormat = 1000066003 VK_FORMAT_ASTC_6x6_SFLOAT_BLOCK VkFormat = 1000066004 VK_FORMAT_ASTC_8x5_SFLOAT_BLOCK VkFormat = 1000066005 VK_FORMAT_ASTC_8x6_SFLOAT_BLOCK VkFormat = 1000066006 VK_FORMAT_ASTC_8x8_SFLOAT_BLOCK VkFormat = 1000066007 VK_FORMAT_ASTC_10x5_SFLOAT_BLOCK VkFormat = 1000066008 VK_FORMAT_ASTC_10x6_SFLOAT_BLOCK VkFormat = 1000066009 VK_FORMAT_ASTC_10x8_SFLOAT_BLOCK VkFormat = 1000066010 VK_FORMAT_ASTC_10x10_SFLOAT_BLOCK VkFormat = 1000066011 VK_FORMAT_ASTC_12x10_SFLOAT_BLOCK VkFormat = 1000066012 VK_FORMAT_ASTC_12x12_SFLOAT_BLOCK VkFormat = 1000066013 )
type VkFormatFeatureFlagBits ¶
type VkFormatFeatureFlagBits = VkFormatFeatureFlags
type VkFormatFeatureFlagBits2 ¶
type VkFormatFeatureFlagBits2 = VkFormatFeatureFlags2
type VkFormatFeatureFlags ¶
type VkFormatFeatureFlags uint32
const ( VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT VkFormatFeatureFlags = 1 << 0 VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT VkFormatFeatureFlags = 1 << 1 VK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT VkFormatFeatureFlags = 1 << 2 VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT VkFormatFeatureFlags = 1 << 3 VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT VkFormatFeatureFlags = 1 << 4 VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT VkFormatFeatureFlags = 1 << 5 VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT VkFormatFeatureFlags = 1 << 6 VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT VkFormatFeatureFlags = 1 << 7 VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT VkFormatFeatureFlags = 1 << 8 VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT VkFormatFeatureFlags = 1 << 9 VK_FORMAT_FEATURE_BLIT_SRC_BIT VkFormatFeatureFlags = 1 << 10 VK_FORMAT_FEATURE_BLIT_DST_BIT VkFormatFeatureFlags = 1 << 11 VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT VkFormatFeatureFlags = 1 << 12 VK_FORMAT_FEATURE_TRANSFER_SRC_BIT VkFormatFeatureFlags = 1 << 14 VK_FORMAT_FEATURE_TRANSFER_DST_BIT VkFormatFeatureFlags = 1 << 15 VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT VkFormatFeatureFlags = 1 << 17 VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT VkFormatFeatureFlags = 1 << 18 VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT VkFormatFeatureFlags = 1 << 19 VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT VkFormatFeatureFlags = 1 << 20 VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT VkFormatFeatureFlags = 1 << 21 VK_FORMAT_FEATURE_DISJOINT_BIT VkFormatFeatureFlags = 1 << 22 VK_FORMAT_FEATURE_COSITED_CHROMA_SAMPLES_BIT VkFormatFeatureFlags = 1 << 23 VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT VkFormatFeatureFlags = 1 << 16 )
type VkFormatFeatureFlags2 ¶
type VkFormatFeatureFlags2 uint64
const ( VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_BIT VkFormatFeatureFlags2 = 1 << 0 VK_FORMAT_FEATURE_2_STORAGE_IMAGE_BIT VkFormatFeatureFlags2 = 1 << 1 VK_FORMAT_FEATURE_2_STORAGE_IMAGE_ATOMIC_BIT VkFormatFeatureFlags2 = 1 << 2 VK_FORMAT_FEATURE_2_UNIFORM_TEXEL_BUFFER_BIT VkFormatFeatureFlags2 = 1 << 3 VK_FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BIT VkFormatFeatureFlags2 = 1 << 4 VK_FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_ATOMIC_BIT VkFormatFeatureFlags2 = 1 << 5 VK_FORMAT_FEATURE_2_VERTEX_BUFFER_BIT VkFormatFeatureFlags2 = 1 << 6 VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BIT VkFormatFeatureFlags2 = 1 << 7 VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BLEND_BIT VkFormatFeatureFlags2 = 1 << 8 VK_FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BIT VkFormatFeatureFlags2 = 1 << 9 VK_FORMAT_FEATURE_2_BLIT_SRC_BIT VkFormatFeatureFlags2 = 1 << 10 VK_FORMAT_FEATURE_2_BLIT_DST_BIT VkFormatFeatureFlags2 = 1 << 11 VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BIT VkFormatFeatureFlags2 = 1 << 12 VK_FORMAT_FEATURE_2_TRANSFER_SRC_BIT VkFormatFeatureFlags2 = 1 << 14 VK_FORMAT_FEATURE_2_TRANSFER_DST_BIT VkFormatFeatureFlags2 = 1 << 15 VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BIT VkFormatFeatureFlags2 = 1 << 16 VK_FORMAT_FEATURE_2_MIDPOINT_CHROMA_SAMPLES_BIT VkFormatFeatureFlags2 = 1 << 17 VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT VkFormatFeatureFlags2 = 1 << 18 VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT VkFormatFeatureFlags2 = 1 << 19 VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT VkFormatFeatureFlags2 = 1 << 20 VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT VkFormatFeatureFlags2 = 1 << 21 VK_FORMAT_FEATURE_2_DISJOINT_BIT VkFormatFeatureFlags2 = 1 << 22 VK_FORMAT_FEATURE_2_COSITED_CHROMA_SAMPLES_BIT VkFormatFeatureFlags2 = 1 << 23 VK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT VkFormatFeatureFlags2 = 1 << 31 VK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT VkFormatFeatureFlags2 = 1 << 32 VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_DEPTH_COMPARISON_BIT VkFormatFeatureFlags2 = 1 << 33 VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_CUBIC_BIT VkFormatFeatureFlags2 = 1 << 13 )
type VkFormatProperties ¶
type VkFormatProperties struct {
LinearTilingFeatures VkFormatFeatureFlags
OptimalTilingFeatures VkFormatFeatureFlags
BufferFeatures VkFormatFeatureFlags
// contains filtered or unexported fields
}
type VkFormatProperties2 ¶
type VkFormatProperties2 struct {
SType VkStructureType
PNext unsafe.Pointer
FormatProperties VkFormatProperties
// contains filtered or unexported fields
}
type VkFormatProperties3 ¶
type VkFormatProperties3 struct {
SType VkStructureType
PNext unsafe.Pointer
LinearTilingFeatures VkFormatFeatureFlags2
OptimalTilingFeatures VkFormatFeatureFlags2
BufferFeatures VkFormatFeatureFlags2
// contains filtered or unexported fields
}
type VkFramebuffer ¶
type VkFramebuffer uintptr
type VkFramebufferAttachmentImageInfo ¶
type VkFramebufferAttachmentImageInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkImageCreateFlags
Usage VkImageUsageFlags
Width uint32
Height uint32
LayerCount uint32
ViewFormatCount uint32
PViewFormats *VkFormat
// contains filtered or unexported fields
}
type VkFramebufferAttachmentsCreateInfo ¶
type VkFramebufferAttachmentsCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
AttachmentImageInfoCount uint32
PAttachmentImageInfos *VkFramebufferAttachmentImageInfo
// contains filtered or unexported fields
}
type VkFramebufferCreateFlagBits ¶
type VkFramebufferCreateFlagBits = VkFramebufferCreateFlags
type VkFramebufferCreateFlags ¶
type VkFramebufferCreateFlags uint32
const (
VK_FRAMEBUFFER_CREATE_IMAGELESS_BIT VkFramebufferCreateFlags = 1 << 0
)
type VkFramebufferCreateInfo ¶
type VkFramebufferCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkFramebufferCreateFlags
RenderPass VkRenderPass
AttachmentCount uint32
PAttachments *VkImageView
Width uint32
Height uint32
Layers uint32
// contains filtered or unexported fields
}
type VkFrontFace ¶
type VkFrontFace int32
const ( VK_FRONT_FACE_COUNTER_CLOCKWISE VkFrontFace = 0 VK_FRONT_FACE_CLOCKWISE VkFrontFace = 1 )
type VkGraphicsPipelineCreateInfo ¶
type VkGraphicsPipelineCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkPipelineCreateFlags
StageCount uint32
PStages *VkPipelineShaderStageCreateInfo
PVertexInputState *VkPipelineVertexInputStateCreateInfo
PInputAssemblyState *VkPipelineInputAssemblyStateCreateInfo
PTessellationState *VkPipelineTessellationStateCreateInfo
PViewportState *VkPipelineViewportStateCreateInfo
PRasterizationState *VkPipelineRasterizationStateCreateInfo
PMultisampleState *VkPipelineMultisampleStateCreateInfo
PDepthStencilState *VkPipelineDepthStencilStateCreateInfo
PColorBlendState *VkPipelineColorBlendStateCreateInfo
PDynamicState *VkPipelineDynamicStateCreateInfo
Layout VkPipelineLayout
RenderPass VkRenderPass
Subpass uint32
BasePipelineHandle VkPipeline
BasePipelineIndex int32
// contains filtered or unexported fields
}
type VkHeadlessSurfaceCreateFlagsEXT ¶
type VkHeadlessSurfaceCreateFlagsEXT uint32
type VkHeadlessSurfaceCreateInfoEXT ¶
type VkHeadlessSurfaceCreateInfoEXT struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkHeadlessSurfaceCreateFlagsEXT
// contains filtered or unexported fields
}
type VkImageAspectFlagBits ¶
type VkImageAspectFlagBits = VkImageAspectFlags
type VkImageAspectFlags ¶
type VkImageAspectFlags uint32
const ( VK_IMAGE_ASPECT_COLOR_BIT VkImageAspectFlags = 1 << 0 VK_IMAGE_ASPECT_DEPTH_BIT VkImageAspectFlags = 1 << 1 VK_IMAGE_ASPECT_STENCIL_BIT VkImageAspectFlags = 1 << 2 VK_IMAGE_ASPECT_METADATA_BIT VkImageAspectFlags = 1 << 3 VK_IMAGE_ASPECT_PLANE_0_BIT VkImageAspectFlags = 1 << 4 VK_IMAGE_ASPECT_PLANE_1_BIT VkImageAspectFlags = 1 << 5 VK_IMAGE_ASPECT_PLANE_2_BIT VkImageAspectFlags = 1 << 6 VK_IMAGE_ASPECT_NONE VkImageAspectFlags = 0 )
type VkImageBlit ¶
type VkImageBlit struct {
SrcSubresource VkImageSubresourceLayers
SrcOffsets [2]VkOffset3D
DstSubresource VkImageSubresourceLayers
DstOffsets [2]VkOffset3D
// contains filtered or unexported fields
}
type VkImageBlit2 ¶
type VkImageBlit2 struct {
SType VkStructureType
PNext unsafe.Pointer
SrcSubresource VkImageSubresourceLayers
SrcOffsets [2]VkOffset3D
DstSubresource VkImageSubresourceLayers
DstOffsets [2]VkOffset3D
// contains filtered or unexported fields
}
type VkImageCopy ¶
type VkImageCopy struct {
SrcSubresource VkImageSubresourceLayers
SrcOffset VkOffset3D
DstSubresource VkImageSubresourceLayers
DstOffset VkOffset3D
Extent VkExtent3D
// contains filtered or unexported fields
}
type VkImageCopy2 ¶
type VkImageCopy2 struct {
SType VkStructureType
PNext unsafe.Pointer
SrcSubresource VkImageSubresourceLayers
SrcOffset VkOffset3D
DstSubresource VkImageSubresourceLayers
DstOffset VkOffset3D
Extent VkExtent3D
// contains filtered or unexported fields
}
type VkImageCreateFlagBits ¶
type VkImageCreateFlagBits = VkImageCreateFlags
type VkImageCreateFlags ¶
type VkImageCreateFlags uint32
const ( VK_IMAGE_CREATE_SPARSE_BINDING_BIT VkImageCreateFlags = 1 << 0 VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT VkImageCreateFlags = 1 << 1 VK_IMAGE_CREATE_SPARSE_ALIASED_BIT VkImageCreateFlags = 1 << 2 VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT VkImageCreateFlags = 1 << 3 VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT VkImageCreateFlags = 1 << 4 VK_IMAGE_CREATE_ALIAS_BIT VkImageCreateFlags = 1 << 10 VK_IMAGE_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT VkImageCreateFlags = 1 << 6 VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT VkImageCreateFlags = 1 << 5 VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT VkImageCreateFlags = 1 << 7 VK_IMAGE_CREATE_EXTENDED_USAGE_BIT VkImageCreateFlags = 1 << 8 VK_IMAGE_CREATE_PROTECTED_BIT VkImageCreateFlags = 1 << 11 VK_IMAGE_CREATE_DISJOINT_BIT VkImageCreateFlags = 1 << 9 )
type VkImageCreateInfo ¶
type VkImageCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkImageCreateFlags
ImageType VkImageType
Format VkFormat
Extent VkExtent3D
MipLevels uint32
ArrayLayers uint32
Samples VkSampleCountFlagBits
Tiling VkImageTiling
Usage VkImageUsageFlags
SharingMode VkSharingMode
QueueFamilyIndexCount uint32
PQueueFamilyIndices *uint32
InitialLayout VkImageLayout
// contains filtered or unexported fields
}
type VkImageFormatListCreateInfo ¶
type VkImageFormatListCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
ViewFormatCount uint32
PViewFormats *VkFormat
// contains filtered or unexported fields
}
type VkImageFormatProperties ¶
type VkImageFormatProperties struct {
MaxExtent VkExtent3D
MaxMipLevels uint32
MaxArrayLayers uint32
SampleCounts VkSampleCountFlags
MaxResourceSize VkDeviceSize
// contains filtered or unexported fields
}
type VkImageFormatProperties2 ¶
type VkImageFormatProperties2 struct {
SType VkStructureType
PNext unsafe.Pointer
ImageFormatProperties VkImageFormatProperties
// contains filtered or unexported fields
}
type VkImageLayout ¶
type VkImageLayout int32
const ( VK_IMAGE_LAYOUT_UNDEFINED VkImageLayout = 0 VK_IMAGE_LAYOUT_GENERAL VkImageLayout = 1 VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL VkImageLayout = 2 VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL VkImageLayout = 3 VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL VkImageLayout = 4 VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL VkImageLayout = 5 VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL VkImageLayout = 6 VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL VkImageLayout = 7 VK_IMAGE_LAYOUT_PREINITIALIZED VkImageLayout = 8 VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL VkImageLayout = 1000117000 VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL VkImageLayout = 1000117001 VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMAL VkImageLayout = 1000241000 VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL VkImageLayout = 1000241001 VK_IMAGE_LAYOUT_STENCIL_ATTACHMENT_OPTIMAL VkImageLayout = 1000241002 VK_IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL VkImageLayout = 1000241003 VK_IMAGE_LAYOUT_READ_ONLY_OPTIMAL VkImageLayout = 1000314000 VK_IMAGE_LAYOUT_ATTACHMENT_OPTIMAL VkImageLayout = 1000314001 VK_IMAGE_LAYOUT_PRESENT_SRC_KHR VkImageLayout = 1000001002 VK_IMAGE_LAYOUT_READ_ONLY_OPTIMAL_KHR = VK_IMAGE_LAYOUT_READ_ONLY_OPTIMAL VK_IMAGE_LAYOUT_ATTACHMENT_OPTIMAL_KHR = VK_IMAGE_LAYOUT_ATTACHMENT_OPTIMAL )
type VkImageMemoryBarrier ¶
type VkImageMemoryBarrier struct {
SType VkStructureType
PNext unsafe.Pointer
SrcAccessMask VkAccessFlags
DstAccessMask VkAccessFlags
OldLayout VkImageLayout
NewLayout VkImageLayout
SrcQueueFamilyIndex uint32
DstQueueFamilyIndex uint32
Image VkImage
SubresourceRange VkImageSubresourceRange
// contains filtered or unexported fields
}
type VkImageMemoryBarrier2 ¶
type VkImageMemoryBarrier2 struct {
SType VkStructureType
PNext unsafe.Pointer
SrcStageMask VkPipelineStageFlags2
SrcAccessMask VkAccessFlags2
DstStageMask VkPipelineStageFlags2
DstAccessMask VkAccessFlags2
OldLayout VkImageLayout
NewLayout VkImageLayout
SrcQueueFamilyIndex uint32
DstQueueFamilyIndex uint32
Image VkImage
SubresourceRange VkImageSubresourceRange
// contains filtered or unexported fields
}
type VkImageMemoryBarrier2KHR ¶
type VkImageMemoryBarrier2KHR = VkImageMemoryBarrier2
type VkImageMemoryRequirementsInfo2 ¶
type VkImageMemoryRequirementsInfo2 struct {
SType VkStructureType
PNext unsafe.Pointer
Image VkImage
// contains filtered or unexported fields
}
type VkImagePlaneMemoryRequirementsInfo ¶
type VkImagePlaneMemoryRequirementsInfo struct {
SType VkStructureType
PNext unsafe.Pointer
PlaneAspect VkImageAspectFlagBits
// contains filtered or unexported fields
}
type VkImageResolve ¶
type VkImageResolve struct {
SrcSubresource VkImageSubresourceLayers
SrcOffset VkOffset3D
DstSubresource VkImageSubresourceLayers
DstOffset VkOffset3D
Extent VkExtent3D
// contains filtered or unexported fields
}
type VkImageResolve2 ¶
type VkImageResolve2 struct {
SType VkStructureType
PNext unsafe.Pointer
SrcSubresource VkImageSubresourceLayers
SrcOffset VkOffset3D
DstSubresource VkImageSubresourceLayers
DstOffset VkOffset3D
Extent VkExtent3D
// contains filtered or unexported fields
}
type VkImageSparseMemoryRequirementsInfo2 ¶
type VkImageSparseMemoryRequirementsInfo2 struct {
SType VkStructureType
PNext unsafe.Pointer
Image VkImage
// contains filtered or unexported fields
}
type VkImageStencilUsageCreateInfo ¶
type VkImageStencilUsageCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
StencilUsage VkImageUsageFlags
// contains filtered or unexported fields
}
type VkImageSubresource ¶
type VkImageSubresource struct {
AspectMask VkImageAspectFlags
MipLevel uint32
ArrayLayer uint32
// contains filtered or unexported fields
}
type VkImageSubresourceLayers ¶
type VkImageSubresourceLayers struct {
AspectMask VkImageAspectFlags
MipLevel uint32
BaseArrayLayer uint32
LayerCount uint32
// contains filtered or unexported fields
}
type VkImageSubresourceRange ¶
type VkImageSubresourceRange struct {
AspectMask VkImageAspectFlags
BaseMipLevel uint32
LevelCount uint32
BaseArrayLayer uint32
LayerCount uint32
// contains filtered or unexported fields
}
type VkImageSwapchainCreateInfoKHR ¶
type VkImageSwapchainCreateInfoKHR struct {
SType VkStructureType
PNext unsafe.Pointer
Swapchain VkSwapchainKHR
// contains filtered or unexported fields
}
type VkImageTiling ¶
type VkImageTiling int32
const ( VK_IMAGE_TILING_OPTIMAL VkImageTiling = 0 VK_IMAGE_TILING_LINEAR VkImageTiling = 1 )
type VkImageType ¶
type VkImageType int32
const ( VK_IMAGE_TYPE_1D VkImageType = 0 VK_IMAGE_TYPE_2D VkImageType = 1 VK_IMAGE_TYPE_3D VkImageType = 2 )
type VkImageUsageFlagBits ¶
type VkImageUsageFlagBits = VkImageUsageFlags
type VkImageUsageFlags ¶
type VkImageUsageFlags uint32
const ( VK_IMAGE_USAGE_TRANSFER_SRC_BIT VkImageUsageFlags = 1 << 0 VK_IMAGE_USAGE_TRANSFER_DST_BIT VkImageUsageFlags = 1 << 1 VK_IMAGE_USAGE_SAMPLED_BIT VkImageUsageFlags = 1 << 2 VK_IMAGE_USAGE_STORAGE_BIT VkImageUsageFlags = 1 << 3 VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT VkImageUsageFlags = 1 << 4 VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT VkImageUsageFlags = 1 << 5 VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT VkImageUsageFlags = 1 << 6 VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT VkImageUsageFlags = 1 << 7 )
type VkImageView ¶
type VkImageView uintptr
type VkImageViewCreateFlagBits ¶
type VkImageViewCreateFlagBits = VkImageViewCreateFlags
type VkImageViewCreateFlags ¶
type VkImageViewCreateFlags uint32
type VkImageViewCreateInfo ¶
type VkImageViewCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkImageViewCreateFlags
Image VkImage
ViewType VkImageViewType
Format VkFormat
Components VkComponentMapping
SubresourceRange VkImageSubresourceRange
// contains filtered or unexported fields
}
type VkImageViewType ¶
type VkImageViewType int32
const ( VK_IMAGE_VIEW_TYPE_1D VkImageViewType = 0 VK_IMAGE_VIEW_TYPE_2D VkImageViewType = 1 VK_IMAGE_VIEW_TYPE_3D VkImageViewType = 2 VK_IMAGE_VIEW_TYPE_CUBE VkImageViewType = 3 VK_IMAGE_VIEW_TYPE_1D_ARRAY VkImageViewType = 4 VK_IMAGE_VIEW_TYPE_2D_ARRAY VkImageViewType = 5 VK_IMAGE_VIEW_TYPE_CUBE_ARRAY VkImageViewType = 6 )
type VkImageViewUsageCreateInfo ¶
type VkImageViewUsageCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Usage VkImageUsageFlags
// contains filtered or unexported fields
}
type VkIndexType ¶
type VkIndexType int32
const ( VK_INDEX_TYPE_UINT16 VkIndexType = 0 VK_INDEX_TYPE_UINT32 VkIndexType = 1 )
type VkInputAttachmentAspectReference ¶
type VkInputAttachmentAspectReference struct {
Subpass uint32
InputAttachmentIndex uint32
AspectMask VkImageAspectFlags
// contains filtered or unexported fields
}
type VkInstance ¶
type VkInstance uintptr
type VkInstanceCreateFlagBits ¶
type VkInstanceCreateFlagBits = VkInstanceCreateFlags
type VkInstanceCreateFlags ¶
type VkInstanceCreateFlags uint32
const (
VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR VkInstanceCreateFlags = 1 << 0
)
type VkInstanceCreateInfo ¶
type VkInstanceCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkInstanceCreateFlags
PApplicationInfo *VkApplicationInfo
EnabledLayerCount uint32
PpEnabledLayerNames **byte
EnabledExtensionCount uint32
PpEnabledExtensionNames **byte
// contains filtered or unexported fields
}
type VkInternalAllocationType ¶
type VkInternalAllocationType int32
const (
VK_INTERNAL_ALLOCATION_TYPE_EXECUTABLE VkInternalAllocationType = 0
)
type VkLayerProperties ¶
type VkLayerProperties struct {
LayerName [VK_MAX_EXTENSION_NAME_SIZE]byte
SpecVersion uint32
ImplementationVersion uint32
Description [VK_MAX_DESCRIPTION_SIZE]byte
// contains filtered or unexported fields
}
type VkLogicOp ¶
type VkLogicOp int32
const ( VK_LOGIC_OP_CLEAR VkLogicOp = 0 VK_LOGIC_OP_AND VkLogicOp = 1 VK_LOGIC_OP_AND_REVERSE VkLogicOp = 2 VK_LOGIC_OP_COPY VkLogicOp = 3 VK_LOGIC_OP_AND_INVERTED VkLogicOp = 4 VK_LOGIC_OP_NO_OP VkLogicOp = 5 VK_LOGIC_OP_XOR VkLogicOp = 6 VK_LOGIC_OP_OR VkLogicOp = 7 VK_LOGIC_OP_NOR VkLogicOp = 8 VK_LOGIC_OP_EQUIVALENT VkLogicOp = 9 VK_LOGIC_OP_INVERT VkLogicOp = 10 VK_LOGIC_OP_OR_REVERSE VkLogicOp = 11 VK_LOGIC_OP_COPY_INVERTED VkLogicOp = 12 VK_LOGIC_OP_OR_INVERTED VkLogicOp = 13 VK_LOGIC_OP_NAND VkLogicOp = 14 VK_LOGIC_OP_SET VkLogicOp = 15 )
type VkMappedMemoryRange ¶
type VkMappedMemoryRange struct {
SType VkStructureType
PNext unsafe.Pointer
Memory VkDeviceMemory
Offset VkDeviceSize
Size VkDeviceSize
// contains filtered or unexported fields
}
type VkMemoryAllocateFlagBits ¶
type VkMemoryAllocateFlagBits = VkMemoryAllocateFlags
type VkMemoryAllocateFlags ¶
type VkMemoryAllocateFlags uint32
const ( VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT VkMemoryAllocateFlags = 1 << 0 VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_BIT VkMemoryAllocateFlags = 1 << 1 VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT VkMemoryAllocateFlags = 1 << 2 )
type VkMemoryAllocateFlagsInfo ¶
type VkMemoryAllocateFlagsInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkMemoryAllocateFlags
DeviceMask uint32
// contains filtered or unexported fields
}
type VkMemoryAllocateInfo ¶
type VkMemoryAllocateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
AllocationSize VkDeviceSize
MemoryTypeIndex uint32
// contains filtered or unexported fields
}
type VkMemoryBarrier ¶
type VkMemoryBarrier struct {
SType VkStructureType
PNext unsafe.Pointer
SrcAccessMask VkAccessFlags
DstAccessMask VkAccessFlags
// contains filtered or unexported fields
}
type VkMemoryBarrier2 ¶
type VkMemoryBarrier2 struct {
SType VkStructureType
PNext unsafe.Pointer
SrcStageMask VkPipelineStageFlags2
SrcAccessMask VkAccessFlags2
DstStageMask VkPipelineStageFlags2
DstAccessMask VkAccessFlags2
// contains filtered or unexported fields
}
type VkMemoryBarrier2KHR ¶
type VkMemoryBarrier2KHR = VkMemoryBarrier2
type VkMemoryDedicatedAllocateInfo ¶
type VkMemoryDedicatedAllocateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Image VkImage
Buffer VkBuffer
// contains filtered or unexported fields
}
type VkMemoryDedicatedRequirements ¶
type VkMemoryDedicatedRequirements struct {
SType VkStructureType
PNext unsafe.Pointer
PrefersDedicatedAllocation VkBool32
RequiresDedicatedAllocation VkBool32
// contains filtered or unexported fields
}
type VkMemoryHeap ¶
type VkMemoryHeap struct {
Size VkDeviceSize
Flags VkMemoryHeapFlags
// contains filtered or unexported fields
}
type VkMemoryHeapFlagBits ¶
type VkMemoryHeapFlagBits = VkMemoryHeapFlags
type VkMemoryHeapFlags ¶
type VkMemoryHeapFlags uint32
const ( VK_MEMORY_HEAP_DEVICE_LOCAL_BIT VkMemoryHeapFlags = 1 << 0 VK_MEMORY_HEAP_MULTI_INSTANCE_BIT VkMemoryHeapFlags = 1 << 1 )
type VkMemoryMapFlagBits ¶
type VkMemoryMapFlagBits = VkMemoryMapFlags
type VkMemoryMapFlags ¶
type VkMemoryMapFlags uint32
type VkMemoryOpaqueCaptureAddressAllocateInfo ¶
type VkMemoryOpaqueCaptureAddressAllocateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
OpaqueCaptureAddress uint64
// contains filtered or unexported fields
}
type VkMemoryPropertyFlagBits ¶
type VkMemoryPropertyFlagBits = VkMemoryPropertyFlags
type VkMemoryPropertyFlags ¶
type VkMemoryPropertyFlags uint32
const ( VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT VkMemoryPropertyFlags = 1 << 0 VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT VkMemoryPropertyFlags = 1 << 1 VK_MEMORY_PROPERTY_HOST_COHERENT_BIT VkMemoryPropertyFlags = 1 << 2 VK_MEMORY_PROPERTY_HOST_CACHED_BIT VkMemoryPropertyFlags = 1 << 3 VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT VkMemoryPropertyFlags = 1 << 4 VK_MEMORY_PROPERTY_PROTECTED_BIT VkMemoryPropertyFlags = 1 << 5 )
type VkMemoryRequirements ¶
type VkMemoryRequirements struct {
Size VkDeviceSize
Alignment VkDeviceSize
MemoryTypeBits uint32
// contains filtered or unexported fields
}
type VkMemoryRequirements2 ¶
type VkMemoryRequirements2 struct {
SType VkStructureType
PNext unsafe.Pointer
MemoryRequirements VkMemoryRequirements
// contains filtered or unexported fields
}
type VkMemoryType ¶
type VkMemoryType struct {
PropertyFlags VkMemoryPropertyFlags
HeapIndex uint32
// contains filtered or unexported fields
}
type VkMetalSurfaceCreateFlagsEXT ¶
type VkMetalSurfaceCreateFlagsEXT uint32
type VkMetalSurfaceCreateInfoEXT ¶
type VkMetalSurfaceCreateInfoEXT struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkMetalSurfaceCreateFlagsEXT
PLayer unsafe.Pointer
// contains filtered or unexported fields
}
type VkObjectType ¶
type VkObjectType int32
const ( VK_OBJECT_TYPE_UNKNOWN VkObjectType = 0 VK_OBJECT_TYPE_INSTANCE VkObjectType = 1 VK_OBJECT_TYPE_PHYSICAL_DEVICE VkObjectType = 2 VK_OBJECT_TYPE_DEVICE VkObjectType = 3 VK_OBJECT_TYPE_QUEUE VkObjectType = 4 VK_OBJECT_TYPE_SEMAPHORE VkObjectType = 5 VK_OBJECT_TYPE_COMMAND_BUFFER VkObjectType = 6 VK_OBJECT_TYPE_FENCE VkObjectType = 7 VK_OBJECT_TYPE_DEVICE_MEMORY VkObjectType = 8 VK_OBJECT_TYPE_BUFFER VkObjectType = 9 VK_OBJECT_TYPE_IMAGE VkObjectType = 10 VK_OBJECT_TYPE_EVENT VkObjectType = 11 VK_OBJECT_TYPE_QUERY_POOL VkObjectType = 12 VK_OBJECT_TYPE_BUFFER_VIEW VkObjectType = 13 VK_OBJECT_TYPE_IMAGE_VIEW VkObjectType = 14 VK_OBJECT_TYPE_SHADER_MODULE VkObjectType = 15 VK_OBJECT_TYPE_PIPELINE_CACHE VkObjectType = 16 VK_OBJECT_TYPE_PIPELINE_LAYOUT VkObjectType = 17 VK_OBJECT_TYPE_RENDER_PASS VkObjectType = 18 VK_OBJECT_TYPE_PIPELINE VkObjectType = 19 VK_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT VkObjectType = 20 VK_OBJECT_TYPE_SAMPLER VkObjectType = 21 VK_OBJECT_TYPE_DESCRIPTOR_POOL VkObjectType = 22 VK_OBJECT_TYPE_DESCRIPTOR_SET VkObjectType = 23 VK_OBJECT_TYPE_FRAMEBUFFER VkObjectType = 24 VK_OBJECT_TYPE_COMMAND_POOL VkObjectType = 25 VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE VkObjectType = 1000085000 VK_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION VkObjectType = 1000156000 VK_OBJECT_TYPE_PRIVATE_DATA_SLOT VkObjectType = 1000295000 VK_OBJECT_TYPE_SURFACE_KHR VkObjectType = 1000000000 VK_OBJECT_TYPE_SWAPCHAIN_KHR VkObjectType = 1000001000 VK_OBJECT_TYPE_DEBUG_UTILS_MESSENGER_EXT VkObjectType = 1000128000 )
type VkOffset2D ¶
type VkOffset3D ¶
type VkPeerMemoryFeatureFlagBits ¶
type VkPeerMemoryFeatureFlagBits = VkPeerMemoryFeatureFlags
type VkPeerMemoryFeatureFlags ¶
type VkPeerMemoryFeatureFlags uint32
const ( VK_PEER_MEMORY_FEATURE_COPY_SRC_BIT VkPeerMemoryFeatureFlags = 1 << 0 VK_PEER_MEMORY_FEATURE_COPY_DST_BIT VkPeerMemoryFeatureFlags = 1 << 1 VK_PEER_MEMORY_FEATURE_GENERIC_SRC_BIT VkPeerMemoryFeatureFlags = 1 << 2 VK_PEER_MEMORY_FEATURE_GENERIC_DST_BIT VkPeerMemoryFeatureFlags = 1 << 3 )
type VkPhysicalDevice ¶
type VkPhysicalDevice uintptr
type VkPhysicalDeviceDepthStencilResolveProperties ¶
type VkPhysicalDeviceDepthStencilResolveProperties struct {
SType VkStructureType
PNext unsafe.Pointer
SupportedDepthResolveModes VkResolveModeFlags
SupportedStencilResolveModes VkResolveModeFlags
IndependentResolveNone VkBool32
IndependentResolve VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceDescriptorIndexingFeatures ¶
type VkPhysicalDeviceDescriptorIndexingFeatures struct {
SType VkStructureType
PNext unsafe.Pointer
ShaderInputAttachmentArrayDynamicIndexing VkBool32
ShaderUniformTexelBufferArrayDynamicIndexing VkBool32
ShaderStorageTexelBufferArrayDynamicIndexing VkBool32
ShaderUniformBufferArrayNonUniformIndexing VkBool32
ShaderSampledImageArrayNonUniformIndexing VkBool32
ShaderStorageBufferArrayNonUniformIndexing VkBool32
ShaderStorageImageArrayNonUniformIndexing VkBool32
ShaderInputAttachmentArrayNonUniformIndexing VkBool32
ShaderUniformTexelBufferArrayNonUniformIndexing VkBool32
ShaderStorageTexelBufferArrayNonUniformIndexing VkBool32
DescriptorBindingUniformBufferUpdateAfterBind VkBool32
DescriptorBindingSampledImageUpdateAfterBind VkBool32
DescriptorBindingStorageImageUpdateAfterBind VkBool32
DescriptorBindingStorageBufferUpdateAfterBind VkBool32
DescriptorBindingUniformTexelBufferUpdateAfterBind VkBool32
DescriptorBindingStorageTexelBufferUpdateAfterBind VkBool32
DescriptorBindingUpdateUnusedWhilePending VkBool32
DescriptorBindingPartiallyBound VkBool32
DescriptorBindingVariableDescriptorCount VkBool32
RuntimeDescriptorArray VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceDescriptorIndexingProperties ¶
type VkPhysicalDeviceDescriptorIndexingProperties struct {
SType VkStructureType
PNext unsafe.Pointer
MaxUpdateAfterBindDescriptorsInAllPools uint32
ShaderUniformBufferArrayNonUniformIndexingNative VkBool32
ShaderSampledImageArrayNonUniformIndexingNative VkBool32
ShaderStorageBufferArrayNonUniformIndexingNative VkBool32
ShaderStorageImageArrayNonUniformIndexingNative VkBool32
ShaderInputAttachmentArrayNonUniformIndexingNative VkBool32
RobustBufferAccessUpdateAfterBind VkBool32
QuadDivergentImplicitLod VkBool32
MaxPerStageDescriptorUpdateAfterBindSamplers uint32
MaxPerStageDescriptorUpdateAfterBindUniformBuffers uint32
MaxPerStageDescriptorUpdateAfterBindStorageBuffers uint32
MaxPerStageDescriptorUpdateAfterBindSampledImages uint32
MaxPerStageDescriptorUpdateAfterBindStorageImages uint32
MaxPerStageDescriptorUpdateAfterBindInputAttachments uint32
MaxPerStageUpdateAfterBindResources uint32
MaxDescriptorSetUpdateAfterBindSamplers uint32
MaxDescriptorSetUpdateAfterBindUniformBuffers uint32
MaxDescriptorSetUpdateAfterBindUniformBuffersDynamic uint32
MaxDescriptorSetUpdateAfterBindStorageBuffers uint32
MaxDescriptorSetUpdateAfterBindStorageBuffersDynamic uint32
MaxDescriptorSetUpdateAfterBindSampledImages uint32
MaxDescriptorSetUpdateAfterBindStorageImages uint32
MaxDescriptorSetUpdateAfterBindInputAttachments uint32
// contains filtered or unexported fields
}
type VkPhysicalDeviceDriverProperties ¶
type VkPhysicalDeviceDriverProperties struct {
SType VkStructureType
PNext unsafe.Pointer
DriverID VkDriverId
DriverName [VK_MAX_DRIVER_NAME_SIZE]byte
DriverInfo [VK_MAX_DRIVER_INFO_SIZE]byte
ConformanceVersion VkConformanceVersion
// contains filtered or unexported fields
}
type VkPhysicalDeviceDynamicRenderingFeatures ¶
type VkPhysicalDeviceDynamicRenderingFeatures struct {
SType VkStructureType
PNext unsafe.Pointer
DynamicRendering VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceDynamicRenderingFeaturesKHR ¶
type VkPhysicalDeviceDynamicRenderingFeaturesKHR = VkPhysicalDeviceDynamicRenderingFeatures
type VkPhysicalDeviceExternalBufferInfo ¶
type VkPhysicalDeviceExternalBufferInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkBufferCreateFlags
Usage VkBufferUsageFlags
HandleType VkExternalMemoryHandleTypeFlagBits
// contains filtered or unexported fields
}
type VkPhysicalDeviceExternalFenceInfo ¶
type VkPhysicalDeviceExternalFenceInfo struct {
SType VkStructureType
PNext unsafe.Pointer
HandleType VkExternalFenceHandleTypeFlagBits
// contains filtered or unexported fields
}
type VkPhysicalDeviceExternalImageFormatInfo ¶
type VkPhysicalDeviceExternalImageFormatInfo struct {
SType VkStructureType
PNext unsafe.Pointer
HandleType VkExternalMemoryHandleTypeFlagBits
// contains filtered or unexported fields
}
type VkPhysicalDeviceExternalSemaphoreInfo ¶
type VkPhysicalDeviceExternalSemaphoreInfo struct {
SType VkStructureType
PNext unsafe.Pointer
HandleType VkExternalSemaphoreHandleTypeFlagBits
// contains filtered or unexported fields
}
type VkPhysicalDeviceFeatures ¶
type VkPhysicalDeviceFeatures struct {
RobustBufferAccess VkBool32
FullDrawIndexUint32 VkBool32
ImageCubeArray VkBool32
IndependentBlend VkBool32
GeometryShader VkBool32
TessellationShader VkBool32
SampleRateShading VkBool32
DualSrcBlend VkBool32
LogicOp VkBool32
MultiDrawIndirect VkBool32
DrawIndirectFirstInstance VkBool32
DepthClamp VkBool32
DepthBiasClamp VkBool32
FillModeNonSolid VkBool32
DepthBounds VkBool32
WideLines VkBool32
LargePoints VkBool32
AlphaToOne VkBool32
MultiViewport VkBool32
SamplerAnisotropy VkBool32
TextureCompressionETC2 VkBool32
TextureCompressionASTC_LDR VkBool32
TextureCompressionBC VkBool32
OcclusionQueryPrecise VkBool32
PipelineStatisticsQuery VkBool32
VertexPipelineStoresAndAtomics VkBool32
FragmentStoresAndAtomics VkBool32
ShaderTessellationAndGeometryPointSize VkBool32
ShaderImageGatherExtended VkBool32
ShaderStorageImageExtendedFormats VkBool32
ShaderStorageImageMultisample VkBool32
ShaderStorageImageReadWithoutFormat VkBool32
ShaderStorageImageWriteWithoutFormat VkBool32
ShaderUniformBufferArrayDynamicIndexing VkBool32
ShaderSampledImageArrayDynamicIndexing VkBool32
ShaderStorageBufferArrayDynamicIndexing VkBool32
ShaderStorageImageArrayDynamicIndexing VkBool32
ShaderClipDistance VkBool32
ShaderCullDistance VkBool32
ShaderFloat64 VkBool32
ShaderInt64 VkBool32
ShaderInt16 VkBool32
ShaderResourceResidency VkBool32
ShaderResourceMinLod VkBool32
SparseBinding VkBool32
SparseResidencyBuffer VkBool32
SparseResidencyImage2D VkBool32
SparseResidencyImage3D VkBool32
SparseResidency2Samples VkBool32
SparseResidency4Samples VkBool32
SparseResidency8Samples VkBool32
SparseResidency16Samples VkBool32
SparseResidencyAliased VkBool32
VariableMultisampleRate VkBool32
InheritedQueries VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceFeatures2 ¶
type VkPhysicalDeviceFeatures2 struct {
SType VkStructureType
PNext unsafe.Pointer
Features VkPhysicalDeviceFeatures
// contains filtered or unexported fields
}
type VkPhysicalDeviceFloatControlsProperties ¶
type VkPhysicalDeviceFloatControlsProperties struct {
SType VkStructureType
PNext unsafe.Pointer
DenormBehaviorIndependence VkShaderFloatControlsIndependence
RoundingModeIndependence VkShaderFloatControlsIndependence
ShaderSignedZeroInfNanPreserveFloat16 VkBool32
ShaderSignedZeroInfNanPreserveFloat32 VkBool32
ShaderSignedZeroInfNanPreserveFloat64 VkBool32
ShaderDenormPreserveFloat16 VkBool32
ShaderDenormPreserveFloat32 VkBool32
ShaderDenormPreserveFloat64 VkBool32
ShaderDenormFlushToZeroFloat16 VkBool32
ShaderDenormFlushToZeroFloat32 VkBool32
ShaderDenormFlushToZeroFloat64 VkBool32
ShaderRoundingModeRTEFloat16 VkBool32
ShaderRoundingModeRTEFloat32 VkBool32
ShaderRoundingModeRTEFloat64 VkBool32
ShaderRoundingModeRTZFloat16 VkBool32
ShaderRoundingModeRTZFloat32 VkBool32
ShaderRoundingModeRTZFloat64 VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceGroupProperties ¶
type VkPhysicalDeviceGroupProperties struct {
SType VkStructureType
PNext unsafe.Pointer
PhysicalDeviceCount uint32
PhysicalDevices [VK_MAX_DEVICE_GROUP_SIZE]VkPhysicalDevice
SubsetAllocation VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceHostQueryResetFeatures ¶
type VkPhysicalDeviceHostQueryResetFeatures struct {
SType VkStructureType
PNext unsafe.Pointer
HostQueryReset VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceIDProperties ¶
type VkPhysicalDeviceIDProperties struct {
SType VkStructureType
PNext unsafe.Pointer
DeviceUUID [VK_UUID_SIZE]uint8
DriverUUID [VK_UUID_SIZE]uint8
DeviceLUID [VK_LUID_SIZE]uint8
DeviceNodeMask uint32
DeviceLUIDValid VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceImageFormatInfo2 ¶
type VkPhysicalDeviceImageFormatInfo2 struct {
SType VkStructureType
PNext unsafe.Pointer
Format VkFormat
Type VkImageType
Tiling VkImageTiling
Usage VkImageUsageFlags
Flags VkImageCreateFlags
// contains filtered or unexported fields
}
type VkPhysicalDeviceImageRobustnessFeatures ¶
type VkPhysicalDeviceImageRobustnessFeatures struct {
SType VkStructureType
PNext unsafe.Pointer
RobustImageAccess VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceImagelessFramebufferFeatures ¶
type VkPhysicalDeviceImagelessFramebufferFeatures struct {
SType VkStructureType
PNext unsafe.Pointer
ImagelessFramebuffer VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceInlineUniformBlockFeatures ¶
type VkPhysicalDeviceInlineUniformBlockFeatures struct {
SType VkStructureType
PNext unsafe.Pointer
InlineUniformBlock VkBool32
DescriptorBindingInlineUniformBlockUpdateAfterBind VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceInlineUniformBlockProperties ¶
type VkPhysicalDeviceInlineUniformBlockProperties struct {
SType VkStructureType
PNext unsafe.Pointer
MaxInlineUniformBlockSize uint32
MaxPerStageDescriptorInlineUniformBlocks uint32
MaxPerStageDescriptorUpdateAfterBindInlineUniformBlocks uint32
MaxDescriptorSetInlineUniformBlocks uint32
MaxDescriptorSetUpdateAfterBindInlineUniformBlocks uint32
// contains filtered or unexported fields
}
type VkPhysicalDeviceLimits ¶
type VkPhysicalDeviceLimits struct {
MaxImageDimension1D uint32
MaxImageDimension2D uint32
MaxImageDimension3D uint32
MaxImageDimensionCube uint32
MaxImageArrayLayers uint32
MaxTexelBufferElements uint32
MaxUniformBufferRange uint32
MaxStorageBufferRange uint32
MaxPushConstantsSize uint32
MaxMemoryAllocationCount uint32
MaxSamplerAllocationCount uint32
BufferImageGranularity VkDeviceSize
SparseAddressSpaceSize VkDeviceSize
MaxBoundDescriptorSets uint32
MaxPerStageDescriptorSamplers uint32
MaxPerStageDescriptorUniformBuffers uint32
MaxPerStageDescriptorStorageBuffers uint32
MaxPerStageDescriptorSampledImages uint32
MaxPerStageDescriptorStorageImages uint32
MaxPerStageDescriptorInputAttachments uint32
MaxPerStageResources uint32
MaxDescriptorSetSamplers uint32
MaxDescriptorSetUniformBuffers uint32
MaxDescriptorSetUniformBuffersDynamic uint32
MaxDescriptorSetStorageBuffers uint32
MaxDescriptorSetStorageBuffersDynamic uint32
MaxDescriptorSetSampledImages uint32
MaxDescriptorSetStorageImages uint32
MaxDescriptorSetInputAttachments uint32
MaxVertexInputAttributes uint32
MaxVertexInputBindings uint32
MaxVertexInputAttributeOffset uint32
MaxVertexInputBindingStride uint32
MaxVertexOutputComponents uint32
MaxTessellationGenerationLevel uint32
MaxTessellationPatchSize uint32
MaxTessellationControlPerVertexInputComponents uint32
MaxTessellationControlPerVertexOutputComponents uint32
MaxTessellationControlPerPatchOutputComponents uint32
MaxTessellationControlTotalOutputComponents uint32
MaxTessellationEvaluationInputComponents uint32
MaxTessellationEvaluationOutputComponents uint32
MaxGeometryShaderInvocations uint32
MaxGeometryInputComponents uint32
MaxGeometryOutputComponents uint32
MaxGeometryOutputVertices uint32
MaxGeometryTotalOutputComponents uint32
MaxFragmentInputComponents uint32
MaxFragmentOutputAttachments uint32
MaxFragmentDualSrcAttachments uint32
MaxFragmentCombinedOutputResources uint32
MaxComputeWorkGroupCount [3]uint32
MaxComputeWorkGroupInvocations uint32
MaxComputeWorkGroupSize [3]uint32
SubPixelPrecisionBits uint32
SubTexelPrecisionBits uint32
MipmapPrecisionBits uint32
MaxDrawIndexedIndexValue uint32
MaxDrawIndirectCount uint32
MaxSamplerLodBias float32
MaxSamplerAnisotropy float32
MaxViewports uint32
MaxViewportDimensions [2]uint32
ViewportBoundsRange [2]float32
ViewportSubPixelBits uint32
MinMemoryMapAlignment uintptr
MinTexelBufferOffsetAlignment VkDeviceSize
MinUniformBufferOffsetAlignment VkDeviceSize
MinStorageBufferOffsetAlignment VkDeviceSize
MinTexelOffset int32
MaxTexelOffset uint32
MinTexelGatherOffset int32
MaxTexelGatherOffset uint32
MinInterpolationOffset float32
MaxInterpolationOffset float32
SubPixelInterpolationOffsetBits uint32
MaxFramebufferWidth uint32
MaxFramebufferHeight uint32
MaxFramebufferLayers uint32
FramebufferColorSampleCounts VkSampleCountFlags
FramebufferDepthSampleCounts VkSampleCountFlags
FramebufferStencilSampleCounts VkSampleCountFlags
FramebufferNoAttachmentsSampleCounts VkSampleCountFlags
MaxColorAttachments uint32
SampledImageColorSampleCounts VkSampleCountFlags
SampledImageIntegerSampleCounts VkSampleCountFlags
SampledImageDepthSampleCounts VkSampleCountFlags
SampledImageStencilSampleCounts VkSampleCountFlags
StorageImageSampleCounts VkSampleCountFlags
MaxSampleMaskWords uint32
TimestampComputeAndGraphics VkBool32
TimestampPeriod float32
MaxClipDistances uint32
MaxCullDistances uint32
MaxCombinedClipAndCullDistances uint32
DiscreteQueuePriorities uint32
PointSizeRange [2]float32
LineWidthRange [2]float32
PointSizeGranularity float32
LineWidthGranularity float32
StrictLines VkBool32
StandardSampleLocations VkBool32
OptimalBufferCopyOffsetAlignment VkDeviceSize
OptimalBufferCopyRowPitchAlignment VkDeviceSize
NonCoherentAtomSize VkDeviceSize
// contains filtered or unexported fields
}
type VkPhysicalDeviceMaintenance3Properties ¶
type VkPhysicalDeviceMaintenance3Properties struct {
SType VkStructureType
PNext unsafe.Pointer
MaxPerSetDescriptors uint32
MaxMemoryAllocationSize VkDeviceSize
// contains filtered or unexported fields
}
type VkPhysicalDeviceMaintenance4Features ¶
type VkPhysicalDeviceMaintenance4Features struct {
SType VkStructureType
PNext unsafe.Pointer
Maintenance4 VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceMaintenance4Properties ¶
type VkPhysicalDeviceMaintenance4Properties struct {
SType VkStructureType
PNext unsafe.Pointer
MaxBufferSize VkDeviceSize
// contains filtered or unexported fields
}
type VkPhysicalDeviceMemoryProperties ¶
type VkPhysicalDeviceMemoryProperties struct {
MemoryTypeCount uint32
MemoryTypes [VK_MAX_MEMORY_TYPES]VkMemoryType
MemoryHeapCount uint32
MemoryHeaps [VK_MAX_MEMORY_HEAPS]VkMemoryHeap
// contains filtered or unexported fields
}
type VkPhysicalDeviceMemoryProperties2 ¶
type VkPhysicalDeviceMemoryProperties2 struct {
SType VkStructureType
PNext unsafe.Pointer
MemoryProperties VkPhysicalDeviceMemoryProperties
// contains filtered or unexported fields
}
type VkPhysicalDeviceMultiviewProperties ¶
type VkPhysicalDeviceMultiviewProperties struct {
SType VkStructureType
PNext unsafe.Pointer
MaxMultiviewViewCount uint32
MaxMultiviewInstanceIndex uint32
// contains filtered or unexported fields
}
type VkPhysicalDevicePipelineCreationCacheControlFeatures ¶
type VkPhysicalDevicePipelineCreationCacheControlFeatures struct {
SType VkStructureType
PNext unsafe.Pointer
PipelineCreationCacheControl VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDevicePointClippingProperties ¶
type VkPhysicalDevicePointClippingProperties struct {
SType VkStructureType
PNext unsafe.Pointer
PointClippingBehavior VkPointClippingBehavior
// contains filtered or unexported fields
}
type VkPhysicalDevicePortabilitySubsetFeaturesKHR ¶
type VkPhysicalDevicePortabilitySubsetFeaturesKHR struct {
SType VkStructureType
PNext unsafe.Pointer
ConstantAlphaColorBlendFactors VkBool32
Events VkBool32
ImageViewFormatReinterpretation VkBool32
ImageViewFormatSwizzle VkBool32
ImageView2DOn3DImage VkBool32
MultisampleArrayImage VkBool32
MutableComparisonSamplers VkBool32
PointPolygons VkBool32
SamplerMipLodBias VkBool32
SeparateStencilMaskRef VkBool32
ShaderSampleRateInterpolationFunctions VkBool32
TessellationIsolines VkBool32
TessellationPointMode VkBool32
TriangleFans VkBool32
VertexAttributeAccessBeyondStride VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDevicePortabilitySubsetPropertiesKHR ¶
type VkPhysicalDevicePortabilitySubsetPropertiesKHR struct {
SType VkStructureType
PNext unsafe.Pointer
MinVertexInputBindingStrideAlignment uint32
// contains filtered or unexported fields
}
type VkPhysicalDevicePrivateDataFeatures ¶
type VkPhysicalDevicePrivateDataFeatures struct {
SType VkStructureType
PNext unsafe.Pointer
PrivateData VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceProperties ¶
type VkPhysicalDeviceProperties struct {
ApiVersion uint32
DriverVersion uint32
VendorID uint32
DeviceID uint32
DeviceType VkPhysicalDeviceType
DeviceName [VK_MAX_PHYSICAL_DEVICE_NAME_SIZE]byte
PipelineCacheUUID [VK_UUID_SIZE]uint8
Limits VkPhysicalDeviceLimits
SparseProperties VkPhysicalDeviceSparseProperties
// contains filtered or unexported fields
}
type VkPhysicalDeviceProperties2 ¶
type VkPhysicalDeviceProperties2 struct {
SType VkStructureType
PNext unsafe.Pointer
Properties VkPhysicalDeviceProperties
// contains filtered or unexported fields
}
type VkPhysicalDeviceProtectedMemoryFeatures ¶
type VkPhysicalDeviceProtectedMemoryFeatures struct {
SType VkStructureType
PNext unsafe.Pointer
ProtectedMemory VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceProtectedMemoryProperties ¶
type VkPhysicalDeviceProtectedMemoryProperties struct {
SType VkStructureType
PNext unsafe.Pointer
ProtectedNoFault VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceSamplerFilterMinmaxProperties ¶
type VkPhysicalDeviceSamplerFilterMinmaxProperties struct {
SType VkStructureType
PNext unsafe.Pointer
FilterMinmaxSingleComponentFormats VkBool32
FilterMinmaxImageComponentMapping VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceSamplerYcbcrConversionFeatures ¶
type VkPhysicalDeviceSamplerYcbcrConversionFeatures struct {
SType VkStructureType
PNext unsafe.Pointer
SamplerYcbcrConversion VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceScalarBlockLayoutFeatures ¶
type VkPhysicalDeviceScalarBlockLayoutFeatures struct {
SType VkStructureType
PNext unsafe.Pointer
ScalarBlockLayout VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures ¶
type VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures struct {
SType VkStructureType
PNext unsafe.Pointer
SeparateDepthStencilLayouts VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceShaderAtomicInt64Features ¶
type VkPhysicalDeviceShaderAtomicInt64Features struct {
SType VkStructureType
PNext unsafe.Pointer
ShaderBufferInt64Atomics VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceShaderDemoteToHelperInvocationFeatures ¶
type VkPhysicalDeviceShaderDemoteToHelperInvocationFeatures struct {
SType VkStructureType
PNext unsafe.Pointer
ShaderDemoteToHelperInvocation VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceShaderDrawParameterFeatures ¶
type VkPhysicalDeviceShaderDrawParameterFeatures = VkPhysicalDeviceShaderDrawParametersFeatures
type VkPhysicalDeviceShaderDrawParametersFeatures ¶
type VkPhysicalDeviceShaderDrawParametersFeatures struct {
SType VkStructureType
PNext unsafe.Pointer
ShaderDrawParameters VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceShaderFloat16Int8Features ¶
type VkPhysicalDeviceShaderFloat16Int8Features struct {
SType VkStructureType
PNext unsafe.Pointer
ShaderFloat16 VkBool32
ShaderInt8 VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceShaderIntegerDotProductFeatures ¶
type VkPhysicalDeviceShaderIntegerDotProductFeatures struct {
SType VkStructureType
PNext unsafe.Pointer
ShaderIntegerDotProduct VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceShaderIntegerDotProductProperties ¶
type VkPhysicalDeviceShaderIntegerDotProductProperties struct {
SType VkStructureType
PNext unsafe.Pointer
IntegerDotProduct8BitUnsignedAccelerated VkBool32
IntegerDotProduct8BitSignedAccelerated VkBool32
IntegerDotProduct8BitMixedSignednessAccelerated VkBool32
IntegerDotProduct4x8BitPackedUnsignedAccelerated VkBool32
IntegerDotProduct4x8BitPackedSignedAccelerated VkBool32
IntegerDotProduct4x8BitPackedMixedSignednessAccelerated VkBool32
IntegerDotProduct16BitUnsignedAccelerated VkBool32
IntegerDotProduct16BitSignedAccelerated VkBool32
IntegerDotProduct16BitMixedSignednessAccelerated VkBool32
IntegerDotProduct32BitUnsignedAccelerated VkBool32
IntegerDotProduct32BitSignedAccelerated VkBool32
IntegerDotProduct32BitMixedSignednessAccelerated VkBool32
IntegerDotProduct64BitUnsignedAccelerated VkBool32
IntegerDotProduct64BitSignedAccelerated VkBool32
IntegerDotProduct64BitMixedSignednessAccelerated VkBool32
IntegerDotProductAccumulatingSaturating8BitUnsignedAccelerated VkBool32
IntegerDotProductAccumulatingSaturating8BitSignedAccelerated VkBool32
IntegerDotProductAccumulatingSaturating8BitMixedSignednessAccelerated VkBool32
IntegerDotProductAccumulatingSaturating4x8BitPackedUnsignedAccelerated VkBool32
IntegerDotProductAccumulatingSaturating4x8BitPackedSignedAccelerated VkBool32
IntegerDotProductAccumulatingSaturating4x8BitPackedMixedSignednessAccelerated VkBool32
IntegerDotProductAccumulatingSaturating16BitUnsignedAccelerated VkBool32
IntegerDotProductAccumulatingSaturating16BitSignedAccelerated VkBool32
IntegerDotProductAccumulatingSaturating16BitMixedSignednessAccelerated VkBool32
IntegerDotProductAccumulatingSaturating32BitUnsignedAccelerated VkBool32
IntegerDotProductAccumulatingSaturating32BitSignedAccelerated VkBool32
IntegerDotProductAccumulatingSaturating32BitMixedSignednessAccelerated VkBool32
IntegerDotProductAccumulatingSaturating64BitUnsignedAccelerated VkBool32
IntegerDotProductAccumulatingSaturating64BitSignedAccelerated VkBool32
IntegerDotProductAccumulatingSaturating64BitMixedSignednessAccelerated VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures ¶
type VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures struct {
SType VkStructureType
PNext unsafe.Pointer
ShaderSubgroupExtendedTypes VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceShaderTerminateInvocationFeatures ¶
type VkPhysicalDeviceShaderTerminateInvocationFeatures struct {
SType VkStructureType
PNext unsafe.Pointer
ShaderTerminateInvocation VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceSparseImageFormatInfo2 ¶
type VkPhysicalDeviceSparseImageFormatInfo2 struct {
SType VkStructureType
PNext unsafe.Pointer
Format VkFormat
Type VkImageType
Samples VkSampleCountFlagBits
Usage VkImageUsageFlags
Tiling VkImageTiling
// contains filtered or unexported fields
}
type VkPhysicalDeviceSubgroupProperties ¶
type VkPhysicalDeviceSubgroupProperties struct {
SType VkStructureType
PNext unsafe.Pointer
SubgroupSize uint32
SupportedStages VkShaderStageFlags
SupportedOperations VkSubgroupFeatureFlags
QuadOperationsInAllStages VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceSubgroupSizeControlFeatures ¶
type VkPhysicalDeviceSubgroupSizeControlFeatures struct {
SType VkStructureType
PNext unsafe.Pointer
SubgroupSizeControl VkBool32
ComputeFullSubgroups VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceSubgroupSizeControlProperties ¶
type VkPhysicalDeviceSubgroupSizeControlProperties struct {
SType VkStructureType
PNext unsafe.Pointer
MinSubgroupSize uint32
MaxSubgroupSize uint32
MaxComputeWorkgroupSubgroups uint32
RequiredSubgroupSizeStages VkShaderStageFlags
// contains filtered or unexported fields
}
type VkPhysicalDeviceSurfaceInfo2KHR ¶
type VkPhysicalDeviceSurfaceInfo2KHR struct {
SType VkStructureType
PNext unsafe.Pointer
Surface VkSurfaceKHR
// contains filtered or unexported fields
}
type VkPhysicalDeviceSynchronization2Features ¶
type VkPhysicalDeviceSynchronization2Features struct {
SType VkStructureType
PNext unsafe.Pointer
Synchronization2 VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceSynchronization2FeaturesKHR ¶
type VkPhysicalDeviceSynchronization2FeaturesKHR = VkPhysicalDeviceSynchronization2Features
type VkPhysicalDeviceTexelBufferAlignmentProperties ¶
type VkPhysicalDeviceTexelBufferAlignmentProperties struct {
SType VkStructureType
PNext unsafe.Pointer
StorageTexelBufferOffsetAlignmentBytes VkDeviceSize
StorageTexelBufferOffsetSingleTexelAlignment VkBool32
UniformTexelBufferOffsetAlignmentBytes VkDeviceSize
UniformTexelBufferOffsetSingleTexelAlignment VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceTextureCompressionASTCHDRFeatures ¶
type VkPhysicalDeviceTextureCompressionASTCHDRFeatures struct {
SType VkStructureType
PNext unsafe.Pointer
TextureCompressionASTC_HDR VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceTimelineSemaphoreFeatures ¶
type VkPhysicalDeviceTimelineSemaphoreFeatures struct {
SType VkStructureType
PNext unsafe.Pointer
TimelineSemaphore VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceTimelineSemaphoreProperties ¶
type VkPhysicalDeviceTimelineSemaphoreProperties struct {
SType VkStructureType
PNext unsafe.Pointer
MaxTimelineSemaphoreValueDifference uint64
// contains filtered or unexported fields
}
type VkPhysicalDeviceToolProperties ¶
type VkPhysicalDeviceToolProperties struct {
SType VkStructureType
PNext unsafe.Pointer
Name [VK_MAX_EXTENSION_NAME_SIZE]byte
Version [VK_MAX_EXTENSION_NAME_SIZE]byte
Purposes VkToolPurposeFlags
Description [VK_MAX_DESCRIPTION_SIZE]byte
Layer [VK_MAX_EXTENSION_NAME_SIZE]byte
// contains filtered or unexported fields
}
type VkPhysicalDeviceType ¶
type VkPhysicalDeviceType int32
const ( VK_PHYSICAL_DEVICE_TYPE_OTHER VkPhysicalDeviceType = 0 VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU VkPhysicalDeviceType = 1 VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU VkPhysicalDeviceType = 2 VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU VkPhysicalDeviceType = 3 VK_PHYSICAL_DEVICE_TYPE_CPU VkPhysicalDeviceType = 4 )
type VkPhysicalDeviceUniformBufferStandardLayoutFeatures ¶
type VkPhysicalDeviceUniformBufferStandardLayoutFeatures struct {
SType VkStructureType
PNext unsafe.Pointer
UniformBufferStandardLayout VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceVariablePointerFeatures ¶
type VkPhysicalDeviceVariablePointerFeatures = VkPhysicalDeviceVariablePointersFeatures
type VkPhysicalDeviceVariablePointersFeatures ¶
type VkPhysicalDeviceVariablePointersFeatures struct {
SType VkStructureType
PNext unsafe.Pointer
VariablePointersStorageBuffer VkBool32
VariablePointers VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceVulkan11Features ¶
type VkPhysicalDeviceVulkan11Features struct {
SType VkStructureType
PNext unsafe.Pointer
StorageBuffer16BitAccess VkBool32
UniformAndStorageBuffer16BitAccess VkBool32
StoragePushConstant16 VkBool32
StorageInputOutput16 VkBool32
Multiview VkBool32
MultiviewGeometryShader VkBool32
MultiviewTessellationShader VkBool32
VariablePointersStorageBuffer VkBool32
VariablePointers VkBool32
ProtectedMemory VkBool32
SamplerYcbcrConversion VkBool32
ShaderDrawParameters VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceVulkan11Properties ¶
type VkPhysicalDeviceVulkan11Properties struct {
SType VkStructureType
PNext unsafe.Pointer
DeviceUUID [VK_UUID_SIZE]uint8
DriverUUID [VK_UUID_SIZE]uint8
DeviceLUID [VK_LUID_SIZE]uint8
DeviceNodeMask uint32
DeviceLUIDValid VkBool32
SubgroupSize uint32
SubgroupSupportedStages VkShaderStageFlags
SubgroupSupportedOperations VkSubgroupFeatureFlags
SubgroupQuadOperationsInAllStages VkBool32
PointClippingBehavior VkPointClippingBehavior
MaxMultiviewViewCount uint32
MaxMultiviewInstanceIndex uint32
ProtectedNoFault VkBool32
MaxPerSetDescriptors uint32
MaxMemoryAllocationSize VkDeviceSize
// contains filtered or unexported fields
}
type VkPhysicalDeviceVulkan12Features ¶
type VkPhysicalDeviceVulkan12Features struct {
SType VkStructureType
PNext unsafe.Pointer
SamplerMirrorClampToEdge VkBool32
DrawIndirectCount VkBool32
StorageBuffer8BitAccess VkBool32
UniformAndStorageBuffer8BitAccess VkBool32
StoragePushConstant8 VkBool32
ShaderBufferInt64Atomics VkBool32
ShaderFloat16 VkBool32
ShaderInt8 VkBool32
DescriptorIndexing VkBool32
ShaderInputAttachmentArrayDynamicIndexing VkBool32
ShaderUniformTexelBufferArrayDynamicIndexing VkBool32
ShaderStorageTexelBufferArrayDynamicIndexing VkBool32
ShaderUniformBufferArrayNonUniformIndexing VkBool32
ShaderSampledImageArrayNonUniformIndexing VkBool32
ShaderStorageBufferArrayNonUniformIndexing VkBool32
ShaderStorageImageArrayNonUniformIndexing VkBool32
ShaderInputAttachmentArrayNonUniformIndexing VkBool32
ShaderUniformTexelBufferArrayNonUniformIndexing VkBool32
ShaderStorageTexelBufferArrayNonUniformIndexing VkBool32
DescriptorBindingUniformBufferUpdateAfterBind VkBool32
DescriptorBindingSampledImageUpdateAfterBind VkBool32
DescriptorBindingStorageImageUpdateAfterBind VkBool32
DescriptorBindingStorageBufferUpdateAfterBind VkBool32
DescriptorBindingUniformTexelBufferUpdateAfterBind VkBool32
DescriptorBindingStorageTexelBufferUpdateAfterBind VkBool32
DescriptorBindingUpdateUnusedWhilePending VkBool32
DescriptorBindingPartiallyBound VkBool32
DescriptorBindingVariableDescriptorCount VkBool32
RuntimeDescriptorArray VkBool32
SamplerFilterMinmax VkBool32
ScalarBlockLayout VkBool32
ImagelessFramebuffer VkBool32
UniformBufferStandardLayout VkBool32
ShaderSubgroupExtendedTypes VkBool32
SeparateDepthStencilLayouts VkBool32
HostQueryReset VkBool32
TimelineSemaphore VkBool32
BufferDeviceAddress VkBool32
BufferDeviceAddressCaptureReplay VkBool32
BufferDeviceAddressMultiDevice VkBool32
VulkanMemoryModel VkBool32
VulkanMemoryModelDeviceScope VkBool32
VulkanMemoryModelAvailabilityVisibilityChains VkBool32
ShaderOutputViewportIndex VkBool32
ShaderOutputLayer VkBool32
SubgroupBroadcastDynamicId VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceVulkan12Properties ¶
type VkPhysicalDeviceVulkan12Properties struct {
SType VkStructureType
PNext unsafe.Pointer
DriverID VkDriverId
DriverName [VK_MAX_DRIVER_NAME_SIZE]byte
DriverInfo [VK_MAX_DRIVER_INFO_SIZE]byte
ConformanceVersion VkConformanceVersion
DenormBehaviorIndependence VkShaderFloatControlsIndependence
RoundingModeIndependence VkShaderFloatControlsIndependence
ShaderSignedZeroInfNanPreserveFloat16 VkBool32
ShaderSignedZeroInfNanPreserveFloat32 VkBool32
ShaderSignedZeroInfNanPreserveFloat64 VkBool32
ShaderDenormPreserveFloat16 VkBool32
ShaderDenormPreserveFloat32 VkBool32
ShaderDenormPreserveFloat64 VkBool32
ShaderDenormFlushToZeroFloat16 VkBool32
ShaderDenormFlushToZeroFloat32 VkBool32
ShaderDenormFlushToZeroFloat64 VkBool32
ShaderRoundingModeRTEFloat16 VkBool32
ShaderRoundingModeRTEFloat32 VkBool32
ShaderRoundingModeRTEFloat64 VkBool32
ShaderRoundingModeRTZFloat16 VkBool32
ShaderRoundingModeRTZFloat32 VkBool32
ShaderRoundingModeRTZFloat64 VkBool32
MaxUpdateAfterBindDescriptorsInAllPools uint32
ShaderUniformBufferArrayNonUniformIndexingNative VkBool32
ShaderSampledImageArrayNonUniformIndexingNative VkBool32
ShaderStorageBufferArrayNonUniformIndexingNative VkBool32
ShaderStorageImageArrayNonUniformIndexingNative VkBool32
ShaderInputAttachmentArrayNonUniformIndexingNative VkBool32
RobustBufferAccessUpdateAfterBind VkBool32
QuadDivergentImplicitLod VkBool32
MaxPerStageDescriptorUpdateAfterBindSamplers uint32
MaxPerStageDescriptorUpdateAfterBindUniformBuffers uint32
MaxPerStageDescriptorUpdateAfterBindStorageBuffers uint32
MaxPerStageDescriptorUpdateAfterBindSampledImages uint32
MaxPerStageDescriptorUpdateAfterBindStorageImages uint32
MaxPerStageDescriptorUpdateAfterBindInputAttachments uint32
MaxPerStageUpdateAfterBindResources uint32
MaxDescriptorSetUpdateAfterBindSamplers uint32
MaxDescriptorSetUpdateAfterBindUniformBuffers uint32
MaxDescriptorSetUpdateAfterBindUniformBuffersDynamic uint32
MaxDescriptorSetUpdateAfterBindStorageBuffers uint32
MaxDescriptorSetUpdateAfterBindStorageBuffersDynamic uint32
MaxDescriptorSetUpdateAfterBindSampledImages uint32
MaxDescriptorSetUpdateAfterBindStorageImages uint32
MaxDescriptorSetUpdateAfterBindInputAttachments uint32
SupportedDepthResolveModes VkResolveModeFlags
SupportedStencilResolveModes VkResolveModeFlags
IndependentResolveNone VkBool32
IndependentResolve VkBool32
FilterMinmaxSingleComponentFormats VkBool32
FilterMinmaxImageComponentMapping VkBool32
MaxTimelineSemaphoreValueDifference uint64
FramebufferIntegerColorSampleCounts VkSampleCountFlags
// contains filtered or unexported fields
}
type VkPhysicalDeviceVulkan13Features ¶
type VkPhysicalDeviceVulkan13Features struct {
SType VkStructureType
PNext unsafe.Pointer
RobustImageAccess VkBool32
InlineUniformBlock VkBool32
DescriptorBindingInlineUniformBlockUpdateAfterBind VkBool32
PipelineCreationCacheControl VkBool32
PrivateData VkBool32
ShaderDemoteToHelperInvocation VkBool32
ShaderTerminateInvocation VkBool32
SubgroupSizeControl VkBool32
ComputeFullSubgroups VkBool32
Synchronization2 VkBool32
TextureCompressionASTC_HDR VkBool32
ShaderZeroInitializeWorkgroupMemory VkBool32
DynamicRendering VkBool32
ShaderIntegerDotProduct VkBool32
Maintenance4 VkBool32
// contains filtered or unexported fields
}
type VkPhysicalDeviceVulkan13Properties ¶
type VkPhysicalDeviceVulkan13Properties struct {
SType VkStructureType
PNext unsafe.Pointer
MinSubgroupSize uint32
MaxSubgroupSize uint32
MaxComputeWorkgroupSubgroups uint32
RequiredSubgroupSizeStages VkShaderStageFlags
MaxInlineUniformBlockSize uint32
MaxPerStageDescriptorInlineUniformBlocks uint32
MaxPerStageDescriptorUpdateAfterBindInlineUniformBlocks uint32
MaxDescriptorSetInlineUniformBlocks uint32
MaxDescriptorSetUpdateAfterBindInlineUniformBlocks uint32
MaxInlineUniformTotalSize uint32
IntegerDotProduct8BitUnsignedAccelerated VkBool32
IntegerDotProduct8BitSignedAccelerated VkBool32
IntegerDotProduct8BitMixedSignednessAccelerated VkBool32
IntegerDotProduct4x8BitPackedUnsignedAccelerated VkBool32
IntegerDotProduct4x8BitPackedSignedAccelerated VkBool32
IntegerDotProduct4x8BitPackedMixedSignednessAccelerated VkBool32
IntegerDotProduct16BitUnsignedAccelerated VkBool32
IntegerDotProduct16BitSignedAccelerated VkBool32
IntegerDotProduct16BitMixedSignednessAccelerated VkBool32
IntegerDotProduct32BitUnsignedAccelerated VkBool32
IntegerDotProduct32BitSignedAccelerated VkBool32
IntegerDotProduct32BitMixedSignednessAccelerated VkBool32
IntegerDotProduct64BitUnsignedAccelerated VkBool32
IntegerDotProduct64BitSignedAccelerated VkBool32
IntegerDotProduct64BitMixedSignednessAccelerated VkBool32
IntegerDotProductAccumulatingSaturating8BitUnsignedAccelerated VkBool32
IntegerDotProductAccumulatingSaturating8BitSignedAccelerated VkBool32
IntegerDotProductAccumulatingSaturating8BitMixedSignednessAccelerated VkBool32
IntegerDotProductAccumulatingSaturating4x8BitPackedUnsignedAccelerated VkBool32
IntegerDotProductAccumulatingSaturating4x8BitPackedSignedAccelerated VkBool32
IntegerDotProductAccumulatingSaturating4x8BitPackedMixedSignednessAccelerated VkBool32
IntegerDotProductAccumulatingSaturating16BitUnsignedAccelerated VkBool32
IntegerDotProductAccumulatingSaturating16BitSignedAccelerated VkBool32
IntegerDotProductAccumulatingSaturating16BitMixedSignednessAccelerated VkBool32
IntegerDotProductAccumulatingSaturating32BitUnsignedAccelerated VkBool32
IntegerDotProductAccumulatingSaturating32BitSignedAccelerated VkBool32
IntegerDotProductAccumulatingSaturating32BitMixedSignednessAccelerated VkBool32
IntegerDotProductAccumulatingSaturating64BitUnsignedAccelerated VkBool32
IntegerDotProductAccumulatingSaturating64BitSignedAccelerated VkBool32
IntegerDotProductAccumulatingSaturating64BitMixedSignednessAccelerated VkBool32
StorageTexelBufferOffsetAlignmentBytes VkDeviceSize
StorageTexelBufferOffsetSingleTexelAlignment VkBool32
UniformTexelBufferOffsetAlignmentBytes VkDeviceSize
UniformTexelBufferOffsetSingleTexelAlignment VkBool32
MaxBufferSize VkDeviceSize
// contains filtered or unexported fields
}
type VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures ¶
type VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures struct {
SType VkStructureType
PNext unsafe.Pointer
ShaderZeroInitializeWorkgroupMemory VkBool32
// contains filtered or unexported fields
}
type VkPipeline ¶
type VkPipeline uintptr
type VkPipelineBindPoint ¶
type VkPipelineBindPoint int32
const ( VK_PIPELINE_BIND_POINT_GRAPHICS VkPipelineBindPoint = 0 VK_PIPELINE_BIND_POINT_COMPUTE VkPipelineBindPoint = 1 )
type VkPipelineCache ¶
type VkPipelineCache uintptr
type VkPipelineCacheCreateFlagBits ¶
type VkPipelineCacheCreateFlagBits = VkPipelineCacheCreateFlags
type VkPipelineCacheCreateFlags ¶
type VkPipelineCacheCreateFlags uint32
const (
VK_PIPELINE_CACHE_CREATE_EXTERNALLY_SYNCHRONIZED_BIT VkPipelineCacheCreateFlags = 1 << 0
)
type VkPipelineCacheCreateInfo ¶
type VkPipelineCacheCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkPipelineCacheCreateFlags
InitialDataSize uintptr
PInitialData unsafe.Pointer
// contains filtered or unexported fields
}
type VkPipelineCacheHeaderVersion ¶
type VkPipelineCacheHeaderVersion int32
const (
VK_PIPELINE_CACHE_HEADER_VERSION_ONE VkPipelineCacheHeaderVersion = 1
)
type VkPipelineCacheHeaderVersionOne ¶
type VkPipelineCacheHeaderVersionOne struct {
HeaderSize uint32
HeaderVersion VkPipelineCacheHeaderVersion
VendorID uint32
DeviceID uint32
PipelineCacheUUID [VK_UUID_SIZE]uint8
// contains filtered or unexported fields
}
type VkPipelineColorBlendAttachmentState ¶
type VkPipelineColorBlendAttachmentState struct {
BlendEnable VkBool32
SrcColorBlendFactor VkBlendFactor
DstColorBlendFactor VkBlendFactor
ColorBlendOp VkBlendOp
SrcAlphaBlendFactor VkBlendFactor
DstAlphaBlendFactor VkBlendFactor
AlphaBlendOp VkBlendOp
ColorWriteMask VkColorComponentFlags
// contains filtered or unexported fields
}
type VkPipelineColorBlendStateCreateFlagBits ¶
type VkPipelineColorBlendStateCreateFlagBits = VkPipelineColorBlendStateCreateFlags
type VkPipelineColorBlendStateCreateFlags ¶
type VkPipelineColorBlendStateCreateFlags uint32
type VkPipelineColorBlendStateCreateInfo ¶
type VkPipelineColorBlendStateCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkPipelineColorBlendStateCreateFlags
LogicOpEnable VkBool32
LogicOp VkLogicOp
AttachmentCount uint32
PAttachments *VkPipelineColorBlendAttachmentState
BlendConstants [4]float32
// contains filtered or unexported fields
}
type VkPipelineCreateFlagBits ¶
type VkPipelineCreateFlagBits = VkPipelineCreateFlags
type VkPipelineCreateFlags ¶
type VkPipelineCreateFlags uint32
const ( VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT VkPipelineCreateFlags = 1 << 0 VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT VkPipelineCreateFlags = 1 << 1 VK_PIPELINE_CREATE_DERIVATIVE_BIT VkPipelineCreateFlags = 1 << 2 VK_PIPELINE_CREATE_DISPATCH_BASE_BIT VkPipelineCreateFlags = 1 << 4 VK_PIPELINE_CREATE_DISPATCH_BASE = VK_PIPELINE_CREATE_DISPATCH_BASE_BIT VK_PIPELINE_CREATE_VIEW_INDEX_FROM_DEVICE_INDEX_BIT VkPipelineCreateFlags = 1 << 3 VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT VkPipelineCreateFlags = 1 << 8 VK_PIPELINE_CREATE_EARLY_RETURN_ON_FAILURE_BIT VkPipelineCreateFlags = 1 << 9 )
type VkPipelineCreationFeedback ¶
type VkPipelineCreationFeedback struct {
Flags VkPipelineCreationFeedbackFlags
Duration uint64
// contains filtered or unexported fields
}
type VkPipelineCreationFeedbackCreateInfo ¶
type VkPipelineCreationFeedbackCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
PPipelineCreationFeedback *VkPipelineCreationFeedback
PipelineStageCreationFeedbackCount uint32
PPipelineStageCreationFeedbacks *VkPipelineCreationFeedback
// contains filtered or unexported fields
}
type VkPipelineCreationFeedbackFlagBits ¶
type VkPipelineCreationFeedbackFlagBits = VkPipelineCreationFeedbackFlags
type VkPipelineCreationFeedbackFlags ¶
type VkPipelineCreationFeedbackFlags uint32
const ( VK_PIPELINE_CREATION_FEEDBACK_VALID_BIT VkPipelineCreationFeedbackFlags = 1 << 0 VK_PIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BIT VkPipelineCreationFeedbackFlags = 1 << 1 VK_PIPELINE_CREATION_FEEDBACK_BASE_PIPELINE_ACCELERATION_BIT VkPipelineCreationFeedbackFlags = 1 << 2 )
type VkPipelineDepthStencilStateCreateFlagBits ¶
type VkPipelineDepthStencilStateCreateFlagBits = VkPipelineDepthStencilStateCreateFlags
type VkPipelineDepthStencilStateCreateFlags ¶
type VkPipelineDepthStencilStateCreateFlags uint32
type VkPipelineDepthStencilStateCreateInfo ¶
type VkPipelineDepthStencilStateCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkPipelineDepthStencilStateCreateFlags
DepthTestEnable VkBool32
DepthWriteEnable VkBool32
DepthCompareOp VkCompareOp
DepthBoundsTestEnable VkBool32
StencilTestEnable VkBool32
Front VkStencilOpState
Back VkStencilOpState
MinDepthBounds float32
MaxDepthBounds float32
// contains filtered or unexported fields
}
type VkPipelineDynamicStateCreateFlags ¶
type VkPipelineDynamicStateCreateFlags uint32
type VkPipelineDynamicStateCreateInfo ¶
type VkPipelineDynamicStateCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkPipelineDynamicStateCreateFlags
DynamicStateCount uint32
PDynamicStates *VkDynamicState
// contains filtered or unexported fields
}
type VkPipelineInputAssemblyStateCreateFlags ¶
type VkPipelineInputAssemblyStateCreateFlags uint32
type VkPipelineInputAssemblyStateCreateInfo ¶
type VkPipelineInputAssemblyStateCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkPipelineInputAssemblyStateCreateFlags
Topology VkPrimitiveTopology
PrimitiveRestartEnable VkBool32
// contains filtered or unexported fields
}
type VkPipelineLayout ¶
type VkPipelineLayout uintptr
type VkPipelineLayoutCreateFlagBits ¶
type VkPipelineLayoutCreateFlagBits = VkPipelineLayoutCreateFlags
type VkPipelineLayoutCreateFlags ¶
type VkPipelineLayoutCreateFlags uint32
type VkPipelineLayoutCreateInfo ¶
type VkPipelineLayoutCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkPipelineLayoutCreateFlags
SetLayoutCount uint32
PSetLayouts *VkDescriptorSetLayout
PushConstantRangeCount uint32
PPushConstantRanges *VkPushConstantRange
// contains filtered or unexported fields
}
type VkPipelineMultisampleStateCreateFlags ¶
type VkPipelineMultisampleStateCreateFlags uint32
type VkPipelineMultisampleStateCreateInfo ¶
type VkPipelineMultisampleStateCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkPipelineMultisampleStateCreateFlags
RasterizationSamples VkSampleCountFlagBits
SampleShadingEnable VkBool32
MinSampleShading float32
PSampleMask *VkSampleMask
AlphaToCoverageEnable VkBool32
AlphaToOneEnable VkBool32
// contains filtered or unexported fields
}
type VkPipelineRasterizationStateCreateFlags ¶
type VkPipelineRasterizationStateCreateFlags uint32
type VkPipelineRasterizationStateCreateInfo ¶
type VkPipelineRasterizationStateCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkPipelineRasterizationStateCreateFlags
DepthClampEnable VkBool32
RasterizerDiscardEnable VkBool32
PolygonMode VkPolygonMode
CullMode VkCullModeFlags
FrontFace VkFrontFace
DepthBiasEnable VkBool32
DepthBiasConstantFactor float32
DepthBiasClamp float32
DepthBiasSlopeFactor float32
LineWidth float32
// contains filtered or unexported fields
}
type VkPipelineRenderingCreateInfoKHR ¶
type VkPipelineRenderingCreateInfoKHR = VkPipelineRenderingCreateInfo
type VkPipelineShaderStageCreateFlagBits ¶
type VkPipelineShaderStageCreateFlagBits = VkPipelineShaderStageCreateFlags
type VkPipelineShaderStageCreateFlags ¶
type VkPipelineShaderStageCreateFlags uint32
const ( VK_PIPELINE_SHADER_STAGE_CREATE_ALLOW_VARYING_SUBGROUP_SIZE_BIT VkPipelineShaderStageCreateFlags = 1 << 0 VK_PIPELINE_SHADER_STAGE_CREATE_REQUIRE_FULL_SUBGROUPS_BIT VkPipelineShaderStageCreateFlags = 1 << 1 )
type VkPipelineShaderStageCreateInfo ¶
type VkPipelineShaderStageCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkPipelineShaderStageCreateFlags
Stage VkShaderStageFlagBits
Module VkShaderModule
PName *byte
PSpecializationInfo *VkSpecializationInfo
// contains filtered or unexported fields
}
type VkPipelineShaderStageRequiredSubgroupSizeCreateInfo ¶
type VkPipelineShaderStageRequiredSubgroupSizeCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
RequiredSubgroupSize uint32
// contains filtered or unexported fields
}
type VkPipelineStageFlagBits ¶
type VkPipelineStageFlagBits = VkPipelineStageFlags
type VkPipelineStageFlagBits2 ¶
type VkPipelineStageFlagBits2 = VkPipelineStageFlags2
type VkPipelineStageFlagBits2KHR ¶
type VkPipelineStageFlagBits2KHR = VkPipelineStageFlagBits2
type VkPipelineStageFlags ¶
type VkPipelineStageFlags uint32
const ( VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT VkPipelineStageFlags = 1 << 0 VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT VkPipelineStageFlags = 1 << 1 VK_PIPELINE_STAGE_VERTEX_INPUT_BIT VkPipelineStageFlags = 1 << 2 VK_PIPELINE_STAGE_VERTEX_SHADER_BIT VkPipelineStageFlags = 1 << 3 VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT VkPipelineStageFlags = 1 << 4 VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT VkPipelineStageFlags = 1 << 5 VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT VkPipelineStageFlags = 1 << 6 VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT VkPipelineStageFlags = 1 << 7 VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT VkPipelineStageFlags = 1 << 8 VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT VkPipelineStageFlags = 1 << 9 VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT VkPipelineStageFlags = 1 << 10 VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT VkPipelineStageFlags = 1 << 11 VK_PIPELINE_STAGE_TRANSFER_BIT VkPipelineStageFlags = 1 << 12 VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT VkPipelineStageFlags = 1 << 13 VK_PIPELINE_STAGE_HOST_BIT VkPipelineStageFlags = 1 << 14 VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT VkPipelineStageFlags = 1 << 15 VK_PIPELINE_STAGE_ALL_COMMANDS_BIT VkPipelineStageFlags = 1 << 16 VK_PIPELINE_STAGE_NONE VkPipelineStageFlags = 0 VK_PIPELINE_STAGE_NONE_KHR = VK_PIPELINE_STAGE_NONE )
type VkPipelineStageFlags2 ¶
type VkPipelineStageFlags2 uint64
type VkPipelineStageFlags2KHR ¶
type VkPipelineStageFlags2KHR = VkPipelineStageFlags2
type VkPipelineTessellationDomainOriginStateCreateInfo ¶
type VkPipelineTessellationDomainOriginStateCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
DomainOrigin VkTessellationDomainOrigin
// contains filtered or unexported fields
}
type VkPipelineTessellationStateCreateFlags ¶
type VkPipelineTessellationStateCreateFlags uint32
type VkPipelineTessellationStateCreateInfo ¶
type VkPipelineTessellationStateCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkPipelineTessellationStateCreateFlags
PatchControlPoints uint32
// contains filtered or unexported fields
}
type VkPipelineVertexInputStateCreateFlags ¶
type VkPipelineVertexInputStateCreateFlags uint32
type VkPipelineVertexInputStateCreateInfo ¶
type VkPipelineVertexInputStateCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkPipelineVertexInputStateCreateFlags
VertexBindingDescriptionCount uint32
PVertexBindingDescriptions *VkVertexInputBindingDescription
VertexAttributeDescriptionCount uint32
PVertexAttributeDescriptions *VkVertexInputAttributeDescription
// contains filtered or unexported fields
}
type VkPipelineViewportStateCreateFlags ¶
type VkPipelineViewportStateCreateFlags uint32
type VkPipelineViewportStateCreateInfo ¶
type VkPipelineViewportStateCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkPipelineViewportStateCreateFlags
ViewportCount uint32
PViewports *VkViewport
ScissorCount uint32
PScissors *VkRect2D
// contains filtered or unexported fields
}
type VkPointClippingBehavior ¶
type VkPointClippingBehavior int32
const ( VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES VkPointClippingBehavior = 0 VK_POINT_CLIPPING_BEHAVIOR_USER_CLIP_PLANES_ONLY VkPointClippingBehavior = 1 )
type VkPolygonMode ¶
type VkPolygonMode int32
const ( VK_POLYGON_MODE_FILL VkPolygonMode = 0 VK_POLYGON_MODE_LINE VkPolygonMode = 1 VK_POLYGON_MODE_POINT VkPolygonMode = 2 )
type VkPresentInfoKHR ¶
type VkPresentInfoKHR struct {
SType VkStructureType
PNext unsafe.Pointer
WaitSemaphoreCount uint32
PWaitSemaphores *VkSemaphore
SwapchainCount uint32
PSwapchains *VkSwapchainKHR
PImageIndices *uint32
PResults *VkResult
// contains filtered or unexported fields
}
type VkPresentModeKHR ¶
type VkPresentModeKHR int32
const ( VK_PRESENT_MODE_IMMEDIATE_KHR VkPresentModeKHR = 0 VK_PRESENT_MODE_MAILBOX_KHR VkPresentModeKHR = 1 VK_PRESENT_MODE_FIFO_KHR VkPresentModeKHR = 2 VK_PRESENT_MODE_FIFO_RELAXED_KHR VkPresentModeKHR = 3 )
type VkPrimitiveTopology ¶
type VkPrimitiveTopology int32
const ( VK_PRIMITIVE_TOPOLOGY_POINT_LIST VkPrimitiveTopology = 0 VK_PRIMITIVE_TOPOLOGY_LINE_LIST VkPrimitiveTopology = 1 VK_PRIMITIVE_TOPOLOGY_LINE_STRIP VkPrimitiveTopology = 2 VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST VkPrimitiveTopology = 3 VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP VkPrimitiveTopology = 4 VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN VkPrimitiveTopology = 5 VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY VkPrimitiveTopology = 6 VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY VkPrimitiveTopology = 7 VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY VkPrimitiveTopology = 8 VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY VkPrimitiveTopology = 9 VK_PRIMITIVE_TOPOLOGY_PATCH_LIST VkPrimitiveTopology = 10 )
type VkPrivateDataSlot ¶
type VkPrivateDataSlot uintptr
type VkPrivateDataSlotCreateFlags ¶
type VkPrivateDataSlotCreateFlags uint32
type VkPrivateDataSlotCreateInfo ¶
type VkPrivateDataSlotCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkPrivateDataSlotCreateFlags
// contains filtered or unexported fields
}
type VkProtectedSubmitInfo ¶
type VkProtectedSubmitInfo struct {
SType VkStructureType
PNext unsafe.Pointer
ProtectedSubmit VkBool32
// contains filtered or unexported fields
}
type VkPushConstantRange ¶
type VkPushConstantRange struct {
StageFlags VkShaderStageFlags
Offset uint32
Size uint32
// contains filtered or unexported fields
}
type VkQueryControlFlagBits ¶
type VkQueryControlFlagBits = VkQueryControlFlags
type VkQueryControlFlags ¶
type VkQueryControlFlags uint32
const (
VK_QUERY_CONTROL_PRECISE_BIT VkQueryControlFlags = 1 << 0
)
type VkQueryPipelineStatisticFlagBits ¶
type VkQueryPipelineStatisticFlagBits = VkQueryPipelineStatisticFlags
type VkQueryPipelineStatisticFlags ¶
type VkQueryPipelineStatisticFlags uint32
const ( VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT VkQueryPipelineStatisticFlags = 1 << 0 VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT VkQueryPipelineStatisticFlags = 1 << 1 VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT VkQueryPipelineStatisticFlags = 1 << 2 VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT VkQueryPipelineStatisticFlags = 1 << 3 VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT VkQueryPipelineStatisticFlags = 1 << 4 VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT VkQueryPipelineStatisticFlags = 1 << 5 VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT VkQueryPipelineStatisticFlags = 1 << 6 VK_QUERY_PIPELINE_STATISTIC_FRAGMENT_SHADER_INVOCATIONS_BIT VkQueryPipelineStatisticFlags = 1 << 7 VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT VkQueryPipelineStatisticFlags = 1 << 8 VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT VkQueryPipelineStatisticFlags = 1 << 9 VK_QUERY_PIPELINE_STATISTIC_COMPUTE_SHADER_INVOCATIONS_BIT VkQueryPipelineStatisticFlags = 1 << 10 )
type VkQueryPool ¶
type VkQueryPool uintptr
type VkQueryPoolCreateFlagBits ¶
type VkQueryPoolCreateFlagBits = VkQueryPoolCreateFlags
type VkQueryPoolCreateFlags ¶
type VkQueryPoolCreateFlags uint32
type VkQueryPoolCreateInfo ¶
type VkQueryPoolCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkQueryPoolCreateFlags
QueryType VkQueryType
QueryCount uint32
PipelineStatistics VkQueryPipelineStatisticFlags
// contains filtered or unexported fields
}
type VkQueryResultFlagBits ¶
type VkQueryResultFlagBits = VkQueryResultFlags
type VkQueryResultFlags ¶
type VkQueryResultFlags uint32
const ( VK_QUERY_RESULT_64_BIT VkQueryResultFlags = 1 << 0 VK_QUERY_RESULT_WAIT_BIT VkQueryResultFlags = 1 << 1 VK_QUERY_RESULT_WITH_AVAILABILITY_BIT VkQueryResultFlags = 1 << 2 VK_QUERY_RESULT_PARTIAL_BIT VkQueryResultFlags = 1 << 3 )
type VkQueryType ¶
type VkQueryType int32
const ( VK_QUERY_TYPE_OCCLUSION VkQueryType = 0 VK_QUERY_TYPE_PIPELINE_STATISTICS VkQueryType = 1 VK_QUERY_TYPE_TIMESTAMP VkQueryType = 2 )
type VkQueueFamilyProperties ¶
type VkQueueFamilyProperties struct {
QueueFlags VkQueueFlags
QueueCount uint32
TimestampValidBits uint32
MinImageTransferGranularity VkExtent3D
// contains filtered or unexported fields
}
type VkQueueFamilyProperties2 ¶
type VkQueueFamilyProperties2 struct {
SType VkStructureType
PNext unsafe.Pointer
QueueFamilyProperties VkQueueFamilyProperties
// contains filtered or unexported fields
}
type VkQueueFlagBits ¶
type VkQueueFlagBits = VkQueueFlags
type VkQueueFlags ¶
type VkQueueFlags uint32
const ( VK_QUEUE_GRAPHICS_BIT VkQueueFlags = 1 << 0 VK_QUEUE_COMPUTE_BIT VkQueueFlags = 1 << 1 VK_QUEUE_TRANSFER_BIT VkQueueFlags = 1 << 2 VK_QUEUE_SPARSE_BINDING_BIT VkQueueFlags = 1 << 3 VK_QUEUE_PROTECTED_BIT VkQueueFlags = 1 << 4 )
type VkRect2D ¶
type VkRect2D struct {
Offset VkOffset2D
Extent VkExtent2D
// contains filtered or unexported fields
}
type VkRenderPass ¶
type VkRenderPass uintptr
type VkRenderPassAttachmentBeginInfo ¶
type VkRenderPassAttachmentBeginInfo struct {
SType VkStructureType
PNext unsafe.Pointer
AttachmentCount uint32
PAttachments *VkImageView
// contains filtered or unexported fields
}
type VkRenderPassBeginInfo ¶
type VkRenderPassBeginInfo struct {
SType VkStructureType
PNext unsafe.Pointer
RenderPass VkRenderPass
Framebuffer VkFramebuffer
RenderArea VkRect2D
ClearValueCount uint32
PClearValues *VkClearValue
// contains filtered or unexported fields
}
type VkRenderPassCreateFlagBits ¶
type VkRenderPassCreateFlagBits = VkRenderPassCreateFlags
type VkRenderPassCreateFlags ¶
type VkRenderPassCreateFlags uint32
type VkRenderPassCreateInfo ¶
type VkRenderPassCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkRenderPassCreateFlags
AttachmentCount uint32
PAttachments *VkAttachmentDescription
SubpassCount uint32
PSubpasses *VkSubpassDescription
DependencyCount uint32
PDependencies *VkSubpassDependency
// contains filtered or unexported fields
}
type VkRenderPassCreateInfo2 ¶
type VkRenderPassCreateInfo2 struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkRenderPassCreateFlags
AttachmentCount uint32
PAttachments *VkAttachmentDescription2
SubpassCount uint32
PSubpasses *VkSubpassDescription2
DependencyCount uint32
PDependencies *VkSubpassDependency2
// contains filtered or unexported fields
}
type VkRenderPassInputAttachmentAspectCreateInfo ¶
type VkRenderPassInputAttachmentAspectCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
AspectReferenceCount uint32
PAspectReferences *VkInputAttachmentAspectReference
// contains filtered or unexported fields
}
type VkRenderingAttachmentInfo ¶
type VkRenderingAttachmentInfo struct {
SType VkStructureType
PNext unsafe.Pointer
ImageView VkImageView
ImageLayout VkImageLayout
ResolveMode VkResolveModeFlagBits
ResolveImageView VkImageView
ResolveImageLayout VkImageLayout
LoadOp VkAttachmentLoadOp
StoreOp VkAttachmentStoreOp
ClearValue VkClearValue
// contains filtered or unexported fields
}
type VkRenderingAttachmentInfoKHR ¶
type VkRenderingAttachmentInfoKHR = VkRenderingAttachmentInfo
type VkRenderingFlagBits ¶
type VkRenderingFlagBits = VkRenderingFlags
type VkRenderingFlagBitsKHR ¶
type VkRenderingFlagBitsKHR = VkRenderingFlagBits
type VkRenderingFlags ¶
type VkRenderingFlags uint32
type VkRenderingFlagsKHR ¶
type VkRenderingFlagsKHR = VkRenderingFlags
type VkRenderingInfo ¶
type VkRenderingInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkRenderingFlags
RenderArea VkRect2D
LayerCount uint32
ViewMask uint32
ColorAttachmentCount uint32
PColorAttachments *VkRenderingAttachmentInfo
PDepthAttachment *VkRenderingAttachmentInfo
PStencilAttachment *VkRenderingAttachmentInfo
// contains filtered or unexported fields
}
type VkRenderingInfoKHR ¶
type VkRenderingInfoKHR = VkRenderingInfo
type VkResolveImageInfo2 ¶
type VkResolveImageInfo2 struct {
SType VkStructureType
PNext unsafe.Pointer
SrcImage VkImage
SrcImageLayout VkImageLayout
DstImage VkImage
DstImageLayout VkImageLayout
RegionCount uint32
PRegions *VkImageResolve2
// contains filtered or unexported fields
}
type VkResolveModeFlagBits ¶
type VkResolveModeFlagBits = VkResolveModeFlags
type VkResolveModeFlags ¶
type VkResolveModeFlags uint32
const ( VK_RESOLVE_MODE_NONE VkResolveModeFlags = 0 VK_RESOLVE_MODE_SAMPLE_ZERO_BIT VkResolveModeFlags = 1 << 0 VK_RESOLVE_MODE_AVERAGE_BIT VkResolveModeFlags = 1 << 1 VK_RESOLVE_MODE_MIN_BIT VkResolveModeFlags = 1 << 2 VK_RESOLVE_MODE_MAX_BIT VkResolveModeFlags = 1 << 3 )
type VkResult ¶
type VkResult int32
const ( VK_SUCCESS VkResult = 0 VK_NOT_READY VkResult = 1 VK_TIMEOUT VkResult = 2 VK_EVENT_SET VkResult = 3 VK_EVENT_RESET VkResult = 4 VK_INCOMPLETE VkResult = 5 VK_ERROR_OUT_OF_HOST_MEMORY VkResult = -1 VK_ERROR_OUT_OF_DEVICE_MEMORY VkResult = -2 VK_ERROR_INITIALIZATION_FAILED VkResult = -3 VK_ERROR_DEVICE_LOST VkResult = -4 VK_ERROR_MEMORY_MAP_FAILED VkResult = -5 VK_ERROR_LAYER_NOT_PRESENT VkResult = -6 VK_ERROR_EXTENSION_NOT_PRESENT VkResult = -7 VK_ERROR_FEATURE_NOT_PRESENT VkResult = -8 VK_ERROR_INCOMPATIBLE_DRIVER VkResult = -9 VK_ERROR_TOO_MANY_OBJECTS VkResult = -10 VK_ERROR_FORMAT_NOT_SUPPORTED VkResult = -11 VK_ERROR_FRAGMENTED_POOL VkResult = -12 VK_ERROR_UNKNOWN VkResult = -13 VK_ERROR_VALIDATION_FAILED VkResult = -1000011001 VK_ERROR_OUT_OF_POOL_MEMORY VkResult = -1000069000 VK_ERROR_INVALID_EXTERNAL_HANDLE VkResult = -1000072003 VK_ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS VkResult = -1000257000 VK_ERROR_FRAGMENTATION VkResult = -1000161000 VK_PIPELINE_COMPILE_REQUIRED VkResult = 1000297000 VK_ERROR_SURFACE_LOST_KHR VkResult = -1000000000 VK_ERROR_NATIVE_WINDOW_IN_USE_KHR VkResult = -1000000001 VK_SUBOPTIMAL_KHR VkResult = 1000001003 VK_ERROR_OUT_OF_DATE_KHR VkResult = -1000001004 )
func AcquireNextImageKHR ¶
func AcquireNextImageKHR(device VkDevice, swapchain VkSwapchainKHR, timeout uint64, semaphore VkSemaphore, fence VkFence, pImageIndex *uint32) VkResult
AcquireNextImageKHR acquires a swapchain image. It is VkAcquireNextImageKHR without the allocating call wrapper. pImageIndex must point into memory that outlives the call.
func BeginCommandBuffer ¶
func BeginCommandBuffer(cb VkCommandBuffer, info *VkCommandBufferBeginInfo) VkResult
BeginCommandBuffer starts recording. It is VkBeginCommandBuffer without the allocating call wrapper. info must point into memory that outlives the call.
func EndCommandBuffer ¶
func EndCommandBuffer(cb VkCommandBuffer) VkResult
EndCommandBuffer finishes recording. It is VkEndCommandBuffer without the allocating call wrapper.
func GetQueryPoolResults ¶
func GetQueryPoolResults(device VkDevice, pool VkQueryPool, first, count uint32, dataSize uintptr, pData unsafe.Pointer, stride VkDeviceSize, flags VkQueryResultFlags) VkResult
GetQueryPoolResults reads query results. It is VkGetQueryPoolResults without the allocating call wrapper. pData must point into memory that outlives the call.
func QueuePresentKHR ¶
func QueuePresentKHR(queue VkQueue, info *VkPresentInfoKHR) VkResult
QueuePresentKHR presents a swapchain image. It is VkQueuePresentKHR without the allocating call wrapper. info, and everything it points to, must outlive the call.
func QueueSubmit2 ¶
func QueueSubmit2(queue VkQueue, count uint32, pSubmits *VkSubmitInfo2, fence VkFence) VkResult
QueueSubmit2 submits work. It is VkQueueSubmit2 without the allocating call wrapper. pSubmits, and everything it points to, must outlive the call.
func ResetFences ¶
ResetFences resets fences. It is VkResetFences without the allocating call wrapper. pFences must point into memory that outlives the call.
type VkSampleCountFlagBits ¶
type VkSampleCountFlagBits = VkSampleCountFlags
type VkSampleCountFlags ¶
type VkSampleCountFlags uint32
const ( VK_SAMPLE_COUNT_1_BIT VkSampleCountFlags = 1 << 0 VK_SAMPLE_COUNT_2_BIT VkSampleCountFlags = 1 << 1 VK_SAMPLE_COUNT_4_BIT VkSampleCountFlags = 1 << 2 VK_SAMPLE_COUNT_8_BIT VkSampleCountFlags = 1 << 3 VK_SAMPLE_COUNT_16_BIT VkSampleCountFlags = 1 << 4 VK_SAMPLE_COUNT_32_BIT VkSampleCountFlags = 1 << 5 VK_SAMPLE_COUNT_64_BIT VkSampleCountFlags = 1 << 6 )
type VkSampleMask ¶
type VkSampleMask uint32
type VkSamplerAddressMode ¶
type VkSamplerAddressMode int32
const ( VK_SAMPLER_ADDRESS_MODE_REPEAT VkSamplerAddressMode = 0 VK_SAMPLER_ADDRESS_MODE_MIRRORED_REPEAT VkSamplerAddressMode = 1 VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE VkSamplerAddressMode = 2 VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER VkSamplerAddressMode = 3 VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE VkSamplerAddressMode = 4 )
type VkSamplerCreateFlagBits ¶
type VkSamplerCreateFlagBits = VkSamplerCreateFlags
type VkSamplerCreateFlags ¶
type VkSamplerCreateFlags uint32
type VkSamplerCreateInfo ¶
type VkSamplerCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkSamplerCreateFlags
MagFilter VkFilter
MinFilter VkFilter
MipmapMode VkSamplerMipmapMode
AddressModeU VkSamplerAddressMode
AddressModeV VkSamplerAddressMode
AddressModeW VkSamplerAddressMode
MipLodBias float32
AnisotropyEnable VkBool32
MaxAnisotropy float32
CompareEnable VkBool32
CompareOp VkCompareOp
MinLod float32
MaxLod float32
BorderColor VkBorderColor
UnnormalizedCoordinates VkBool32
// contains filtered or unexported fields
}
type VkSamplerMipmapMode ¶
type VkSamplerMipmapMode int32
const ( VK_SAMPLER_MIPMAP_MODE_NEAREST VkSamplerMipmapMode = 0 VK_SAMPLER_MIPMAP_MODE_LINEAR VkSamplerMipmapMode = 1 )
type VkSamplerReductionMode ¶
type VkSamplerReductionMode int32
const ( VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE VkSamplerReductionMode = 0 VK_SAMPLER_REDUCTION_MODE_MIN VkSamplerReductionMode = 1 VK_SAMPLER_REDUCTION_MODE_MAX VkSamplerReductionMode = 2 )
type VkSamplerReductionModeCreateInfo ¶
type VkSamplerReductionModeCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
ReductionMode VkSamplerReductionMode
// contains filtered or unexported fields
}
type VkSamplerYcbcrConversion ¶
type VkSamplerYcbcrConversion uintptr
type VkSamplerYcbcrConversionCreateInfo ¶
type VkSamplerYcbcrConversionCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Format VkFormat
YcbcrModel VkSamplerYcbcrModelConversion
YcbcrRange VkSamplerYcbcrRange
Components VkComponentMapping
XChromaOffset VkChromaLocation
YChromaOffset VkChromaLocation
ChromaFilter VkFilter
ForceExplicitReconstruction VkBool32
// contains filtered or unexported fields
}
type VkSamplerYcbcrConversionImageFormatProperties ¶
type VkSamplerYcbcrConversionImageFormatProperties struct {
SType VkStructureType
PNext unsafe.Pointer
CombinedImageSamplerDescriptorCount uint32
// contains filtered or unexported fields
}
type VkSamplerYcbcrConversionInfo ¶
type VkSamplerYcbcrConversionInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Conversion VkSamplerYcbcrConversion
// contains filtered or unexported fields
}
type VkSamplerYcbcrModelConversion ¶
type VkSamplerYcbcrModelConversion int32
const ( VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY VkSamplerYcbcrModelConversion = 0 VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_IDENTITY VkSamplerYcbcrModelConversion = 1 VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_709 VkSamplerYcbcrModelConversion = 2 VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_601 VkSamplerYcbcrModelConversion = 3 VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_2020 VkSamplerYcbcrModelConversion = 4 )
type VkSamplerYcbcrRange ¶
type VkSamplerYcbcrRange int32
const ( VK_SAMPLER_YCBCR_RANGE_ITU_FULL VkSamplerYcbcrRange = 0 VK_SAMPLER_YCBCR_RANGE_ITU_NARROW VkSamplerYcbcrRange = 1 )
type VkSemaphore ¶
type VkSemaphore uintptr
type VkSemaphoreCreateFlags ¶
type VkSemaphoreCreateFlags uint32
type VkSemaphoreCreateInfo ¶
type VkSemaphoreCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkSemaphoreCreateFlags
// contains filtered or unexported fields
}
type VkSemaphoreImportFlagBits ¶
type VkSemaphoreImportFlagBits = VkSemaphoreImportFlags
type VkSemaphoreImportFlags ¶
type VkSemaphoreImportFlags uint32
const (
VK_SEMAPHORE_IMPORT_TEMPORARY_BIT VkSemaphoreImportFlags = 1 << 0
)
type VkSemaphoreSignalInfo ¶
type VkSemaphoreSignalInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Semaphore VkSemaphore
Value uint64
// contains filtered or unexported fields
}
type VkSemaphoreSubmitInfo ¶
type VkSemaphoreSubmitInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Semaphore VkSemaphore
Value uint64
StageMask VkPipelineStageFlags2
DeviceIndex uint32
// contains filtered or unexported fields
}
type VkSemaphoreSubmitInfoKHR ¶
type VkSemaphoreSubmitInfoKHR = VkSemaphoreSubmitInfo
type VkSemaphoreType ¶
type VkSemaphoreType int32
const ( VK_SEMAPHORE_TYPE_BINARY VkSemaphoreType = 0 VK_SEMAPHORE_TYPE_TIMELINE VkSemaphoreType = 1 )
type VkSemaphoreTypeCreateInfo ¶
type VkSemaphoreTypeCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
SemaphoreType VkSemaphoreType
InitialValue uint64
// contains filtered or unexported fields
}
type VkSemaphoreWaitFlagBits ¶
type VkSemaphoreWaitFlagBits = VkSemaphoreWaitFlags
type VkSemaphoreWaitFlags ¶
type VkSemaphoreWaitFlags uint32
const (
VK_SEMAPHORE_WAIT_ANY_BIT VkSemaphoreWaitFlags = 1 << 0
)
type VkSemaphoreWaitInfo ¶
type VkSemaphoreWaitInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkSemaphoreWaitFlags
SemaphoreCount uint32
PSemaphores *VkSemaphore
PValues *uint64
// contains filtered or unexported fields
}
type VkShaderFloatControlsIndependence ¶
type VkShaderFloatControlsIndependence int32
const ( VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_32_BIT_ONLY VkShaderFloatControlsIndependence = 0 VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_ALL VkShaderFloatControlsIndependence = 1 VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_NONE VkShaderFloatControlsIndependence = 2 )
type VkShaderModule ¶
type VkShaderModule uintptr
type VkShaderModuleCreateFlags ¶
type VkShaderModuleCreateFlags uint32
type VkShaderModuleCreateInfo ¶
type VkShaderModuleCreateInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkShaderModuleCreateFlags
CodeSize uintptr
PCode *uint32
// contains filtered or unexported fields
}
type VkShaderStageFlagBits ¶
type VkShaderStageFlagBits = VkShaderStageFlags
type VkShaderStageFlags ¶
type VkShaderStageFlags uint32
const ( VK_SHADER_STAGE_VERTEX_BIT VkShaderStageFlags = 1 << 0 VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT VkShaderStageFlags = 1 << 1 VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT VkShaderStageFlags = 1 << 2 VK_SHADER_STAGE_GEOMETRY_BIT VkShaderStageFlags = 1 << 3 VK_SHADER_STAGE_FRAGMENT_BIT VkShaderStageFlags = 1 << 4 VK_SHADER_STAGE_COMPUTE_BIT VkShaderStageFlags = 1 << 5 VK_SHADER_STAGE_ALL_GRAPHICS VkShaderStageFlags = 0x0000001F VK_SHADER_STAGE_ALL VkShaderStageFlags = 0x7FFFFFFF )
type VkSharingMode ¶
type VkSharingMode int32
const ( VK_SHARING_MODE_EXCLUSIVE VkSharingMode = 0 VK_SHARING_MODE_CONCURRENT VkSharingMode = 1 )
type VkSparseBufferMemoryBindInfo ¶
type VkSparseBufferMemoryBindInfo struct {
Buffer VkBuffer
BindCount uint32
PBinds *VkSparseMemoryBind
// contains filtered or unexported fields
}
type VkSparseImageFormatFlagBits ¶
type VkSparseImageFormatFlagBits = VkSparseImageFormatFlags
type VkSparseImageFormatFlags ¶
type VkSparseImageFormatFlags uint32
const ( VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT VkSparseImageFormatFlags = 1 << 0 VK_SPARSE_IMAGE_FORMAT_ALIGNED_MIP_SIZE_BIT VkSparseImageFormatFlags = 1 << 1 VK_SPARSE_IMAGE_FORMAT_NONSTANDARD_BLOCK_SIZE_BIT VkSparseImageFormatFlags = 1 << 2 )
type VkSparseImageFormatProperties ¶
type VkSparseImageFormatProperties struct {
AspectMask VkImageAspectFlags
ImageGranularity VkExtent3D
Flags VkSparseImageFormatFlags
// contains filtered or unexported fields
}
type VkSparseImageFormatProperties2 ¶
type VkSparseImageFormatProperties2 struct {
SType VkStructureType
PNext unsafe.Pointer
Properties VkSparseImageFormatProperties
// contains filtered or unexported fields
}
type VkSparseImageMemoryBind ¶
type VkSparseImageMemoryBind struct {
Subresource VkImageSubresource
Offset VkOffset3D
Extent VkExtent3D
Memory VkDeviceMemory
MemoryOffset VkDeviceSize
Flags VkSparseMemoryBindFlags
// contains filtered or unexported fields
}
type VkSparseImageMemoryBindInfo ¶
type VkSparseImageMemoryBindInfo struct {
Image VkImage
BindCount uint32
PBinds *VkSparseImageMemoryBind
// contains filtered or unexported fields
}
type VkSparseImageMemoryRequirements ¶
type VkSparseImageMemoryRequirements struct {
FormatProperties VkSparseImageFormatProperties
ImageMipTailFirstLod uint32
ImageMipTailSize VkDeviceSize
ImageMipTailOffset VkDeviceSize
ImageMipTailStride VkDeviceSize
// contains filtered or unexported fields
}
type VkSparseImageMemoryRequirements2 ¶
type VkSparseImageMemoryRequirements2 struct {
SType VkStructureType
PNext unsafe.Pointer
MemoryRequirements VkSparseImageMemoryRequirements
// contains filtered or unexported fields
}
type VkSparseImageOpaqueMemoryBindInfo ¶
type VkSparseImageOpaqueMemoryBindInfo struct {
Image VkImage
BindCount uint32
PBinds *VkSparseMemoryBind
// contains filtered or unexported fields
}
type VkSparseMemoryBind ¶
type VkSparseMemoryBind struct {
ResourceOffset VkDeviceSize
Size VkDeviceSize
Memory VkDeviceMemory
MemoryOffset VkDeviceSize
Flags VkSparseMemoryBindFlags
// contains filtered or unexported fields
}
type VkSparseMemoryBindFlagBits ¶
type VkSparseMemoryBindFlagBits = VkSparseMemoryBindFlags
type VkSparseMemoryBindFlags ¶
type VkSparseMemoryBindFlags uint32
const (
VK_SPARSE_MEMORY_BIND_METADATA_BIT VkSparseMemoryBindFlags = 1 << 0
)
type VkSpecializationInfo ¶
type VkSpecializationInfo struct {
MapEntryCount uint32
PMapEntries *VkSpecializationMapEntry
DataSize uintptr
PData unsafe.Pointer
// contains filtered or unexported fields
}
type VkStencilFaceFlagBits ¶
type VkStencilFaceFlagBits = VkStencilFaceFlags
type VkStencilFaceFlags ¶
type VkStencilFaceFlags uint32
const ( VK_STENCIL_FACE_FRONT_BIT VkStencilFaceFlags = 1 << 0 VK_STENCIL_FACE_BACK_BIT VkStencilFaceFlags = 1 << 1 VK_STENCIL_FACE_FRONT_AND_BACK VkStencilFaceFlags = 0x00000003 VK_STENCIL_FRONT_AND_BACK = VK_STENCIL_FACE_FRONT_AND_BACK )
type VkStencilOp ¶
type VkStencilOp int32
const ( VK_STENCIL_OP_KEEP VkStencilOp = 0 VK_STENCIL_OP_ZERO VkStencilOp = 1 VK_STENCIL_OP_REPLACE VkStencilOp = 2 VK_STENCIL_OP_INCREMENT_AND_CLAMP VkStencilOp = 3 VK_STENCIL_OP_DECREMENT_AND_CLAMP VkStencilOp = 4 VK_STENCIL_OP_INVERT VkStencilOp = 5 VK_STENCIL_OP_INCREMENT_AND_WRAP VkStencilOp = 6 VK_STENCIL_OP_DECREMENT_AND_WRAP VkStencilOp = 7 )
type VkStencilOpState ¶
type VkStencilOpState struct {
FailOp VkStencilOp
PassOp VkStencilOp
DepthFailOp VkStencilOp
CompareOp VkCompareOp
CompareMask uint32
WriteMask uint32
Reference uint32
// contains filtered or unexported fields
}
type VkStructureType ¶
type VkStructureType int32
const ( VK_STRUCTURE_TYPE_APPLICATION_INFO VkStructureType = 0 VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO VkStructureType = 1 VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO VkStructureType = 2 VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO VkStructureType = 3 VK_STRUCTURE_TYPE_SUBMIT_INFO VkStructureType = 4 VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO VkStructureType = 5 VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE VkStructureType = 6 VK_STRUCTURE_TYPE_BIND_SPARSE_INFO VkStructureType = 7 VK_STRUCTURE_TYPE_FENCE_CREATE_INFO VkStructureType = 8 VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO VkStructureType = 9 VK_STRUCTURE_TYPE_EVENT_CREATE_INFO VkStructureType = 10 VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO VkStructureType = 11 VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO VkStructureType = 12 VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO VkStructureType = 13 VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO VkStructureType = 14 VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO VkStructureType = 15 VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO VkStructureType = 16 VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO VkStructureType = 17 VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO VkStructureType = 18 VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO VkStructureType = 19 VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO VkStructureType = 20 VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO VkStructureType = 21 VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO VkStructureType = 22 VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO VkStructureType = 23 VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO VkStructureType = 24 VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO VkStructureType = 25 VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO VkStructureType = 26 VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO VkStructureType = 27 VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO VkStructureType = 28 VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO VkStructureType = 29 VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO VkStructureType = 30 VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO VkStructureType = 31 VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO VkStructureType = 32 VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO VkStructureType = 33 VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO VkStructureType = 34 VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET VkStructureType = 35 VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET VkStructureType = 36 VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO VkStructureType = 37 VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO VkStructureType = 38 VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO VkStructureType = 39 VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO VkStructureType = 40 VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO VkStructureType = 41 VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO VkStructureType = 42 VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO VkStructureType = 43 VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER VkStructureType = 44 VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER VkStructureType = 45 VK_STRUCTURE_TYPE_MEMORY_BARRIER VkStructureType = 46 VK_STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO VkStructureType = 47 VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO VkStructureType = 48 VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO VkStructureType = 1000157000 VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO VkStructureType = 1000157001 VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS VkStructureType = 1000127000 VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO VkStructureType = 1000127001 VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO VkStructureType = 1000060000 VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO VkStructureType = 1000060004 VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO VkStructureType = 1000060005 VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO VkStructureType = 1000060006 VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO VkStructureType = 1000060013 VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO VkStructureType = 1000060014 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES VkStructureType = 1000070000 VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO VkStructureType = 1000070001 VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2 VkStructureType = 1000146000 VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2 VkStructureType = 1000146001 VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2 VkStructureType = 1000146002 VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2 VkStructureType = 1000146003 VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2 VkStructureType = 1000146004 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2 VkStructureType = 1000059000 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2 VkStructureType = 1000059001 VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2 VkStructureType = 1000059002 VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2 VkStructureType = 1000059003 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2 VkStructureType = 1000059004 VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2 VkStructureType = 1000059005 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2 VkStructureType = 1000059006 VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2 VkStructureType = 1000059007 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2 VkStructureType = 1000059008 VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO VkStructureType = 1000117002 VK_STRUCTURE_TYPE_PROTECTED_SUBMIT_INFO VkStructureType = 1000145000 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES VkStructureType = 1000145001 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES VkStructureType = 1000145002 VK_STRUCTURE_TYPE_DEVICE_QUEUE_INFO_2 VkStructureType = 1000145003 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO VkStructureType = 1000071000 VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES VkStructureType = 1000071001 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO VkStructureType = 1000071002 VK_STRUCTURE_TYPE_EXTERNAL_BUFFER_PROPERTIES VkStructureType = 1000071003 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES VkStructureType = 1000071004 VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO VkStructureType = 1000072000 VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO VkStructureType = 1000072001 VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO VkStructureType = 1000072002 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO VkStructureType = 1000112000 VK_STRUCTURE_TYPE_EXTERNAL_FENCE_PROPERTIES VkStructureType = 1000112001 VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO VkStructureType = 1000113000 VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO VkStructureType = 1000077000 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO VkStructureType = 1000076000 VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES VkStructureType = 1000076001 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES VkStructureType = 1000094000 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES VkStructureType = 1000083000 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES VkStructureType = 1000120000 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO VkStructureType = 1000085000 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES VkStructureType = 1000168000 VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_SUPPORT VkStructureType = 1000168001 VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO VkStructureType = 1000156000 VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO VkStructureType = 1000156001 VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO VkStructureType = 1000156002 VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO VkStructureType = 1000156003 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES VkStructureType = 1000156004 VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES VkStructureType = 1000156005 VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO VkStructureType = 1000060003 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES VkStructureType = 1000117000 VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO VkStructureType = 1000117001 VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO VkStructureType = 1000117003 VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO VkStructureType = 1000053000 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES VkStructureType = 1000053001 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES VkStructureType = 1000053002 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETERS_FEATURES VkStructureType = 1000063000 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETER_FEATURES = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETERS_FEATURES VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES VkStructureType = 1000196000 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_FEATURES VkStructureType = 49 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_PROPERTIES VkStructureType = 50 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_FEATURES VkStructureType = 51 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_PROPERTIES VkStructureType = 52 VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO VkStructureType = 1000147000 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_MEMORY_MODEL_FEATURES VkStructureType = 1000211000 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES VkStructureType = 1000261000 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_FEATURES VkStructureType = 1000207000 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_PROPERTIES VkStructureType = 1000207001 VK_STRUCTURE_TYPE_SEMAPHORE_TYPE_CREATE_INFO VkStructureType = 1000207002 VK_STRUCTURE_TYPE_TIMELINE_SEMAPHORE_SUBMIT_INFO VkStructureType = 1000207003 VK_STRUCTURE_TYPE_SEMAPHORE_WAIT_INFO VkStructureType = 1000207004 VK_STRUCTURE_TYPE_SEMAPHORE_SIGNAL_INFO VkStructureType = 1000207005 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES VkStructureType = 1000257000 VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO VkStructureType = 1000244001 VK_STRUCTURE_TYPE_BUFFER_OPAQUE_CAPTURE_ADDRESS_CREATE_INFO VkStructureType = 1000257002 VK_STRUCTURE_TYPE_MEMORY_OPAQUE_CAPTURE_ADDRESS_ALLOCATE_INFO VkStructureType = 1000257003 VK_STRUCTURE_TYPE_DEVICE_MEMORY_OPAQUE_CAPTURE_ADDRESS_INFO VkStructureType = 1000257004 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES VkStructureType = 1000177000 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES VkStructureType = 1000180000 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES VkStructureType = 1000082000 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIES VkStructureType = 1000197000 VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO VkStructureType = 1000161000 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES VkStructureType = 1000161001 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES VkStructureType = 1000161002 VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO VkStructureType = 1000161003 VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT VkStructureType = 1000161004 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES VkStructureType = 1000221000 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES VkStructureType = 1000130000 VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO VkStructureType = 1000130001 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES VkStructureType = 1000253000 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_EXTENDED_TYPES_FEATURES VkStructureType = 1000175000 VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_2 VkStructureType = 1000109000 VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_2 VkStructureType = 1000109001 VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_2 VkStructureType = 1000109002 VK_STRUCTURE_TYPE_SUBPASS_DEPENDENCY_2 VkStructureType = 1000109003 VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO_2 VkStructureType = 1000109004 VK_STRUCTURE_TYPE_SUBPASS_BEGIN_INFO VkStructureType = 1000109005 VK_STRUCTURE_TYPE_SUBPASS_END_INFO VkStructureType = 1000109006 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_STENCIL_RESOLVE_PROPERTIES VkStructureType = 1000199000 VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_DEPTH_STENCIL_RESOLVE VkStructureType = 1000199001 VK_STRUCTURE_TYPE_IMAGE_STENCIL_USAGE_CREATE_INFO VkStructureType = 1000246000 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGELESS_FRAMEBUFFER_FEATURES VkStructureType = 1000108000 VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENTS_CREATE_INFO VkStructureType = 1000108001 VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENT_IMAGE_INFO VkStructureType = 1000108002 VK_STRUCTURE_TYPE_RENDER_PASS_ATTACHMENT_BEGIN_INFO VkStructureType = 1000108003 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SEPARATE_DEPTH_STENCIL_LAYOUTS_FEATURES VkStructureType = 1000241000 VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_STENCIL_LAYOUT VkStructureType = 1000241001 VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_STENCIL_LAYOUT VkStructureType = 1000241002 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_FEATURES VkStructureType = 53 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_PROPERTIES VkStructureType = 54 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TOOL_PROPERTIES VkStructureType = 1000245000 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIVATE_DATA_FEATURES VkStructureType = 1000295000 VK_STRUCTURE_TYPE_DEVICE_PRIVATE_DATA_CREATE_INFO VkStructureType = 1000295001 VK_STRUCTURE_TYPE_PRIVATE_DATA_SLOT_CREATE_INFO VkStructureType = 1000295002 VK_STRUCTURE_TYPE_MEMORY_BARRIER_2 VkStructureType = 1000314000 VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER_2 VkStructureType = 1000314001 VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER_2 VkStructureType = 1000314002 VK_STRUCTURE_TYPE_DEPENDENCY_INFO VkStructureType = 1000314003 VK_STRUCTURE_TYPE_SUBMIT_INFO_2 VkStructureType = 1000314004 VK_STRUCTURE_TYPE_SEMAPHORE_SUBMIT_INFO VkStructureType = 1000314005 VK_STRUCTURE_TYPE_COMMAND_BUFFER_SUBMIT_INFO VkStructureType = 1000314006 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES VkStructureType = 1000314007 VK_STRUCTURE_TYPE_COPY_BUFFER_INFO_2 VkStructureType = 1000337000 VK_STRUCTURE_TYPE_COPY_IMAGE_INFO_2 VkStructureType = 1000337001 VK_STRUCTURE_TYPE_COPY_BUFFER_TO_IMAGE_INFO_2 VkStructureType = 1000337002 VK_STRUCTURE_TYPE_COPY_IMAGE_TO_BUFFER_INFO_2 VkStructureType = 1000337003 VK_STRUCTURE_TYPE_BUFFER_COPY_2 VkStructureType = 1000337006 VK_STRUCTURE_TYPE_IMAGE_COPY_2 VkStructureType = 1000337007 VK_STRUCTURE_TYPE_BUFFER_IMAGE_COPY_2 VkStructureType = 1000337009 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_HDR_FEATURES VkStructureType = 1000066000 VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_3 VkStructureType = 1000360000 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_FEATURES VkStructureType = 1000413000 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_PROPERTIES VkStructureType = 1000413001 VK_STRUCTURE_TYPE_DEVICE_BUFFER_MEMORY_REQUIREMENTS VkStructureType = 1000413002 VK_STRUCTURE_TYPE_DEVICE_IMAGE_MEMORY_REQUIREMENTS VkStructureType = 1000413003 VK_STRUCTURE_TYPE_PIPELINE_CREATION_FEEDBACK_CREATE_INFO VkStructureType = 1000192000 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_TERMINATE_INVOCATION_FEATURES VkStructureType = 1000215000 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DEMOTE_TO_HELPER_INVOCATION_FEATURES VkStructureType = 1000276000 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_CREATION_CACHE_CONTROL_FEATURES VkStructureType = 1000297000 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ZERO_INITIALIZE_WORKGROUP_MEMORY_FEATURES VkStructureType = 1000325000 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ROBUSTNESS_FEATURES VkStructureType = 1000335000 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIES VkStructureType = 1000225000 VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_REQUIRED_SUBGROUP_SIZE_CREATE_INFO VkStructureType = 1000225001 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_FEATURES VkStructureType = 1000225002 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_FEATURES VkStructureType = 1000138000 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_PROPERTIES VkStructureType = 1000138001 VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_INLINE_UNIFORM_BLOCK VkStructureType = 1000138002 VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_INLINE_UNIFORM_BLOCK_CREATE_INFO VkStructureType = 1000138003 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_FEATURES VkStructureType = 1000280000 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_PROPERTIES VkStructureType = 1000280001 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_PROPERTIES VkStructureType = 1000281001 VK_STRUCTURE_TYPE_BLIT_IMAGE_INFO_2 VkStructureType = 1000337004 VK_STRUCTURE_TYPE_RESOLVE_IMAGE_INFO_2 VkStructureType = 1000337005 VK_STRUCTURE_TYPE_IMAGE_BLIT_2 VkStructureType = 1000337008 VK_STRUCTURE_TYPE_IMAGE_RESOLVE_2 VkStructureType = 1000337010 VK_STRUCTURE_TYPE_RENDERING_INFO VkStructureType = 1000044000 VK_STRUCTURE_TYPE_RENDERING_ATTACHMENT_INFO VkStructureType = 1000044001 VK_STRUCTURE_TYPE_PIPELINE_RENDERING_CREATE_INFO VkStructureType = 1000044002 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_FEATURES VkStructureType = 1000044003 VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDERING_INFO VkStructureType = 1000044004 VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR VkStructureType = 1000001000 VK_STRUCTURE_TYPE_PRESENT_INFO_KHR VkStructureType = 1000001001 VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_CAPABILITIES_KHR VkStructureType = 1000060007 VK_STRUCTURE_TYPE_IMAGE_SWAPCHAIN_CREATE_INFO_KHR VkStructureType = 1000060008 VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_SWAPCHAIN_INFO_KHR VkStructureType = 1000060009 VK_STRUCTURE_TYPE_ACQUIRE_NEXT_IMAGE_INFO_KHR VkStructureType = 1000060010 VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_INFO_KHR VkStructureType = 1000060011 VK_STRUCTURE_TYPE_DEVICE_GROUP_SWAPCHAIN_CREATE_INFO_KHR VkStructureType = 1000060012 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SURFACE_INFO_2_KHR VkStructureType = 1000119000 VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_KHR VkStructureType = 1000119001 VK_STRUCTURE_TYPE_SURFACE_FORMAT_2_KHR VkStructureType = 1000119002 VK_STRUCTURE_TYPE_METAL_SURFACE_CREATE_INFO_EXT VkStructureType = 1000217000 VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR VkStructureType = 1000009000 VK_STRUCTURE_TYPE_WAYLAND_SURFACE_CREATE_INFO_KHR VkStructureType = 1000006000 VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR VkStructureType = 1000005000 VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR VkStructureType = 1000004000 VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_NAME_INFO_EXT VkStructureType = 1000128000 VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_TAG_INFO_EXT VkStructureType = 1000128001 VK_STRUCTURE_TYPE_DEBUG_UTILS_LABEL_EXT VkStructureType = 1000128002 VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CALLBACK_DATA_EXT VkStructureType = 1000128003 VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT VkStructureType = 1000128004 VK_STRUCTURE_TYPE_HEADLESS_SURFACE_CREATE_INFO_EXT VkStructureType = 1000256000 VK_STRUCTURE_TYPE_RENDERING_INFO_KHR = VK_STRUCTURE_TYPE_RENDERING_INFO VK_STRUCTURE_TYPE_RENDERING_ATTACHMENT_INFO_KHR = VK_STRUCTURE_TYPE_RENDERING_ATTACHMENT_INFO VK_STRUCTURE_TYPE_PIPELINE_RENDERING_CREATE_INFO_KHR = VK_STRUCTURE_TYPE_PIPELINE_RENDERING_CREATE_INFO VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_FEATURES_KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_FEATURES VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDERING_INFO_KHR = VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDERING_INFO VK_STRUCTURE_TYPE_MEMORY_BARRIER_2_KHR = VK_STRUCTURE_TYPE_MEMORY_BARRIER_2 VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER_2_KHR = VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER_2 VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER_2_KHR = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER_2 VK_STRUCTURE_TYPE_DEPENDENCY_INFO_KHR = VK_STRUCTURE_TYPE_DEPENDENCY_INFO VK_STRUCTURE_TYPE_SUBMIT_INFO_2_KHR = VK_STRUCTURE_TYPE_SUBMIT_INFO_2 VK_STRUCTURE_TYPE_SEMAPHORE_SUBMIT_INFO_KHR = VK_STRUCTURE_TYPE_SEMAPHORE_SUBMIT_INFO VK_STRUCTURE_TYPE_COMMAND_BUFFER_SUBMIT_INFO_KHR = VK_STRUCTURE_TYPE_COMMAND_BUFFER_SUBMIT_INFO VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES_KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES )
type VkSubgroupFeatureFlagBits ¶
type VkSubgroupFeatureFlagBits = VkSubgroupFeatureFlags
type VkSubgroupFeatureFlags ¶
type VkSubgroupFeatureFlags uint32
const ( VK_SUBGROUP_FEATURE_BASIC_BIT VkSubgroupFeatureFlags = 1 << 0 VK_SUBGROUP_FEATURE_VOTE_BIT VkSubgroupFeatureFlags = 1 << 1 VK_SUBGROUP_FEATURE_ARITHMETIC_BIT VkSubgroupFeatureFlags = 1 << 2 VK_SUBGROUP_FEATURE_BALLOT_BIT VkSubgroupFeatureFlags = 1 << 3 VK_SUBGROUP_FEATURE_SHUFFLE_BIT VkSubgroupFeatureFlags = 1 << 4 VK_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT VkSubgroupFeatureFlags = 1 << 5 VK_SUBGROUP_FEATURE_CLUSTERED_BIT VkSubgroupFeatureFlags = 1 << 6 VK_SUBGROUP_FEATURE_QUAD_BIT VkSubgroupFeatureFlags = 1 << 7 )
type VkSubmitFlagBits ¶
type VkSubmitFlagBits = VkSubmitFlags
type VkSubmitFlagBitsKHR ¶
type VkSubmitFlagBitsKHR = VkSubmitFlagBits
type VkSubmitFlags ¶
type VkSubmitFlags uint32
const ( VK_SUBMIT_PROTECTED_BIT VkSubmitFlags = 1 << 0 VK_SUBMIT_PROTECTED_BIT_KHR = VK_SUBMIT_PROTECTED_BIT )
type VkSubmitFlagsKHR ¶
type VkSubmitFlagsKHR = VkSubmitFlags
type VkSubmitInfo ¶
type VkSubmitInfo struct {
SType VkStructureType
PNext unsafe.Pointer
WaitSemaphoreCount uint32
PWaitSemaphores *VkSemaphore
PWaitDstStageMask *VkPipelineStageFlags
CommandBufferCount uint32
PCommandBuffers *VkCommandBuffer
SignalSemaphoreCount uint32
PSignalSemaphores *VkSemaphore
// contains filtered or unexported fields
}
type VkSubmitInfo2 ¶
type VkSubmitInfo2 struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkSubmitFlags
WaitSemaphoreInfoCount uint32
PWaitSemaphoreInfos *VkSemaphoreSubmitInfo
CommandBufferInfoCount uint32
PCommandBufferInfos *VkCommandBufferSubmitInfo
SignalSemaphoreInfoCount uint32
PSignalSemaphoreInfos *VkSemaphoreSubmitInfo
// contains filtered or unexported fields
}
type VkSubmitInfo2KHR ¶
type VkSubmitInfo2KHR = VkSubmitInfo2
type VkSubpassBeginInfo ¶
type VkSubpassBeginInfo struct {
SType VkStructureType
PNext unsafe.Pointer
Contents VkSubpassContents
// contains filtered or unexported fields
}
type VkSubpassContents ¶
type VkSubpassContents int32
const ( VK_SUBPASS_CONTENTS_INLINE VkSubpassContents = 0 VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS VkSubpassContents = 1 )
type VkSubpassDependency ¶
type VkSubpassDependency struct {
SrcSubpass uint32
DstSubpass uint32
SrcStageMask VkPipelineStageFlags
DstStageMask VkPipelineStageFlags
SrcAccessMask VkAccessFlags
DstAccessMask VkAccessFlags
DependencyFlags VkDependencyFlags
// contains filtered or unexported fields
}
type VkSubpassDependency2 ¶
type VkSubpassDependency2 struct {
SType VkStructureType
PNext unsafe.Pointer
SrcSubpass uint32
DstSubpass uint32
SrcStageMask VkPipelineStageFlags
DstStageMask VkPipelineStageFlags
SrcAccessMask VkAccessFlags
DstAccessMask VkAccessFlags
DependencyFlags VkDependencyFlags
ViewOffset int32
// contains filtered or unexported fields
}
type VkSubpassDescription ¶
type VkSubpassDescription struct {
Flags VkSubpassDescriptionFlags
PipelineBindPoint VkPipelineBindPoint
InputAttachmentCount uint32
PInputAttachments *VkAttachmentReference
ColorAttachmentCount uint32
PColorAttachments *VkAttachmentReference
PResolveAttachments *VkAttachmentReference
PDepthStencilAttachment *VkAttachmentReference
PreserveAttachmentCount uint32
PPreserveAttachments *uint32
// contains filtered or unexported fields
}
type VkSubpassDescription2 ¶
type VkSubpassDescription2 struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkSubpassDescriptionFlags
PipelineBindPoint VkPipelineBindPoint
ViewMask uint32
InputAttachmentCount uint32
PInputAttachments *VkAttachmentReference2
ColorAttachmentCount uint32
PColorAttachments *VkAttachmentReference2
PResolveAttachments *VkAttachmentReference2
PDepthStencilAttachment *VkAttachmentReference2
PreserveAttachmentCount uint32
PPreserveAttachments *uint32
// contains filtered or unexported fields
}
type VkSubpassDescriptionDepthStencilResolve ¶
type VkSubpassDescriptionDepthStencilResolve struct {
SType VkStructureType
PNext unsafe.Pointer
DepthResolveMode VkResolveModeFlagBits
StencilResolveMode VkResolveModeFlagBits
PDepthStencilResolveAttachment *VkAttachmentReference2
// contains filtered or unexported fields
}
type VkSubpassDescriptionFlagBits ¶
type VkSubpassDescriptionFlagBits = VkSubpassDescriptionFlags
type VkSubpassDescriptionFlags ¶
type VkSubpassDescriptionFlags uint32
type VkSubpassEndInfo ¶
type VkSubpassEndInfo struct {
SType VkStructureType
PNext unsafe.Pointer
// contains filtered or unexported fields
}
type VkSubresourceLayout ¶
type VkSubresourceLayout struct {
Offset VkDeviceSize
Size VkDeviceSize
RowPitch VkDeviceSize
ArrayPitch VkDeviceSize
DepthPitch VkDeviceSize
// contains filtered or unexported fields
}
type VkSurfaceCapabilities2KHR ¶
type VkSurfaceCapabilities2KHR struct {
SType VkStructureType
PNext unsafe.Pointer
SurfaceCapabilities VkSurfaceCapabilitiesKHR
// contains filtered or unexported fields
}
type VkSurfaceCapabilitiesKHR ¶
type VkSurfaceCapabilitiesKHR struct {
MinImageCount uint32
MaxImageCount uint32
CurrentExtent VkExtent2D
MinImageExtent VkExtent2D
MaxImageExtent VkExtent2D
MaxImageArrayLayers uint32
SupportedTransforms VkSurfaceTransformFlagsKHR
CurrentTransform VkSurfaceTransformFlagBitsKHR
SupportedCompositeAlpha VkCompositeAlphaFlagsKHR
SupportedUsageFlags VkImageUsageFlags
// contains filtered or unexported fields
}
type VkSurfaceFormat2KHR ¶
type VkSurfaceFormat2KHR struct {
SType VkStructureType
PNext unsafe.Pointer
SurfaceFormat VkSurfaceFormatKHR
// contains filtered or unexported fields
}
type VkSurfaceFormatKHR ¶
type VkSurfaceFormatKHR struct {
Format VkFormat
ColorSpace VkColorSpaceKHR
// contains filtered or unexported fields
}
type VkSurfaceKHR ¶
type VkSurfaceKHR uintptr
type VkSurfaceTransformFlagBitsKHR ¶
type VkSurfaceTransformFlagBitsKHR = VkSurfaceTransformFlagsKHR
type VkSurfaceTransformFlagsKHR ¶
type VkSurfaceTransformFlagsKHR uint32
const ( VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR VkSurfaceTransformFlagsKHR = 1 << 0 VK_SURFACE_TRANSFORM_ROTATE_90_BIT_KHR VkSurfaceTransformFlagsKHR = 1 << 1 VK_SURFACE_TRANSFORM_ROTATE_180_BIT_KHR VkSurfaceTransformFlagsKHR = 1 << 2 VK_SURFACE_TRANSFORM_ROTATE_270_BIT_KHR VkSurfaceTransformFlagsKHR = 1 << 3 VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_BIT_KHR VkSurfaceTransformFlagsKHR = 1 << 4 VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_90_BIT_KHR VkSurfaceTransformFlagsKHR = 1 << 5 VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_180_BIT_KHR VkSurfaceTransformFlagsKHR = 1 << 6 VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_270_BIT_KHR VkSurfaceTransformFlagsKHR = 1 << 7 VK_SURFACE_TRANSFORM_INHERIT_BIT_KHR VkSurfaceTransformFlagsKHR = 1 << 8 )
type VkSwapchainCreateFlagBitsKHR ¶
type VkSwapchainCreateFlagBitsKHR = VkSwapchainCreateFlagsKHR
type VkSwapchainCreateFlagsKHR ¶
type VkSwapchainCreateFlagsKHR uint32
const ( VK_SWAPCHAIN_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT_KHR VkSwapchainCreateFlagsKHR = 1 << 0 VK_SWAPCHAIN_CREATE_PROTECTED_BIT_KHR VkSwapchainCreateFlagsKHR = 1 << 1 )
type VkSwapchainCreateInfoKHR ¶
type VkSwapchainCreateInfoKHR struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkSwapchainCreateFlagsKHR
Surface VkSurfaceKHR
MinImageCount uint32
ImageFormat VkFormat
ImageColorSpace VkColorSpaceKHR
ImageExtent VkExtent2D
ImageArrayLayers uint32
ImageUsage VkImageUsageFlags
ImageSharingMode VkSharingMode
QueueFamilyIndexCount uint32
PQueueFamilyIndices *uint32
PreTransform VkSurfaceTransformFlagBitsKHR
CompositeAlpha VkCompositeAlphaFlagBitsKHR
PresentMode VkPresentModeKHR
Clipped VkBool32
OldSwapchain VkSwapchainKHR
// contains filtered or unexported fields
}
type VkSwapchainKHR ¶
type VkSwapchainKHR uintptr
type VkSystemAllocationScope ¶
type VkSystemAllocationScope int32
const ( VK_SYSTEM_ALLOCATION_SCOPE_COMMAND VkSystemAllocationScope = 0 VK_SYSTEM_ALLOCATION_SCOPE_OBJECT VkSystemAllocationScope = 1 VK_SYSTEM_ALLOCATION_SCOPE_CACHE VkSystemAllocationScope = 2 VK_SYSTEM_ALLOCATION_SCOPE_DEVICE VkSystemAllocationScope = 3 VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE VkSystemAllocationScope = 4 )
type VkTessellationDomainOrigin ¶
type VkTessellationDomainOrigin int32
const ( VK_TESSELLATION_DOMAIN_ORIGIN_UPPER_LEFT VkTessellationDomainOrigin = 0 VK_TESSELLATION_DOMAIN_ORIGIN_LOWER_LEFT VkTessellationDomainOrigin = 1 )
type VkToolPurposeFlagBits ¶
type VkToolPurposeFlagBits = VkToolPurposeFlags
type VkToolPurposeFlags ¶
type VkToolPurposeFlags uint32
const ( VK_TOOL_PURPOSE_VALIDATION_BIT VkToolPurposeFlags = 1 << 0 VK_TOOL_PURPOSE_PROFILING_BIT VkToolPurposeFlags = 1 << 1 VK_TOOL_PURPOSE_TRACING_BIT VkToolPurposeFlags = 1 << 2 VK_TOOL_PURPOSE_ADDITIONAL_FEATURES_BIT VkToolPurposeFlags = 1 << 3 VK_TOOL_PURPOSE_MODIFYING_FEATURES_BIT VkToolPurposeFlags = 1 << 4 )
type VkVendorId ¶
type VkVendorId int32
const ( VK_VENDOR_ID_KHRONOS VkVendorId = 0x10000 VK_VENDOR_ID_VIV VkVendorId = 0x10001 VK_VENDOR_ID_VSI VkVendorId = 0x10002 VK_VENDOR_ID_KAZAN VkVendorId = 0x10003 VK_VENDOR_ID_CODEPLAY VkVendorId = 0x10004 VK_VENDOR_ID_MESA VkVendorId = 0x10005 VK_VENDOR_ID_POCL VkVendorId = 0x10006 VK_VENDOR_ID_MOBILEYE VkVendorId = 0x10007 )
type VkVertexInputBindingDescription ¶
type VkVertexInputBindingDescription struct {
Binding uint32
Stride uint32
InputRate VkVertexInputRate
// contains filtered or unexported fields
}
type VkVertexInputRate ¶
type VkVertexInputRate int32
const ( VK_VERTEX_INPUT_RATE_VERTEX VkVertexInputRate = 0 VK_VERTEX_INPUT_RATE_INSTANCE VkVertexInputRate = 1 )
type VkViewport ¶
type VkWaylandSurfaceCreateFlagsKHR ¶
type VkWaylandSurfaceCreateFlagsKHR uint32
type VkWaylandSurfaceCreateInfoKHR ¶
type VkWaylandSurfaceCreateInfoKHR struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkWaylandSurfaceCreateFlagsKHR
Display unsafe.Pointer
Surface unsafe.Pointer
// contains filtered or unexported fields
}
type VkWin32SurfaceCreateFlagsKHR ¶
type VkWin32SurfaceCreateFlagsKHR uint32
type VkWin32SurfaceCreateInfoKHR ¶
type VkWin32SurfaceCreateInfoKHR struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkWin32SurfaceCreateFlagsKHR
Hinstance uintptr
Hwnd uintptr
// contains filtered or unexported fields
}
type VkWriteDescriptorSet ¶
type VkWriteDescriptorSet struct {
SType VkStructureType
PNext unsafe.Pointer
DstSet VkDescriptorSet
DstBinding uint32
DstArrayElement uint32
DescriptorCount uint32
DescriptorType VkDescriptorType
PImageInfo *VkDescriptorImageInfo
PBufferInfo *VkDescriptorBufferInfo
PTexelBufferView *VkBufferView
// contains filtered or unexported fields
}
type VkXcbSurfaceCreateFlagsKHR ¶
type VkXcbSurfaceCreateFlagsKHR uint32
type VkXcbSurfaceCreateInfoKHR ¶
type VkXcbSurfaceCreateInfoKHR struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkXcbSurfaceCreateFlagsKHR
Connection unsafe.Pointer
Window uint32
// contains filtered or unexported fields
}
type VkXlibSurfaceCreateFlagsKHR ¶
type VkXlibSurfaceCreateFlagsKHR uint32
type VkXlibSurfaceCreateInfoKHR ¶
type VkXlibSurfaceCreateInfoKHR struct {
SType VkStructureType
PNext unsafe.Pointer
Flags VkXlibSurfaceCreateFlagsKHR
Dpy unsafe.Pointer
Window uint64
// contains filtered or unexported fields
}