Package org.lwjgl.vulkan
Class VkSubmitInfo2.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkSubmitInfo2,VkSubmitInfo2.Buffer>
-
- org.lwjgl.vulkan.VkSubmitInfo2.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkSubmitInfo2>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkSubmitInfo2KHR.Buffer
- Enclosing class:
- VkSubmitInfo2
public static class VkSubmitInfo2.Buffer extends org.lwjgl.system.StructBuffer<VkSubmitInfo2,VkSubmitInfo2.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkSubmitInfo2structs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkSubmitInfo2.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 byVkSubmitInfo2.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
VkSubmitInfo2.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkSubmitInfo2.pNext()field.
-
flags
public int flags()
- Returns:
- the value of the
VkSubmitInfo2.flags()field.
-
waitSemaphoreInfoCount
public int waitSemaphoreInfoCount()
- Returns:
- the value of the
VkSubmitInfo2.waitSemaphoreInfoCount()field.
-
pWaitSemaphoreInfos
@Nullable public VkSemaphoreSubmitInfo.Buffer pWaitSemaphoreInfos()
- Returns:
- a
VkSemaphoreSubmitInfo.Bufferview of the struct array pointed to by theVkSubmitInfo2.pWaitSemaphoreInfos()field.
-
commandBufferInfoCount
public int commandBufferInfoCount()
- Returns:
- the value of the
VkSubmitInfo2.commandBufferInfoCount()field.
-
pCommandBufferInfos
@Nullable public VkCommandBufferSubmitInfo.Buffer pCommandBufferInfos()
- Returns:
- a
VkCommandBufferSubmitInfo.Bufferview of the struct array pointed to by theVkSubmitInfo2.pCommandBufferInfos()field.
-
signalSemaphoreInfoCount
public int signalSemaphoreInfoCount()
- Returns:
- the value of the
VkSubmitInfo2.signalSemaphoreInfoCount()field.
-
pSignalSemaphoreInfos
@Nullable public VkSemaphoreSubmitInfo.Buffer pSignalSemaphoreInfos()
- Returns:
- a
VkSemaphoreSubmitInfo.Bufferview of the struct array pointed to by theVkSubmitInfo2.pSignalSemaphoreInfos()field.
-
sType
public VkSubmitInfo2.Buffer sType(int value)
Sets the specified value to theVkSubmitInfo2.sType()field.
-
sType$Default
public VkSubmitInfo2.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_SUBMIT_INFO_2value to theVkSubmitInfo2.sType()field.
-
pNext
public VkSubmitInfo2.Buffer pNext(long value)
Sets the specified value to theVkSubmitInfo2.pNext()field.
-
pNext
public VkSubmitInfo2.Buffer pNext(VkPerformanceQuerySubmitInfoKHR value)
Prepends the specifiedVkPerformanceQuerySubmitInfoKHRvalue to thepNextchain.
-
pNext
public VkSubmitInfo2.Buffer pNext(VkWin32KeyedMutexAcquireReleaseInfoKHR value)
Prepends the specifiedVkWin32KeyedMutexAcquireReleaseInfoKHRvalue to thepNextchain.
-
pNext
public VkSubmitInfo2.Buffer pNext(VkWin32KeyedMutexAcquireReleaseInfoNV value)
Prepends the specifiedVkWin32KeyedMutexAcquireReleaseInfoNVvalue to thepNextchain.
-
flags
public VkSubmitInfo2.Buffer flags(int value)
Sets the specified value to theVkSubmitInfo2.flags()field.
-
pWaitSemaphoreInfos
public VkSubmitInfo2.Buffer pWaitSemaphoreInfos(@Nullable VkSemaphoreSubmitInfo.Buffer value)
Sets the address of the specifiedVkSemaphoreSubmitInfo.Bufferto theVkSubmitInfo2.pWaitSemaphoreInfos()field.
-
pCommandBufferInfos
public VkSubmitInfo2.Buffer pCommandBufferInfos(@Nullable VkCommandBufferSubmitInfo.Buffer value)
Sets the address of the specifiedVkCommandBufferSubmitInfo.Bufferto theVkSubmitInfo2.pCommandBufferInfos()field.
-
pSignalSemaphoreInfos
public VkSubmitInfo2.Buffer pSignalSemaphoreInfos(@Nullable VkSemaphoreSubmitInfo.Buffer value)
Sets the address of the specifiedVkSemaphoreSubmitInfo.Bufferto theVkSubmitInfo2.pSignalSemaphoreInfos()field.
-
-