openharmony 鸿蒙 vulkan

2025-06-12 浏览 (1)

Vulkan Capabilities

Vulkan is a set of 2D and 3D rendering APIs that feature cross-platform and high-performance. OpenHarmony now supports Vulkan v1.3.231.

Supported Standard APIs

The table below lists the supported APIs of Vulkan v1.3.231.

TypeSymbol
FUNCvkAcquireNextImage2KHR
FUNCvkAcquireNextImageKHR
FUNCvkAllocateCommandBuffers
FUNCvkAllocateDescriptorSets
FUNCvkAllocateMemory
FUNCvkBeginCommandBuffer
FUNCvkBindBufferMemory
FUNCvkBindBufferMemory2
FUNCvkBindImageMemory
FUNCvkBindImageMemory2
FUNCvkCmdBeginQuery
FUNCvkCmdBeginRendering
FUNCvkCmdBeginRenderPass
FUNCvkCmdBeginRenderPass2
FUNCvkCmdBindDescriptorSets
FUNCvkCmdBindIndexBuffer
FUNCvkCmdBindPipeline
FUNCvkCmdBindVertexBuffers
FUNCvkCmdBindVertexBuffers2
FUNCvkCmdBlitImage
FUNCvkCmdBlitImage2
FUNCvkCmdClearAttachments
FUNCvkCmdClearColorImage
FUNCvkCmdClearDepthStencilImage
FUNCvkCmdCopyBuffer
FUNCvkCmdCopyBuffer2
FUNCvkCmdCopyBufferToImage
FUNCvkCmdCopyBufferToImage2
FUNCvkCmdCopyImage
FUNCvkCmdCopyImage2
FUNCvkCmdCopyImageToBuffer
FUNCvkCmdCopyImageToBuffer2
FUNCvkCmdCopyQueryPoolResults
FUNCvkCmdDispatch
FUNCvkCmdDispatchBase
FUNCvkCmdDispatchIndirect
FUNCvkCmdDraw
FUNCvkCmdDrawIndexed
FUNCvkCmdDrawIndexedIndirect
FUNCvkCmdDrawIndexedIndirectCount
FUNCvkCmdDrawIndirect
FUNCvkCmdDrawIndirectCount
FUNCvkCmdEndQuery
FUNCvkCmdEndRendering
FUNCvkCmdEndRenderPass
FUNCvkCmdEndRenderPass2
FUNCvkCmdExecuteCommands
FUNCvkCmdFillBuffer
FUNCvkCmdNextSubpass
FUNCvkCmdNextSubpass2
FUNCvkCmdPipelineBarrier
FUNCvkCmdPipelineBarrier2
FUNCvkCmdPushConstants
FUNCvkCmdResetEvent
FUNCvkCmdResetEvent2
FUNCvkCmdResetQueryPool
FUNCvkCmdResolveImage
FUNCvkCmdResolveImage2
FUNCvkCmdSetBlendConstants
FUNCvkCmdSetCullMode
FUNCvkCmdSetDepthBias
FUNCvkCmdSetDepthBiasEnable
FUNCvkCmdSetDepthBounds
FUNCvkCmdSetDepthBoundsTestEnable
FUNCvkCmdSetDepthCompareOp
FUNCvkCmdSetDepthTestEnable
FUNCvkCmdSetDepthWriteEnable
FUNCvkCmdSetDeviceMask
FUNCvkCmdSetEvent
FUNCvkCmdSetEvent2
FUNCvkCmdSetFrontFace
FUNCvkCmdSetLineWidth
FUNCvkCmdSetPrimitiveRestartEnable
FUNCvkCmdSetPrimitiveTopology
FUNCvkCmdSetRasterizerDiscardEnable
FUNCvkCmdSetScissor
FUNCvkCmdSetScissorWithCount
FUNCvkCmdSetStencilCompareMask
FUNCvkCmdSetStencilOp
FUNCvkCmdSetStencilReference
FUNCvkCmdSetStencilTestEnable
FUNCvkCmdSetStencilWriteMask
FUNCvkCmdSetViewport
FUNCvkCmdSetViewportWithCount
FUNCvkCmdUpdateBuffer
FUNCvkCmdWaitEvents
FUNCvkCmdWaitEvents2
FUNCvkCmdWriteTimestamp
FUNCvkCmdWriteTimestamp2
FUNCvkCreateBuffer
FUNCvkCreateBufferView
FUNCvkCreateCommandPool
FUNCvkCreateComputePipelines
FUNCvkCreateDescriptorPool
FUNCvkCreateDescriptorSetLayout
FUNCvkCreateDescriptorUpdateTemplate
FUNCvkCreateDevice
FUNCvkCreateDisplayModeKHR
FUNCvkCreateDisplayPlaneSurfaceKHR
FUNCvkCreateEvent
FUNCvkCreateFence
FUNCvkCreateFramebuffer
FUNCvkCreateGraphicsPipelines
FUNCvkCreateImage
FUNCvkCreateImageView
FUNCvkCreateInstance
FUNCvkCreatePipelineCache
FUNCvkCreatePipelineLayout
FUNCvkCreatePrivateDataSlot
FUNCvkCreateQueryPool
FUNCvkCreateRenderPass
FUNCvkCreateRenderPass2
FUNCvkCreateSampler
FUNCvkCreateSamplerYcbcrConversion
FUNCvkCreateSemaphore
FUNCvkCreateShaderModule
FUNCvkCreateSharedSwapchainsKHR
FUNCvkCreateSwapchainKHR
FUNCvkDestroyBuffer
FUNCvkDestroyBufferView
FUNCvkDestroyCommandPool
FUNCvkDestroyDescriptorPool
FUNCvkDestroyDescriptorSetLayout
FUNCvkDestroyDescriptorUpdateTemplate
FUNCvkDestroyDevice
FUNCvkDestroyEvent
FUNCvkDestroyFence
FUNCvkDestroyFramebuffer
FUNCvkDestroyImage
FUNCvkDestroyImageView
FUNCvkDestroyInstance
FUNCvkDestroyPipeline
FUNCvkDestroyPipelineCache
FUNCvkDestroyPipelineLayout
FUNCvkDestroyPrivateDataSlot
FUNCvkDestroyQueryPool
FUNCvkDestroyRenderPass
FUNCvkDestroySampler
FUNCvkDestroySamplerYcbcrConversion
FUNCvkDestroySemaphore
FUNCvkDestroyShaderModule
FUNCvkDestroySurfaceKHR
FUNCvkDestroySwapchainKHR
FUNCvkDeviceWaitIdle
FUNCvkEndCommandBuffer
FUNCvkEnumerateDeviceExtensionProperties
FUNCvkEnumerateDeviceLayerProperties
FUNCvkEnumerateInstanceExtensionProperties
FUNCvkEnumerateInstanceLayerProperties
FUNCvkEnumerateInstanceVersion
FUNCvkEnumeratePhysicalDeviceGroups
FUNCvkEnumeratePhysicalDevices
FUNCvkFlushMappedMemoryRanges
FUNCvkFreeCommandBuffers
FUNCvkFreeDescriptorSets
FUNCvkFreeMemory
FUNCvkGetBufferDeviceAddress
FUNCvkGetBufferMemoryRequirements
FUNCvkGetBufferMemoryRequirements2
FUNCvkGetBufferOpaqueCaptureAddress
FUNCvkGetDescriptorSetLayoutSupport
FUNCvkGetDeviceBufferMemoryRequirements
FUNCvkGetDeviceGroupPeerMemoryFeatures
FUNCvkGetDeviceGroupPresentCapabilitiesKHR
FUNCvkGetDeviceGroupSurfacePresentModesKHR
FUNCvkGetDeviceImageMemoryRequirements
FUNCvkGetDeviceImageSparseMemoryRequirements
FUNCvkGetDeviceMemoryCommitment
FUNCvkGetDeviceMemoryOpaqueCaptureAddress
FUNCvkGetDeviceProcAddr
FUNCvkGetDeviceQueue
FUNCvkGetDeviceQueue2
FUNCvkGetDisplayModeProperties2KHR
FUNCvkGetDisplayModePropertiesKHR
FUNCvkGetDisplayPlaneCapabilities2KHR
FUNCvkGetDisplayPlaneCapabilitiesKHR
FUNCvkGetDisplayPlaneSupportedDisplaysKHR
FUNCvkGetEventStatus
FUNCvkGetFenceStatus
FUNCvkGetImageMemoryRequirements
FUNCvkGetImageMemoryRequirements2
FUNCvkGetImageSparseMemoryRequirements
FUNCvkGetImageSparseMemoryRequirements2
FUNCvkGetImageSubresourceLayout
FUNCvkGetInstanceProcAddr
FUNCvkGetPhysicalDeviceDisplayPlaneProperties2KHR
FUNCvkGetPhysicalDeviceDisplayPlanePropertiesKHR
FUNCvkGetPhysicalDeviceDisplayProperties2KHR
FUNCvkGetPhysicalDeviceDisplayPropertiesKHR
FUNCvkGetPhysicalDeviceExternalBufferProperties
FUNCvkGetPhysicalDeviceExternalFenceProperties
FUNCvkGetPhysicalDeviceExternalSemaphoreProperties
FUNCvkGetPhysicalDeviceFeatures
FUNCvkGetPhysicalDeviceFeatures2
FUNCvkGetPhysicalDeviceFormatProperties
FUNCvkGetPhysicalDeviceFormatProperties2
FUNCvkGetPhysicalDeviceImageFormatProperties
FUNCvkGetPhysicalDeviceImageFormatProperties2
FUNCvkGetPhysicalDeviceMemoryProperties
FUNCvkGetPhysicalDeviceMemoryProperties2
FUNCvkGetPhysicalDevicePresentRectanglesKHR
FUNCvkGetPhysicalDeviceProperties
FUNCvkGetPhysicalDeviceProperties2
FUNCvkGetPhysicalDeviceQueueFamilyProperties
FUNCvkGetPhysicalDeviceQueueFamilyProperties2
FUNCvkGetPhysicalDeviceSparseImageFormatProperties
FUNCvkGetPhysicalDeviceSparseImageFormatProperties2
FUNCvkGetPhysicalDeviceSurfaceCapabilities2KHR
FUNCvkGetPhysicalDeviceSurfaceCapabilitiesKHR
FUNCvkGetPhysicalDeviceSurfaceFormats2KHR
FUNCvkGetPhysicalDeviceSurfaceFormatsKHR
FUNCvkGetPhysicalDeviceSurfacePresentModesKHR
FUNCvkGetPhysicalDeviceSurfaceSupportKHR
FUNCvkGetPhysicalDeviceToolProperties
FUNCvkGetPipelineCacheData
FUNCvkGetPrivateData
FUNCvkGetQueryPoolResults
FUNCvkGetRenderAreaGranularity
FUNCvkGetSemaphoreCounterValue
FUNCvkGetSwapchainImagesKHR
FUNCvkInvalidateMappedMemoryRanges
FUNCvkMapMemory
FUNCvkMergePipelineCaches
FUNCvkQueueBindSparse
FUNCvkQueuePresentKHR
FUNCvkQueueSubmit
FUNCvkQueueSubmit2
FUNCvkQueueWaitIdle
FUNCvkResetCommandBuffer
FUNCvkResetCommandPool
FUNCvkResetDescriptorPool
FUNCvkResetEvent
FUNCvkResetFences
FUNCvkResetQueryPool
FUNCvkSetEvent
FUNCvkSetPrivateData
FUNCvkSignalSemaphore
FUNCvkTrimCommandPool
FUNCvkUnmapMemory
FUNCvkUpdateDescriptorSets
FUNCvkUpdateDescriptorSetWithTemplate
FUNCvkWaitForFences
FUNCvkWaitSemaphores

Extended APIs in OpenHarmony

In addition to the standard APIs, OpenHarmony provides extended APIs for creating a Vulkan surface using OHNativeWindow and obtaining OH_NativeBuffer and OH_NativeBuffer properties.

TypeSymbol
FUNCvkCreateSurfaceOHOS
FUNCvkGetNativeBufferPropertiesOHOS
FUNCvkGetMemoryNativeBufferOHOS

For details about the extended APIs, see Vulkan Module.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Native API Standard Libraries

harmony 鸿蒙VkExternalFormatOHOS

harmony 鸿蒙VkImportNativeBufferInfoOHOS

harmony 鸿蒙VkMemoryGetNativeBufferInfoOHOS

harmony 鸿蒙VkNativeBufferFormatPropertiesOHOS

harmony 鸿蒙VkNativeBufferPropertiesOHOS

harmony 鸿蒙VkNativeBufferUsageOHOS

harmony 鸿蒙VkSurfaceCreateInfoOHOS

harmony 鸿蒙Vulkan Module

harmony 鸿蒙libc++

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/ITjqOO