Package icyllis.arc3d.vulkan
package icyllis.arc3d.vulkan
Vulkan.
-
ClassDescriptionThe
VkBackendContext
contains all the base Vulkan objects needed by theVulkanDevice
.Provides native interfaces of Vulkan 1.1 core and user-defined utilities.Holds Vulkan memory allocation information.When importing external memory,VulkanBackendImage.mMemoryHandle
is POSIX file descriptor or Win32 NT handle (thoughHANDLE
is defined asvoid*
, we can safely truncate it because Win32 handles are 32-bit significant).VkCommandPool is created with a single primary command buffer and (optional) a set of secondary command buffers.Represents Vulkan images, can be used as textures or attachments.When wrapping aBackendImage
orBackendRenderTarget
, theVulkanImageDesc.mCurrentQueueFamily
should either beVK10.VK_QUEUE_FAMILY_IGNORED
,VK10.VK_QUEUE_FAMILY_EXTERNAL
, orEXTQueueFamilyForeign.VK_QUEUE_FAMILY_FOREIGN_EXT
.AMD vulkan memory.