Class VkSubpassEndInfo

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkSubpassEndInfo>
org.lwjgl.vulkan.VkSubpassEndInfo
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer
Direct Known Subclasses:
VkSubpassEndInfoKHR

public class VkSubpassEndInfo extends org.lwjgl.system.Struct<VkSubpassEndInfo> implements org.lwjgl.system.NativeResource
Structure specifying subpass end information.
Valid Usage (Implicit)
See Also

CmdEndRenderPass2, CmdEndRenderPass2KHR, CmdNextSubpass2, CmdNextSubpass2KHR

Layout


 struct VkSubpassEndInfo {
     VkStructureType sType();
     void const * 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

    • VkSubpassEndInfo

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

    • sizeof

      public int sizeof()
      Specified by:
      sizeof in class org.lwjgl.system.Struct<VkSubpassEndInfo>
    • sType

      public int sType()
      a VkStructureType value identifying this structure.
    • pNext

      public long pNext()
      NULL or a pointer to a structure extending this structure.
    • sType

      public VkSubpassEndInfo sType(int value)
      Sets the specified value to the sType() field.
    • sType$Default

      public VkSubpassEndInfo sType$Default()
      Sets the STRUCTURE_TYPE_SUBPASS_END_INFO value to the sType() field.
    • pNext

      public VkSubpassEndInfo pNext(long value)
      Sets the specified value to the pNext() field.
    • pNext

      Prepends the specified VkSubpassFragmentDensityMapOffsetEndInfoQCOM value to the pNext chain.
    • set

      public VkSubpassEndInfo set(int sType, long pNext)
      Initializes this struct with the specified values.
    • set

      Copies the specified struct data to this struct.
      Parameters:
      src - the source struct
      Returns:
      this struct
    • malloc

      public static VkSubpassEndInfo malloc()
      Returns a new VkSubpassEndInfo instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

      public static VkSubpassEndInfo calloc()
      Returns a new VkSubpassEndInfo instance allocated with memCalloc. The instance must be explicitly freed.
    • create

      public static VkSubpassEndInfo create()
      Returns a new VkSubpassEndInfo instance allocated with BufferUtils.
    • create

      public static VkSubpassEndInfo create(long address)
      Returns a new VkSubpassEndInfo instance for the specified memory address.
    • createSafe

      public static @Nullable VkSubpassEndInfo createSafe(long address)
      Like create, but returns null if address is NULL.
    • malloc

      public static VkSubpassEndInfo.Buffer malloc(int capacity)
      Returns a new VkSubpassEndInfo.Buffer instance allocated with memAlloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • calloc

      public static VkSubpassEndInfo.Buffer calloc(int capacity)
      Returns a new VkSubpassEndInfo.Buffer instance allocated with memCalloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • create

      public static VkSubpassEndInfo.Buffer create(int capacity)
      Returns a new VkSubpassEndInfo.Buffer instance allocated with BufferUtils.
      Parameters:
      capacity - the buffer capacity
    • create

      public static VkSubpassEndInfo.Buffer create(long address, int capacity)
      Create a VkSubpassEndInfo.Buffer instance at the specified memory.
      Parameters:
      address - the memory address
      capacity - the buffer capacity
    • createSafe

      public static @Nullable VkSubpassEndInfo.Buffer createSafe(long address, int capacity)
      Like create, but returns null if address is NULL.
    • malloc

      public static VkSubpassEndInfo malloc(org.lwjgl.system.MemoryStack stack)
      Returns a new VkSubpassEndInfo instance allocated on the specified MemoryStack.
      Parameters:
      stack - the stack from which to allocate
    • calloc

      public static VkSubpassEndInfo calloc(org.lwjgl.system.MemoryStack stack)
      Returns a new VkSubpassEndInfo instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      stack - the stack from which to allocate
    • malloc

      public static VkSubpassEndInfo.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
      Returns a new VkSubpassEndInfo.Buffer instance allocated on the specified MemoryStack.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • calloc

      public static VkSubpassEndInfo.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
      Returns a new VkSubpassEndInfo.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • nsType

      public static int nsType(long struct)
      Unsafe version of sType().
    • npNext

      public static long npNext(long struct)
      Unsafe version of pNext().
    • nsType

      public static void nsType(long struct, int value)
      Unsafe version of sType.
    • npNext

      public static void npNext(long struct, long value)
      Unsafe version of pNext.