public static class VkAttachmentDescription.Buffer extends org.lwjgl.system.StructBuffer<VkAttachmentDescription,VkAttachmentDescription.Buffer> implements org.lwjgl.system.NativeResource
VkAttachmentDescription structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkAttachmentDescription.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
finalLayout()
Returns the value of the
finalLayout field. |
VkAttachmentDescription.Buffer |
finalLayout(int value)
Sets the specified value to the
finalLayout field. |
int |
flags()
Returns the value of the
flags field. |
VkAttachmentDescription.Buffer |
flags(int value)
Sets the specified value to the
flags field. |
int |
format()
Returns the value of the
format field. |
VkAttachmentDescription.Buffer |
format(int value)
Sets the specified value to the
format field. |
int |
initialLayout()
Returns the value of the
initialLayout field. |
VkAttachmentDescription.Buffer |
initialLayout(int value)
Sets the specified value to the
initialLayout field. |
int |
loadOp()
Returns the value of the
loadOp field. |
VkAttachmentDescription.Buffer |
loadOp(int value)
Sets the specified value to the
loadOp field. |
int |
samples()
Returns the value of the
samples field. |
VkAttachmentDescription.Buffer |
samples(int value)
Sets the specified value to the
samples field. |
int |
stencilLoadOp()
Returns the value of the
stencilLoadOp field. |
VkAttachmentDescription.Buffer |
stencilLoadOp(int value)
Sets the specified value to the
stencilLoadOp field. |
int |
stencilStoreOp()
Returns the value of the
stencilStoreOp field. |
VkAttachmentDescription.Buffer |
stencilStoreOp(int value)
Sets the specified value to the
stencilStoreOp field. |
int |
storeOp()
Returns the value of the
storeOp field. |
VkAttachmentDescription.Buffer |
storeOp(int value)
Sets the specified value to the
storeOp field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
VkAttachmentDescription.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 VkAttachmentDescription.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 flags()
flags field.public int format()
format field.public int samples()
samples field.public int loadOp()
loadOp field.public int storeOp()
storeOp field.public int stencilLoadOp()
stencilLoadOp field.public int stencilStoreOp()
stencilStoreOp field.public int initialLayout()
initialLayout field.public int finalLayout()
finalLayout field.public VkAttachmentDescription.Buffer flags(int value)
flags field.public VkAttachmentDescription.Buffer format(int value)
format field.public VkAttachmentDescription.Buffer samples(int value)
samples field.public VkAttachmentDescription.Buffer loadOp(int value)
loadOp field.public VkAttachmentDescription.Buffer storeOp(int value)
storeOp field.public VkAttachmentDescription.Buffer stencilLoadOp(int value)
stencilLoadOp field.public VkAttachmentDescription.Buffer stencilStoreOp(int value)
stencilStoreOp field.public VkAttachmentDescription.Buffer initialLayout(int value)
initialLayout field.public VkAttachmentDescription.Buffer finalLayout(int value)
finalLayout field.Copyright LWJGL. All Rights Reserved. License terms.