Class VkBaseInStructure

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

    public class VkBaseInStructure
    extends Struct
    implements NativeResource
    Base structure for a read-only pointer chain.

    VkBaseInStructure can be used to facilitate iterating through a read-only structure pointer chain.

    See Also


    Member documentation

    • sType – the structure type of the structure being iterated through.
    • pNextNULL or a pointer to the next structure in a structure chain.


     struct VkBaseInStructure {
         VkStructureType sType;
         VkBaseInStructure * pNext;
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT

        The struct member offsets.
    • Constructor Detail

      • VkBaseInStructure

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