Class VkExternalMemoryImageCreateInfo

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer
    Direct Known Subclasses:
    VkExternalMemoryImageCreateInfoKHR

    public class VkExternalMemoryImageCreateInfo
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Specify that an image may be backed by external memory.
    Valid Usage (Implicit)

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • handleTypes – a bitmask of VkExternalMemoryHandleTypeFlagBits specifying one or more external memory handle types.

    Layout

    
     struct VkExternalMemoryImageCreateInfo {
         VkStructureType sType;
         void const * pNext;
         VkExternalMemoryHandleTypeFlags handleTypes;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, HANDLETYPES

        The struct member offsets.
    • Constructor Detail

      • VkExternalMemoryImageCreateInfo

        public VkExternalMemoryImageCreateInfo​(java.nio.ByteBuffer container)
        Creates a VkExternalMemoryImageCreateInfo instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

        The created instance holds a strong reference to the container object.