Class VkSubmitInfo.Buffer

  • All Implemented Interfaces:
    java.lang.AutoCloseable, java.lang.Iterable<VkSubmitInfo>, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer
    Enclosing class:
    VkSubmitInfo

    public static class VkSubmitInfo.Buffer
    extends org.lwjgl.system.StructBuffer<VkSubmitInfo,VkSubmitInfo.Buffer>
    implements org.lwjgl.system.NativeResource
    An array of VkSubmitInfo structs.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer

        org.lwjgl.system.Pointer.Default
    • Field Summary

      • Fields inherited from interface org.lwjgl.system.Pointer

        BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
    • Constructor Summary

      Constructors 
      Constructor Description
      Buffer​(long address, int cap)  
      Buffer​(java.nio.ByteBuffer container)
      Creates a new VkSubmitInfo.Buffer instance backed by the specified container.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int commandBufferCount()
      Returns the value of the commandBufferCount field.
      org.lwjgl.PointerBuffer pCommandBuffers()
      Returns a PointerBuffer view of the data pointed to by the pCommandBuffers field.
      VkSubmitInfo.Buffer pCommandBuffers​(org.lwjgl.PointerBuffer value)
      Sets the address of the specified PointerBuffer to the pCommandBuffers field.
      long pNext()
      Returns the value of the pNext field.
      VkSubmitInfo.Buffer pNext​(long value)
      Sets the specified value to the pNext field.
      java.nio.LongBuffer pSignalSemaphores()
      Returns a LongBuffer view of the data pointed to by the pSignalSemaphores field.
      VkSubmitInfo.Buffer pSignalSemaphores​(java.nio.LongBuffer value)
      Sets the address of the specified LongBuffer to the pSignalSemaphores field.
      java.nio.IntBuffer pWaitDstStageMask()
      Returns a IntBuffer view of the data pointed to by the pWaitDstStageMask field.
      VkSubmitInfo.Buffer pWaitDstStageMask​(java.nio.IntBuffer value)
      Sets the address of the specified IntBuffer to the pWaitDstStageMask field.
      java.nio.LongBuffer pWaitSemaphores()
      Returns a LongBuffer view of the data pointed to by the pWaitSemaphores field.
      VkSubmitInfo.Buffer pWaitSemaphores​(java.nio.LongBuffer value)
      Sets the address of the specified LongBuffer to the pWaitSemaphores field.
      int signalSemaphoreCount()
      Returns the value of the signalSemaphoreCount field.
      int sType()
      Returns the value of the sType field.
      VkSubmitInfo.Buffer sType​(int value)
      Sets the specified value to the sType field.
      int waitSemaphoreCount()
      Returns the value of the waitSemaphoreCount field.
      VkSubmitInfo.Buffer waitSemaphoreCount​(int value)
      Sets the specified value to the waitSemaphoreCount field.
      • Methods inherited from class org.lwjgl.system.CustomBuffer

        address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toString
      • Methods inherited from interface org.lwjgl.system.NativeResource

        close, free
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from class org.lwjgl.system.Pointer.Default

        equals, hashCode
      • Methods inherited from class org.lwjgl.system.StructBuffer

        apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
    • Constructor Detail

      • Buffer

        public Buffer​(java.nio.ByteBuffer container)
        Creates a new VkSubmitInfo.Buffer instance backed by the specified container. Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by VkSubmitInfo.SIZEOF, and its mark will be undefined.

        The created buffer instance holds a strong reference to the container object.

      • Buffer

        public Buffer​(long address,
                      int cap)
    • Method Detail

      • sType

        public int sType()
        Returns the value of the sType field.
      • pNext

        public long pNext()
        Returns the value of the pNext field.
      • waitSemaphoreCount

        public int waitSemaphoreCount()
        Returns the value of the waitSemaphoreCount field.
      • pWaitSemaphores

        @Nullable
        public java.nio.LongBuffer pWaitSemaphores()
        Returns a LongBuffer view of the data pointed to by the pWaitSemaphores field.
      • pWaitDstStageMask

        @Nullable
        public java.nio.IntBuffer pWaitDstStageMask()
        Returns a IntBuffer view of the data pointed to by the pWaitDstStageMask field.
      • commandBufferCount

        public int commandBufferCount()
        Returns the value of the commandBufferCount field.
      • pCommandBuffers

        @Nullable
        public org.lwjgl.PointerBuffer pCommandBuffers()
        Returns a PointerBuffer view of the data pointed to by the pCommandBuffers field.
      • signalSemaphoreCount

        public int signalSemaphoreCount()
        Returns the value of the signalSemaphoreCount field.
      • pSignalSemaphores

        @Nullable
        public java.nio.LongBuffer pSignalSemaphores()
        Returns a LongBuffer view of the data pointed to by the pSignalSemaphores field.
      • sType

        public VkSubmitInfo.Buffer sType​(int value)
        Sets the specified value to the sType field.
      • pNext

        public VkSubmitInfo.Buffer pNext​(long value)
        Sets the specified value to the pNext field.
      • waitSemaphoreCount

        public VkSubmitInfo.Buffer waitSemaphoreCount​(int value)
        Sets the specified value to the waitSemaphoreCount field.
      • pWaitSemaphores

        public VkSubmitInfo.Buffer pWaitSemaphores​(@Nullable
                                                   java.nio.LongBuffer value)
        Sets the address of the specified LongBuffer to the pWaitSemaphores field.
      • pWaitDstStageMask

        public VkSubmitInfo.Buffer pWaitDstStageMask​(@Nullable
                                                     java.nio.IntBuffer value)
        Sets the address of the specified IntBuffer to the pWaitDstStageMask field.
      • pCommandBuffers

        public VkSubmitInfo.Buffer pCommandBuffers​(@Nullable
                                                   org.lwjgl.PointerBuffer value)
        Sets the address of the specified PointerBuffer to the pCommandBuffers field.
      • pSignalSemaphores

        public VkSubmitInfo.Buffer pSignalSemaphores​(@Nullable
                                                     java.nio.LongBuffer value)
        Sets the address of the specified LongBuffer to the pSignalSemaphores field.