Package org.lwjgl.vulkan
Class VkSubmitInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkSubmitInfo,VkSubmitInfo.Buffer>
-
- org.lwjgl.vulkan.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 ofVkSubmitInfostructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkSubmitInfo.Bufferinstance 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.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
sType
public int sType()
- Returns:
- the value of the
VkSubmitInfo.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkSubmitInfo.pNext()field.
-
waitSemaphoreCount
public int waitSemaphoreCount()
- Returns:
- the value of the
VkSubmitInfo.waitSemaphoreCount()field.
-
pWaitSemaphores
@Nullable public java.nio.LongBuffer pWaitSemaphores()
- Returns:
- a
LongBufferview of the data pointed to by theVkSubmitInfo.pWaitSemaphores()field.
-
pWaitDstStageMask
@Nullable public java.nio.IntBuffer pWaitDstStageMask()
- Returns:
- a
IntBufferview of the data pointed to by theVkSubmitInfo.pWaitDstStageMask()field.
-
commandBufferCount
public int commandBufferCount()
- Returns:
- the value of the
VkSubmitInfo.commandBufferCount()field.
-
pCommandBuffers
@Nullable public org.lwjgl.PointerBuffer pCommandBuffers()
- Returns:
- a
PointerBufferview of the data pointed to by theVkSubmitInfo.pCommandBuffers()field.
-
signalSemaphoreCount
public int signalSemaphoreCount()
- Returns:
- the value of the
VkSubmitInfo.signalSemaphoreCount()field.
-
pSignalSemaphores
@Nullable public java.nio.LongBuffer pSignalSemaphores()
- Returns:
- a
LongBufferview of the data pointed to by theVkSubmitInfo.pSignalSemaphores()field.
-
sType
public VkSubmitInfo.Buffer sType(int value)
Sets the specified value to theVkSubmitInfo.sType()field.
-
sType$Default
public VkSubmitInfo.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_SUBMIT_INFOvalue to theVkSubmitInfo.sType()field.
-
pNext
public VkSubmitInfo.Buffer pNext(long value)
Sets the specified value to theVkSubmitInfo.pNext()field.
-
pNext
public VkSubmitInfo.Buffer pNext(VkD3D12FenceSubmitInfoKHR value)
Prepends the specifiedVkD3D12FenceSubmitInfoKHRvalue to thepNextchain.
-
pNext
public VkSubmitInfo.Buffer pNext(VkDeviceGroupSubmitInfo value)
Prepends the specifiedVkDeviceGroupSubmitInfovalue to thepNextchain.
-
pNext
public VkSubmitInfo.Buffer pNext(VkDeviceGroupSubmitInfoKHR value)
Prepends the specifiedVkDeviceGroupSubmitInfoKHRvalue to thepNextchain.
-
pNext
public VkSubmitInfo.Buffer pNext(VkPerformanceQuerySubmitInfoKHR value)
Prepends the specifiedVkPerformanceQuerySubmitInfoKHRvalue to thepNextchain.
-
pNext
public VkSubmitInfo.Buffer pNext(VkProtectedSubmitInfo value)
Prepends the specifiedVkProtectedSubmitInfovalue to thepNextchain.
-
pNext
public VkSubmitInfo.Buffer pNext(VkTimelineSemaphoreSubmitInfo value)
Prepends the specifiedVkTimelineSemaphoreSubmitInfovalue to thepNextchain.
-
pNext
public VkSubmitInfo.Buffer pNext(VkTimelineSemaphoreSubmitInfoKHR value)
Prepends the specifiedVkTimelineSemaphoreSubmitInfoKHRvalue to thepNextchain.
-
pNext
public VkSubmitInfo.Buffer pNext(VkWin32KeyedMutexAcquireReleaseInfoKHR value)
Prepends the specifiedVkWin32KeyedMutexAcquireReleaseInfoKHRvalue to thepNextchain.
-
pNext
public VkSubmitInfo.Buffer pNext(VkWin32KeyedMutexAcquireReleaseInfoNV value)
Prepends the specifiedVkWin32KeyedMutexAcquireReleaseInfoNVvalue to thepNextchain.
-
waitSemaphoreCount
public VkSubmitInfo.Buffer waitSemaphoreCount(int value)
Sets the specified value to theVkSubmitInfo.waitSemaphoreCount()field.
-
pWaitSemaphores
public VkSubmitInfo.Buffer pWaitSemaphores(@Nullable java.nio.LongBuffer value)
Sets the address of the specifiedLongBufferto theVkSubmitInfo.pWaitSemaphores()field.
-
pWaitDstStageMask
public VkSubmitInfo.Buffer pWaitDstStageMask(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto theVkSubmitInfo.pWaitDstStageMask()field.
-
pCommandBuffers
public VkSubmitInfo.Buffer pCommandBuffers(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBufferto theVkSubmitInfo.pCommandBuffers()field.
-
pSignalSemaphores
public VkSubmitInfo.Buffer pSignalSemaphores(@Nullable java.nio.LongBuffer value)
Sets the address of the specifiedLongBufferto theVkSubmitInfo.pSignalSemaphores()field.
-
-