public static class VkImageMemoryBarrier.Buffer extends org.lwjgl.system.StructBuffer<VkImageMemoryBarrier,VkImageMemoryBarrier.Buffer> implements org.lwjgl.system.NativeResource
VkImageMemoryBarrier structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkImageMemoryBarrier.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
dstAccessMask()
Returns the value of the
dstAccessMask field. |
VkImageMemoryBarrier.Buffer |
dstAccessMask(int value)
Sets the specified value to the
dstAccessMask field. |
int |
dstQueueFamilyIndex()
Returns the value of the
dstQueueFamilyIndex field. |
VkImageMemoryBarrier.Buffer |
dstQueueFamilyIndex(int value)
Sets the specified value to the
dstQueueFamilyIndex field. |
long |
image()
Returns the value of the
image field. |
VkImageMemoryBarrier.Buffer |
image(long value)
Sets the specified value to the
image field. |
int |
newLayout()
Returns the value of the
newLayout field. |
VkImageMemoryBarrier.Buffer |
newLayout(int value)
Sets the specified value to the
newLayout field. |
int |
oldLayout()
Returns the value of the
oldLayout field. |
VkImageMemoryBarrier.Buffer |
oldLayout(int value)
Sets the specified value to the
oldLayout field. |
long |
pNext()
Returns the value of the
pNext field. |
VkImageMemoryBarrier.Buffer |
pNext(long value)
Sets the specified value to the
pNext field. |
int |
srcAccessMask()
Returns the value of the
srcAccessMask field. |
VkImageMemoryBarrier.Buffer |
srcAccessMask(int value)
Sets the specified value to the
srcAccessMask field. |
int |
srcQueueFamilyIndex()
Returns the value of the
srcQueueFamilyIndex field. |
VkImageMemoryBarrier.Buffer |
srcQueueFamilyIndex(int value)
Sets the specified value to the
srcQueueFamilyIndex field. |
int |
sType()
Returns the value of the
sType field. |
VkImageMemoryBarrier.Buffer |
sType(int value)
Sets the specified value to the
sType field. |
VkImageSubresourceRange |
subresourceRange()
Returns a
VkImageSubresourceRange view of the subresourceRange field. |
VkImageMemoryBarrier.Buffer |
subresourceRange(java.util.function.Consumer<VkImageSubresourceRange> consumer)
Passes the
subresourceRange field to the specified Consumer. |
VkImageMemoryBarrier.Buffer |
subresourceRange(VkImageSubresourceRange value)
Copies the specified
VkImageSubresourceRange to the subresourceRange field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
VkImageMemoryBarrier.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
by VkImageMemoryBarrier.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
public int sType()
sType field.public long pNext()
pNext field.public int srcAccessMask()
srcAccessMask field.public int dstAccessMask()
dstAccessMask field.public int oldLayout()
oldLayout field.public int newLayout()
newLayout field.public int srcQueueFamilyIndex()
srcQueueFamilyIndex field.public int dstQueueFamilyIndex()
dstQueueFamilyIndex field.public long image()
image field.public VkImageSubresourceRange subresourceRange()
VkImageSubresourceRange view of the subresourceRange field.public VkImageMemoryBarrier.Buffer sType(int value)
sType field.public VkImageMemoryBarrier.Buffer pNext(long value)
pNext field.public VkImageMemoryBarrier.Buffer srcAccessMask(int value)
srcAccessMask field.public VkImageMemoryBarrier.Buffer dstAccessMask(int value)
dstAccessMask field.public VkImageMemoryBarrier.Buffer oldLayout(int value)
oldLayout field.public VkImageMemoryBarrier.Buffer newLayout(int value)
newLayout field.public VkImageMemoryBarrier.Buffer srcQueueFamilyIndex(int value)
srcQueueFamilyIndex field.public VkImageMemoryBarrier.Buffer dstQueueFamilyIndex(int value)
dstQueueFamilyIndex field.public VkImageMemoryBarrier.Buffer image(long value)
image field.public VkImageMemoryBarrier.Buffer subresourceRange(VkImageSubresourceRange value)
VkImageSubresourceRange to the subresourceRange field.public VkImageMemoryBarrier.Buffer subresourceRange(java.util.function.Consumer<VkImageSubresourceRange> consumer)
subresourceRange field to the specified Consumer.Copyright LWJGL. All Rights Reserved. License terms.