Class VkExternalMemoryBufferCreateInfo

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

    public class VkExternalMemoryBufferCreateInfo
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Specify that a buffer 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 VkExternalMemoryBufferCreateInfo {
         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

      • VkExternalMemoryBufferCreateInfo

        public VkExternalMemoryBufferCreateInfo​(java.nio.ByteBuffer container)
        Creates a VkExternalMemoryBufferCreateInfo 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.