public static class VkPipelineColorBlendAttachmentState.Buffer extends org.lwjgl.system.StructBuffer<VkPipelineColorBlendAttachmentState,VkPipelineColorBlendAttachmentState.Buffer> implements org.lwjgl.system.NativeResource
VkPipelineColorBlendAttachmentState structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkPipelineColorBlendAttachmentState.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
alphaBlendOp()
Returns the value of the
alphaBlendOp field. |
VkPipelineColorBlendAttachmentState.Buffer |
alphaBlendOp(int value)
Sets the specified value to the
alphaBlendOp field. |
boolean |
blendEnable()
Returns the value of the
blendEnable field. |
VkPipelineColorBlendAttachmentState.Buffer |
blendEnable(boolean value)
Sets the specified value to the
blendEnable field. |
int |
colorBlendOp()
Returns the value of the
colorBlendOp field. |
VkPipelineColorBlendAttachmentState.Buffer |
colorBlendOp(int value)
Sets the specified value to the
colorBlendOp field. |
int |
colorWriteMask()
Returns the value of the
colorWriteMask field. |
VkPipelineColorBlendAttachmentState.Buffer |
colorWriteMask(int value)
Sets the specified value to the
colorWriteMask field. |
int |
dstAlphaBlendFactor()
Returns the value of the
dstAlphaBlendFactor field. |
VkPipelineColorBlendAttachmentState.Buffer |
dstAlphaBlendFactor(int value)
Sets the specified value to the
dstAlphaBlendFactor field. |
int |
dstColorBlendFactor()
Returns the value of the
dstColorBlendFactor field. |
VkPipelineColorBlendAttachmentState.Buffer |
dstColorBlendFactor(int value)
Sets the specified value to the
dstColorBlendFactor field. |
int |
srcAlphaBlendFactor()
Returns the value of the
srcAlphaBlendFactor field. |
VkPipelineColorBlendAttachmentState.Buffer |
srcAlphaBlendFactor(int value)
Sets the specified value to the
srcAlphaBlendFactor field. |
int |
srcColorBlendFactor()
Returns the value of the
srcColorBlendFactor field. |
VkPipelineColorBlendAttachmentState.Buffer |
srcColorBlendFactor(int value)
Sets the specified value to the
srcColorBlendFactor field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
VkPipelineColorBlendAttachmentState.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 VkPipelineColorBlendAttachmentState.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 boolean blendEnable()
blendEnable field.public int srcColorBlendFactor()
srcColorBlendFactor field.public int dstColorBlendFactor()
dstColorBlendFactor field.public int colorBlendOp()
colorBlendOp field.public int srcAlphaBlendFactor()
srcAlphaBlendFactor field.public int dstAlphaBlendFactor()
dstAlphaBlendFactor field.public int alphaBlendOp()
alphaBlendOp field.public int colorWriteMask()
colorWriteMask field.public VkPipelineColorBlendAttachmentState.Buffer blendEnable(boolean value)
blendEnable field.public VkPipelineColorBlendAttachmentState.Buffer srcColorBlendFactor(int value)
srcColorBlendFactor field.public VkPipelineColorBlendAttachmentState.Buffer dstColorBlendFactor(int value)
dstColorBlendFactor field.public VkPipelineColorBlendAttachmentState.Buffer colorBlendOp(int value)
colorBlendOp field.public VkPipelineColorBlendAttachmentState.Buffer srcAlphaBlendFactor(int value)
srcAlphaBlendFactor field.public VkPipelineColorBlendAttachmentState.Buffer dstAlphaBlendFactor(int value)
dstAlphaBlendFactor field.public VkPipelineColorBlendAttachmentState.Buffer alphaBlendOp(int value)
alphaBlendOp field.public VkPipelineColorBlendAttachmentState.Buffer colorWriteMask(int value)
colorWriteMask field.Copyright LWJGL. All Rights Reserved. License terms.