Class VkBufferMemoryRequirementsInfo2

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

    public class VkBufferMemoryRequirementsInfo2
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    (None).
    Valid Usage (Implicit)
    See Also

    GetBufferMemoryRequirements2, GetBufferMemoryRequirements2KHR

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • buffer – the buffer to query.

    Layout

    
     struct VkBufferMemoryRequirementsInfo2 {
         VkStructureType sType;
         void const * pNext;
         VkBuffer buffer;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

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

        The struct member offsets.
    • Constructor Detail

      • VkBufferMemoryRequirementsInfo2

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