Class VkMemoryHostPointerPropertiesEXT

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

    public class VkMemoryHostPointerPropertiesEXT
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Properties of external memory host pointer.
    Description

    The value returned by memoryTypeBits must only include bits that identify memory types which are host visible.

    Valid Usage (Implicit)
    See Also

    GetMemoryHostPointerPropertiesEXT

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • memoryTypeBits – a bitmask containing one bit set for every memory type which the specified host pointer can be imported as.

    Layout

    
     struct VkMemoryHostPointerPropertiesEXT {
         VkStructureType sType;
         void * pNext;
         uint32_t memoryTypeBits;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

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

        The struct member offsets.
    • Constructor Detail

      • VkMemoryHostPointerPropertiesEXT

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