Class VkBaseOutStructure

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkBaseOutStructure>
org.lwjgl.vulkan.VkBaseOutStructure
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkBaseOutStructure extends org.lwjgl.system.Struct<VkBaseOutStructure> implements org.lwjgl.system.NativeResource
Base structure for a read-only pointer chain.
Description

VkBaseOutStructure can be used to facilitate iterating through a structure pointer chain that returns data back to the application.

See Also

VkBaseOutStructure, GetPipelinePropertiesEXT

Layout


 struct VkBaseOutStructure {
     VkStructureType sType();
     VkBaseOutStructure * pNext();
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • STYPE

      public static final int STYPE
      The struct member offsets.
    • PNEXT

      public static final int PNEXT
      The struct member offsets.
  • Constructor Details

    • VkBaseOutStructure

      public VkBaseOutStructure(ByteBuffer container)
      Creates a VkBaseOutStructure 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.

  • Method Details