Class VulkanImageDesc

java.lang.Object
icyllis.arc3d.engine.ImageDesc
icyllis.arc3d.vulkan.VulkanImageDesc

public final class VulkanImageDesc extends ImageDesc
Descriptor to create Vulkan images.

When wrapping a BackendImage or BackendRenderTarget, the

invalid reference
#mCurrentQueueFamily
should either be
invalid reference
VKUtil#VK_QUEUE_FAMILY_IGNORED
,
invalid reference
VKUtil#VK_QUEUE_FAMILY_EXTERNAL
, or EXTQueueFamilyForeign.VK_QUEUE_FAMILY_FOREIGN_EXT. If mSharingMode is
invalid reference
VKUtil#VK_SHARING_MODE_EXCLUSIVE
, then
invalid reference
#mCurrentQueueFamily
can also be the graphics queue index passed into pipeline.

When importing external memory,

invalid reference
#mMemoryHandle
is POSIX file descriptor or Win32 NT handle (though HANDLE is defined as void*, we can safely truncate it because Win32 handles are 32-bit significant). If it is an NT handle, it must be released manually by the memory exporter (e.g. Vulkan).
  • Field Details

    • mVkFlags

      public final int mVkFlags
    • mVkImageType

      public final int mVkImageType
    • mFormat

      public final int mFormat
    • mImageTiling

      public final int mImageTiling
    • mImageUsageFlags

      public final int mImageUsageFlags
    • mSharingMode

      public final int mSharingMode
  • Constructor Details

    • VulkanImageDesc

      public VulkanImageDesc(int vkFlags, int vkImageType, int format, int imageTiling, int imageUsageFlags, int sharingMode, int imageType, int width, int height, int depth, int arraySize, int mipLevelCount, int sampleCount, int flags)
  • Method Details