public static class VkImageViewCreateInfo.Buffer extends org.lwjgl.system.StructBuffer<VkImageViewCreateInfo,VkImageViewCreateInfo.Buffer> implements org.lwjgl.system.NativeResource
VkImageViewCreateInfo structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkImageViewCreateInfo.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
VkComponentMapping |
components()
Returns a
VkComponentMapping view of the components field. |
VkImageViewCreateInfo.Buffer |
components(java.util.function.Consumer<VkComponentMapping> consumer)
Passes the
components field to the specified Consumer. |
VkImageViewCreateInfo.Buffer |
components(VkComponentMapping value)
Copies the specified
VkComponentMapping to the components field. |
int |
flags()
Returns the value of the
flags field. |
VkImageViewCreateInfo.Buffer |
flags(int value)
Sets the specified value to the
flags field. |
int |
format()
Returns the value of the
format field. |
VkImageViewCreateInfo.Buffer |
format(int value)
Sets the specified value to the
format field. |
long |
image()
Returns the value of the
image field. |
VkImageViewCreateInfo.Buffer |
image(long value)
Sets the specified value to the
image field. |
long |
pNext()
Returns the value of the
pNext field. |
VkImageViewCreateInfo.Buffer |
pNext(long value)
Sets the specified value to the
pNext field. |
int |
sType()
Returns the value of the
sType field. |
VkImageViewCreateInfo.Buffer |
sType(int value)
Sets the specified value to the
sType field. |
VkImageSubresourceRange |
subresourceRange()
Returns a
VkImageSubresourceRange view of the subresourceRange field. |
VkImageViewCreateInfo.Buffer |
subresourceRange(java.util.function.Consumer<VkImageSubresourceRange> consumer)
Passes the
subresourceRange field to the specified Consumer. |
VkImageViewCreateInfo.Buffer |
subresourceRange(VkImageSubresourceRange value)
Copies the specified
VkImageSubresourceRange to the subresourceRange field. |
int |
viewType()
Returns the value of the
viewType field. |
VkImageViewCreateInfo.Buffer |
viewType(int value)
Sets the specified value to the
viewType field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
VkImageViewCreateInfo.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 VkImageViewCreateInfo.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 flags()
flags field.public long image()
image field.public int viewType()
viewType field.public int format()
format field.public VkComponentMapping components()
VkComponentMapping view of the components field.public VkImageSubresourceRange subresourceRange()
VkImageSubresourceRange view of the subresourceRange field.public VkImageViewCreateInfo.Buffer sType(int value)
sType field.public VkImageViewCreateInfo.Buffer pNext(long value)
pNext field.public VkImageViewCreateInfo.Buffer flags(int value)
flags field.public VkImageViewCreateInfo.Buffer image(long value)
image field.public VkImageViewCreateInfo.Buffer viewType(int value)
viewType field.public VkImageViewCreateInfo.Buffer format(int value)
format field.public VkImageViewCreateInfo.Buffer components(VkComponentMapping value)
VkComponentMapping to the components field.public VkImageViewCreateInfo.Buffer components(java.util.function.Consumer<VkComponentMapping> consumer)
components field to the specified Consumer.public VkImageViewCreateInfo.Buffer subresourceRange(VkImageSubresourceRange value)
VkImageSubresourceRange to the subresourceRange field.public VkImageViewCreateInfo.Buffer subresourceRange(java.util.function.Consumer<VkImageSubresourceRange> consumer)
subresourceRange field to the specified Consumer.Copyright LWJGL. All Rights Reserved. License terms.