Class VkCheckpointData2NV

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, STAGE, PCHECKPOINTMARKER

        The struct member offsets.
    • Constructor Detail

      • VkCheckpointData2NV

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

      • sizeof

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

        public int sType()
        the type of this structure.
      • pNext

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

        public long stage()
        indicates a single pipeline stage which the checkpoint marker data refers to.
      • pCheckpointMarker

        public long pCheckpointMarker()
        contains the value of the last checkpoint marker executed in the stage that stage refers to.
      • set

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

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

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

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

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

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

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

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

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

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

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

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

        public static long nstage​(long struct)
        Unsafe version of stage().
      • npCheckpointMarker

        public static long npCheckpointMarker​(long struct)
        Unsafe version of pCheckpointMarker().
      • 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.