Package org.lwjgl.vulkan
Class VkImageMemoryBarrier.Buffer
- java.lang.Object
-
- org.lwjgl.system.StructBuffer<VkImageMemoryBarrier,VkImageMemoryBarrier.Buffer>
-
- org.lwjgl.vulkan.VkImageMemoryBarrier.Buffer
-
- All Implemented Interfaces:
- java.lang.AutoCloseable, NativeResource, Pointer
- Enclosing class:
- VkImageMemoryBarrier
public static final class VkImageMemoryBarrier.Buffer extends StructBuffer<VkImageMemoryBarrier,VkImageMemoryBarrier.Buffer>
An array ofVkImageMemoryBarrierstructs.
-
-
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 newVkImageMemoryBarrier.Bufferinstance backed by the specified container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intdstAccessMask()Returns the value of thedstAccessMaskfield.VkImageMemoryBarrier.BufferdstAccessMask(int value)Sets the specified value to thedstAccessMaskfield.intdstQueueFamilyIndex()Returns the value of thedstQueueFamilyIndexfield.VkImageMemoryBarrier.BufferdstQueueFamilyIndex(int value)Sets the specified value to thedstQueueFamilyIndexfield.longimage()Returns the value of theimagefield.VkImageMemoryBarrier.Bufferimage(long value)Sets the specified value to theimagefield.intnewLayout()Returns the value of thenewLayoutfield.VkImageMemoryBarrier.BuffernewLayout(int value)Sets the specified value to thenewLayoutfield.intoldLayout()Returns the value of theoldLayoutfield.VkImageMemoryBarrier.BufferoldLayout(int value)Sets the specified value to theoldLayoutfield.longpNext()Returns the value of thepNextfield.VkImageMemoryBarrier.BufferpNext(long value)Sets the specified value to thepNextfield.intsrcAccessMask()Returns the value of thesrcAccessMaskfield.VkImageMemoryBarrier.BuffersrcAccessMask(int value)Sets the specified value to thesrcAccessMaskfield.intsrcQueueFamilyIndex()Returns the value of thesrcQueueFamilyIndexfield.VkImageMemoryBarrier.BuffersrcQueueFamilyIndex(int value)Sets the specified value to thesrcQueueFamilyIndexfield.intsType()Returns the value of thesTypefield.VkImageMemoryBarrier.BuffersType(int value)Sets the specified value to thesTypefield.VkImageSubresourceRangesubresourceRange()Returns aVkImageSubresourceRangeview of thesubresourceRangefield.VkImageMemoryBarrier.BuffersubresourceRange(VkImageSubresourceRange value)Copies the specifiedVkImageSubresourceRangeto thesubresourceRangefield.-
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 newVkImageMemoryBarrier.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 byVkImageMemoryBarrier.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 thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
srcAccessMask
public int srcAccessMask()
Returns the value of thesrcAccessMaskfield.
-
dstAccessMask
public int dstAccessMask()
Returns the value of thedstAccessMaskfield.
-
oldLayout
public int oldLayout()
Returns the value of theoldLayoutfield.
-
newLayout
public int newLayout()
Returns the value of thenewLayoutfield.
-
srcQueueFamilyIndex
public int srcQueueFamilyIndex()
Returns the value of thesrcQueueFamilyIndexfield.
-
dstQueueFamilyIndex
public int dstQueueFamilyIndex()
Returns the value of thedstQueueFamilyIndexfield.
-
image
public long image()
Returns the value of theimagefield.
-
subresourceRange
public VkImageSubresourceRange subresourceRange()
Returns aVkImageSubresourceRangeview of thesubresourceRangefield.
-
sType
public VkImageMemoryBarrier.Buffer sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkImageMemoryBarrier.Buffer pNext(long value)
Sets the specified value to thepNextfield.
-
srcAccessMask
public VkImageMemoryBarrier.Buffer srcAccessMask(int value)
Sets the specified value to thesrcAccessMaskfield.
-
dstAccessMask
public VkImageMemoryBarrier.Buffer dstAccessMask(int value)
Sets the specified value to thedstAccessMaskfield.
-
oldLayout
public VkImageMemoryBarrier.Buffer oldLayout(int value)
Sets the specified value to theoldLayoutfield.
-
newLayout
public VkImageMemoryBarrier.Buffer newLayout(int value)
Sets the specified value to thenewLayoutfield.
-
srcQueueFamilyIndex
public VkImageMemoryBarrier.Buffer srcQueueFamilyIndex(int value)
Sets the specified value to thesrcQueueFamilyIndexfield.
-
dstQueueFamilyIndex
public VkImageMemoryBarrier.Buffer dstQueueFamilyIndex(int value)
Sets the specified value to thedstQueueFamilyIndexfield.
-
image
public VkImageMemoryBarrier.Buffer image(long value)
Sets the specified value to theimagefield.
-
subresourceRange
public VkImageMemoryBarrier.Buffer subresourceRange(VkImageSubresourceRange value)
Copies the specifiedVkImageSubresourceRangeto thesubresourceRangefield.
-
-