independentBlend feature is not enabled, all elements of pAttachments must be identicallogicOp feature is not enabled, logicOpEnable must be FALSElogicOpEnable is TRUE, logicOp must be a valid VkLogicOp valuerasterizationOrderColorAttachmentAccess feature is not enabled, flags must not include PIPELINE_COLOR_BLEND_STATE_CREATE_RASTERIZATION_ORDER_ATTACHMENT_ACCESS_BIT_EXTattachmentCount is not 0, and any of DYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXT, DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXT, DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXT, or DYNAMIC_STATE_COLOR_WRITE_MASK_EXT are not set, pAttachments must be a valid pointer to an array of attachmentCount valid VkPipelineColorBlendAttachmentState structuressType must be STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFOpNext member of any structure (including this one) in the pNext chain must be either NULL or a pointer to a valid instance of VkPipelineColorBlendAdvancedStateCreateInfoEXT or VkPipelineColorWriteCreateInfoEXTsType value of each struct in the pNext chain must be uniqueflags must be a valid combination of VkPipelineColorBlendStateCreateFlagBits valuesattachmentCount is not 0, and pAttachments is not NULL, pAttachments must be a valid pointer to an array of attachmentCount valid VkPipelineColorBlendAttachmentState structuresVkGraphicsPipelineCreateInfo, VkPipelineColorBlendAttachmentState
struct VkPipelineColorBlendStateCreateInfo {
VkStructureType sType;
void const * pNext;
VkPipelineColorBlendStateCreateFlags flags;
VkBool32 logicOpEnable;
VkLogicOp logicOp;
uint32_t attachmentCount;
VkPipelineColorBlendAttachmentState const * pAttachments;
float blendConstants[4];
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkPipelineColorBlendStateCreateInfo.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | ATTACHMENTCOUNT
The struct member offsets. |
| public static final int | BLENDCONSTANTS
The struct member offsets. |
| public static final int | FLAGS
The struct member offsets. |
| public static final int | LOGICOP
The struct member offsets. |
| public static final int | LOGICOPENABLE
The struct member offsets. |
| public static final int | PATTACHMENTS
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkPipelineColorBlendStateCreateInfo(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public VkPipelineColorBlendStateCreateInfo | |
| public FloatBuffer | blendConstants()
a pointer to an array of four values used as the R, G, B, and A components of the blend constant that are used in blending, depending on the blend factor. |
| public float | blendConstants(int index)
a pointer to an array of four values used as the R, G, B, and A components of the blend constant that are used in blending, depending on the blend factor. |
| public VkPipelineColorBlendStateCreateInfo | |
| public VkPipelineColorBlendStateCreateInfo | blendConstants(int index, float value)
Sets the specified value at the specified index of the |
| public static VkPipelineColorBlendStateCreateInfo | |
| public static VkPipelineColorBlendStateCreateInfo. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkPipelineColorBlendStateCreateInfo | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPipelineColorBlendStateCreateInfo. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkPipelineColorBlendStateCreateInfo | |
| public static VkPipelineColorBlendStateCreateInfo | |
| public static VkPipelineColorBlendStateCreateInfo. | |
| public static VkPipelineColorBlendStateCreateInfo. | |
| protected VkPipelineColorBlendStateCreateInfo | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkPipelineColorBlendStateCreateInfo | |
| public static VkPipelineColorBlendStateCreateInfo | create(long address)
Returns a new |
| public static VkPipelineColorBlendStateCreateInfo. | create(int
the buffer capacity capacity)Returns a new |
| public static VkPipelineColorBlendStateCreateInfo. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkPipelineColorBlendStateCreateInfo | |
| public static VkPipelineColorBlendStateCreateInfo. | |
| public int | flags()
a bitmask of |
| public VkPipelineColorBlendStateCreateInfo | |
| public int | |
| public VkPipelineColorBlendStateCreateInfo | |
| public boolean | |
| public VkPipelineColorBlendStateCreateInfo | |
| public static VkPipelineColorBlendStateCreateInfo | |
| public static VkPipelineColorBlendStateCreateInfo. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkPipelineColorBlendStateCreateInfo | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPipelineColorBlendStateCreateInfo. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkPipelineColorBlendStateCreateInfo | |
| public static VkPipelineColorBlendStateCreateInfo | |
| public static VkPipelineColorBlendStateCreateInfo. | |
| public static VkPipelineColorBlendStateCreateInfo. | |
| public static int | |
| public static void | nattachmentCount(long struct, int value)
Sets the specified value to the |
| public static FloatBuffer | |
| public static float | |
| public static void | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static VkPipelineColorBlendAttachmentState. | |
| public static void | npAttachments(long struct, VkPipelineColorBlendAttachmentState.
Unsafe version of |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public VkPipelineColorBlendAttachmentState. | pAttachments()
a pointer to an array of |
| public VkPipelineColorBlendStateCreateInfo | pAttachments(VkPipelineColorBlendAttachmentState.
Sets the address of the specified |
| public long | |
| public VkPipelineColorBlendStateCreateInfo | |
| public VkPipelineColorBlendStateCreateInfo | pNext(VkPipelineColorBlendAdvancedStateCreateInfoEXT value)
Prepends the specified |
| public VkPipelineColorBlendStateCreateInfo | pNext(VkPipelineColorWriteCreateInfoEXT value)
Prepends the specified |
| public VkPipelineColorBlendStateCreateInfo | set(int sType, long pNext, int flags, boolean logicOpEnable, int logicOp, int attachmentCount, VkPipelineColorBlendAttachmentState.
Initializes this struct with the specified values. |
| public VkPipelineColorBlendStateCreateInfo | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkPipelineColorBlendStateCreateInfo | |
| public VkPipelineColorBlendStateCreateInfo | sType$Default()
Sets the |