Package org.lwjgl.vulkan
Class VkBindSparseInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkBindSparseInfo,VkBindSparseInfo.Buffer>
-
- org.lwjgl.vulkan.VkBindSparseInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkBindSparseInfo>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkBindSparseInfo
public static class VkBindSparseInfo.Buffer extends org.lwjgl.system.StructBuffer<VkBindSparseInfo,VkBindSparseInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkBindSparseInfostructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intbufferBindCount()Returns the value of thebufferBindCountfield.intimageBindCount()Returns the value of theimageBindCountfield.intimageOpaqueBindCount()Returns the value of theimageOpaqueBindCountfield.VkSparseBufferMemoryBindInfo.BufferpBufferBinds()Returns aVkSparseBufferMemoryBindInfo.Bufferview of the struct array pointed to by thepBufferBindsfield.VkBindSparseInfo.BufferpBufferBinds(VkSparseBufferMemoryBindInfo.Buffer value)Sets the address of the specifiedVkSparseBufferMemoryBindInfo.Bufferto thepBufferBindsfield.VkSparseImageMemoryBindInfo.BufferpImageBinds()Returns aVkSparseImageMemoryBindInfo.Bufferview of the struct array pointed to by thepImageBindsfield.VkBindSparseInfo.BufferpImageBinds(VkSparseImageMemoryBindInfo.Buffer value)Sets the address of the specifiedVkSparseImageMemoryBindInfo.Bufferto thepImageBindsfield.VkSparseImageOpaqueMemoryBindInfo.BufferpImageOpaqueBinds()Returns aVkSparseImageOpaqueMemoryBindInfo.Bufferview of the struct array pointed to by thepImageOpaqueBindsfield.VkBindSparseInfo.BufferpImageOpaqueBinds(VkSparseImageOpaqueMemoryBindInfo.Buffer value)Sets the address of the specifiedVkSparseImageOpaqueMemoryBindInfo.Bufferto thepImageOpaqueBindsfield.longpNext()Returns the value of thepNextfield.VkBindSparseInfo.BufferpNext(long value)Sets the specified value to thepNextfield.java.nio.LongBufferpSignalSemaphores()Returns aLongBufferview of the data pointed to by thepSignalSemaphoresfield.VkBindSparseInfo.BufferpSignalSemaphores(java.nio.LongBuffer value)Sets the address of the specifiedLongBufferto thepSignalSemaphoresfield.java.nio.LongBufferpWaitSemaphores()Returns aLongBufferview of the data pointed to by thepWaitSemaphoresfield.VkBindSparseInfo.BufferpWaitSemaphores(java.nio.LongBuffer value)Sets the address of the specifiedLongBufferto thepWaitSemaphoresfield.intsignalSemaphoreCount()Returns the value of thesignalSemaphoreCountfield.intsType()Returns the value of thesTypefield.VkBindSparseInfo.BuffersType(int value)Sets the specified value to thesTypefield.intwaitSemaphoreCount()Returns the value of thewaitSemaphoreCountfield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkBindSparseInfo.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 byVkBindSparseInfo.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 thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
waitSemaphoreCount
public int waitSemaphoreCount()
Returns the value of thewaitSemaphoreCountfield.
-
pWaitSemaphores
@Nullable public java.nio.LongBuffer pWaitSemaphores()
Returns aLongBufferview of the data pointed to by thepWaitSemaphoresfield.
-
bufferBindCount
public int bufferBindCount()
Returns the value of thebufferBindCountfield.
-
pBufferBinds
@Nullable public VkSparseBufferMemoryBindInfo.Buffer pBufferBinds()
Returns aVkSparseBufferMemoryBindInfo.Bufferview of the struct array pointed to by thepBufferBindsfield.
-
imageOpaqueBindCount
public int imageOpaqueBindCount()
Returns the value of theimageOpaqueBindCountfield.
-
pImageOpaqueBinds
@Nullable public VkSparseImageOpaqueMemoryBindInfo.Buffer pImageOpaqueBinds()
Returns aVkSparseImageOpaqueMemoryBindInfo.Bufferview of the struct array pointed to by thepImageOpaqueBindsfield.
-
imageBindCount
public int imageBindCount()
Returns the value of theimageBindCountfield.
-
pImageBinds
@Nullable public VkSparseImageMemoryBindInfo.Buffer pImageBinds()
Returns aVkSparseImageMemoryBindInfo.Bufferview of the struct array pointed to by thepImageBindsfield.
-
signalSemaphoreCount
public int signalSemaphoreCount()
Returns the value of thesignalSemaphoreCountfield.
-
pSignalSemaphores
@Nullable public java.nio.LongBuffer pSignalSemaphores()
Returns aLongBufferview of the data pointed to by thepSignalSemaphoresfield.
-
sType
public VkBindSparseInfo.Buffer sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkBindSparseInfo.Buffer pNext(long value)
Sets the specified value to thepNextfield.
-
pWaitSemaphores
public VkBindSparseInfo.Buffer pWaitSemaphores(@Nullable java.nio.LongBuffer value)
Sets the address of the specifiedLongBufferto thepWaitSemaphoresfield.
-
pBufferBinds
public VkBindSparseInfo.Buffer pBufferBinds(@Nullable VkSparseBufferMemoryBindInfo.Buffer value)
Sets the address of the specifiedVkSparseBufferMemoryBindInfo.Bufferto thepBufferBindsfield.
-
pImageOpaqueBinds
public VkBindSparseInfo.Buffer pImageOpaqueBinds(@Nullable VkSparseImageOpaqueMemoryBindInfo.Buffer value)
Sets the address of the specifiedVkSparseImageOpaqueMemoryBindInfo.Bufferto thepImageOpaqueBindsfield.
-
pImageBinds
public VkBindSparseInfo.Buffer pImageBinds(@Nullable VkSparseImageMemoryBindInfo.Buffer value)
Sets the address of the specifiedVkSparseImageMemoryBindInfo.Bufferto thepImageBindsfield.
-
pSignalSemaphores
public VkBindSparseInfo.Buffer pSignalSemaphores(@Nullable java.nio.LongBuffer value)
Sets the address of the specifiedLongBufferto thepSignalSemaphoresfield.
-
-