Package org.lwjgl.vulkan
Class VkSubmitInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.StructBuffer<VkSubmitInfo,VkSubmitInfo.Buffer>
-
- org.lwjgl.vulkan.VkSubmitInfo.Buffer
-
- All Implemented Interfaces:
- java.lang.AutoCloseable, NativeResource, Pointer
- Enclosing class:
- VkSubmitInfo
public static final class VkSubmitInfo.Buffer extends StructBuffer<VkSubmitInfo,VkSubmitInfo.Buffer>
An array ofVkSubmitInfo
structs.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
POINTER_SHIFT, POINTER_SIZE
-
-
Constructor Summary
Constructors Constructor and Description Buffer(java.nio.ByteBuffer container)
Creates a newVkSubmitInfo.Buffer
instance backed by the specified container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description int
commandBufferCount()
Returns the value of thecommandBufferCount
field.PointerBuffer
pCommandBuffers()
Returns aPointerBuffer
view of the data pointed to by thepCommandBuffers
field.VkSubmitInfo.Buffer
pCommandBuffers(PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to thepCommandBuffers
field.long
pNext()
Returns the value of thepNext
field.VkSubmitInfo.Buffer
pNext(long value)
Sets the specified value to thepNext
field.java.nio.LongBuffer
pSignalSemaphores()
Returns aLongBuffer
view of the data pointed to by thepSignalSemaphores
field.VkSubmitInfo.Buffer
pSignalSemaphores(java.nio.LongBuffer value)
Sets the address of the specifiedLongBuffer
to thepSignalSemaphores
field.java.nio.IntBuffer
pWaitDstStageMask()
Returns aIntBuffer
view of the data pointed to by thepWaitDstStageMask
field.VkSubmitInfo.Buffer
pWaitDstStageMask(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepWaitDstStageMask
field.java.nio.LongBuffer
pWaitSemaphores()
Returns aLongBuffer
view of the data pointed to by thepWaitSemaphores
field.VkSubmitInfo.Buffer
pWaitSemaphores(java.nio.LongBuffer value)
Sets the address of the specifiedLongBuffer
to thepWaitSemaphores
field.int
signalSemaphoreCount()
Returns the value of thesignalSemaphoreCount
field.int
sType()
Returns the value of thesType
field.VkSubmitInfo.Buffer
sType(int value)
Sets the specified value to thesType
field.int
waitSemaphoreCount()
Returns the value of thewaitSemaphoreCount
field.VkSubmitInfo.Buffer
waitSemaphoreCount(int value)
Sets the specified value to thewaitSemaphoreCount
field.-
Methods inherited from class org.lwjgl.system.StructBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, get, get, get, get, hasRemaining, limit, limit, mark, position, position, put, put, put, remaining, reset, rewind, slice, slice, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkSubmitInfo.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 byVkSubmitInfo.SIZEOF
, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
-
Method Detail
-
sType
public int sType()
Returns the value of thesType
field.
-
pNext
public long pNext()
Returns the value of thepNext
field.
-
waitSemaphoreCount
public int waitSemaphoreCount()
Returns the value of thewaitSemaphoreCount
field.
-
pWaitSemaphores
public java.nio.LongBuffer pWaitSemaphores()
Returns aLongBuffer
view of the data pointed to by thepWaitSemaphores
field.
-
pWaitDstStageMask
public java.nio.IntBuffer pWaitDstStageMask()
Returns aIntBuffer
view of the data pointed to by thepWaitDstStageMask
field.
-
commandBufferCount
public int commandBufferCount()
Returns the value of thecommandBufferCount
field.
-
pCommandBuffers
public PointerBuffer pCommandBuffers()
Returns aPointerBuffer
view of the data pointed to by thepCommandBuffers
field.
-
signalSemaphoreCount
public int signalSemaphoreCount()
Returns the value of thesignalSemaphoreCount
field.
-
pSignalSemaphores
public java.nio.LongBuffer pSignalSemaphores()
Returns aLongBuffer
view of the data pointed to by thepSignalSemaphores
field.
-
sType
public VkSubmitInfo.Buffer sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkSubmitInfo.Buffer pNext(long value)
Sets the specified value to thepNext
field.
-
waitSemaphoreCount
public VkSubmitInfo.Buffer waitSemaphoreCount(int value)
Sets the specified value to thewaitSemaphoreCount
field.
-
pWaitSemaphores
public VkSubmitInfo.Buffer pWaitSemaphores(java.nio.LongBuffer value)
Sets the address of the specifiedLongBuffer
to thepWaitSemaphores
field.
-
pWaitDstStageMask
public VkSubmitInfo.Buffer pWaitDstStageMask(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepWaitDstStageMask
field.
-
pCommandBuffers
public VkSubmitInfo.Buffer pCommandBuffers(PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to thepCommandBuffers
field.
-
pSignalSemaphores
public VkSubmitInfo.Buffer pSignalSemaphores(java.nio.LongBuffer value)
Sets the address of the specifiedLongBuffer
to thepSignalSemaphores
field.
-
-