Package org.lwjgl.vulkan
Class VkImageMemoryBarrier.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkImageMemoryBarrier,VkImageMemoryBarrier.Buffer>
-
- org.lwjgl.vulkan.VkImageMemoryBarrier.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<VkImageMemoryBarrier>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Enclosing class:
- VkImageMemoryBarrier
public static class VkImageMemoryBarrier.Buffer extends org.lwjgl.system.StructBuffer<VkImageMemoryBarrier,VkImageMemoryBarrier.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkImageMemoryBarrier
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
dstAccessMask()
Returns the value of thedstAccessMask
field.VkImageMemoryBarrier.Buffer
dstAccessMask(int value)
Sets the specified value to thedstAccessMask
field.int
dstQueueFamilyIndex()
Returns the value of thedstQueueFamilyIndex
field.VkImageMemoryBarrier.Buffer
dstQueueFamilyIndex(int value)
Sets the specified value to thedstQueueFamilyIndex
field.long
image()
Returns the value of theimage
field.VkImageMemoryBarrier.Buffer
image(long value)
Sets the specified value to theimage
field.int
newLayout()
Returns the value of thenewLayout
field.VkImageMemoryBarrier.Buffer
newLayout(int value)
Sets the specified value to thenewLayout
field.int
oldLayout()
Returns the value of theoldLayout
field.VkImageMemoryBarrier.Buffer
oldLayout(int value)
Sets the specified value to theoldLayout
field.long
pNext()
Returns the value of thepNext
field.VkImageMemoryBarrier.Buffer
pNext(long value)
Sets the specified value to thepNext
field.int
srcAccessMask()
Returns the value of thesrcAccessMask
field.VkImageMemoryBarrier.Buffer
srcAccessMask(int value)
Sets the specified value to thesrcAccessMask
field.int
srcQueueFamilyIndex()
Returns the value of thesrcQueueFamilyIndex
field.VkImageMemoryBarrier.Buffer
srcQueueFamilyIndex(int value)
Sets the specified value to thesrcQueueFamilyIndex
field.int
sType()
Returns the value of thesType
field.VkImageMemoryBarrier.Buffer
sType(int value)
Sets the specified value to thesType
field.VkImageSubresourceRange
subresourceRange()
Returns aVkImageSubresourceRange
view of thesubresourceRange
field.VkImageMemoryBarrier.Buffer
subresourceRange(java.util.function.Consumer<VkImageSubresourceRange> consumer)
Passes thesubresourceRange
field to the specifiedConsumer
.VkImageMemoryBarrier.Buffer
subresourceRange(VkImageSubresourceRange value)
Copies the specifiedVkImageSubresourceRange
to thesubresourceRange
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkImageMemoryBarrier.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 byVkImageMemoryBarrier.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 thesType
field.
-
pNext
public long pNext()
Returns the value of thepNext
field.
-
srcAccessMask
public int srcAccessMask()
Returns the value of thesrcAccessMask
field.
-
dstAccessMask
public int dstAccessMask()
Returns the value of thedstAccessMask
field.
-
oldLayout
public int oldLayout()
Returns the value of theoldLayout
field.
-
newLayout
public int newLayout()
Returns the value of thenewLayout
field.
-
srcQueueFamilyIndex
public int srcQueueFamilyIndex()
Returns the value of thesrcQueueFamilyIndex
field.
-
dstQueueFamilyIndex
public int dstQueueFamilyIndex()
Returns the value of thedstQueueFamilyIndex
field.
-
image
public long image()
Returns the value of theimage
field.
-
subresourceRange
public VkImageSubresourceRange subresourceRange()
Returns aVkImageSubresourceRange
view of thesubresourceRange
field.
-
sType
public VkImageMemoryBarrier.Buffer sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkImageMemoryBarrier.Buffer pNext(long value)
Sets the specified value to thepNext
field.
-
srcAccessMask
public VkImageMemoryBarrier.Buffer srcAccessMask(int value)
Sets the specified value to thesrcAccessMask
field.
-
dstAccessMask
public VkImageMemoryBarrier.Buffer dstAccessMask(int value)
Sets the specified value to thedstAccessMask
field.
-
oldLayout
public VkImageMemoryBarrier.Buffer oldLayout(int value)
Sets the specified value to theoldLayout
field.
-
newLayout
public VkImageMemoryBarrier.Buffer newLayout(int value)
Sets the specified value to thenewLayout
field.
-
srcQueueFamilyIndex
public VkImageMemoryBarrier.Buffer srcQueueFamilyIndex(int value)
Sets the specified value to thesrcQueueFamilyIndex
field.
-
dstQueueFamilyIndex
public VkImageMemoryBarrier.Buffer dstQueueFamilyIndex(int value)
Sets the specified value to thedstQueueFamilyIndex
field.
-
image
public VkImageMemoryBarrier.Buffer image(long value)
Sets the specified value to theimage
field.
-
subresourceRange
public VkImageMemoryBarrier.Buffer subresourceRange(VkImageSubresourceRange value)
Copies the specifiedVkImageSubresourceRange
to thesubresourceRange
field.
-
subresourceRange
public VkImageMemoryBarrier.Buffer subresourceRange(java.util.function.Consumer<VkImageSubresourceRange> consumer)
Passes thesubresourceRange
field to the specifiedConsumer
.
-
-