When this structure is included in the pNext chain of VkPipelineColorBlendStateCreateInfo, it defines per-attachment color write state. If this structure is not included in the pNext chain, it is equivalent to specifying this structure with attachmentCount equal to the attachmentCount member of VkPipelineColorBlendStateCreateInfo, and pColorWriteEnables pointing to an array of as many TRUE values.
If the colorWriteEnable feature is not enabled on the device, all VkBool32 elements in the pColorWriteEnables array must be TRUE.
Color Write Enable interacts with the Color Write Mask as follows:
colorWriteEnable is TRUE, writes to the attachment are determined by the colorWriteMask.colorWriteEnable is FALSE, the colorWriteMask is ignored and writes to all components of the attachment are disabled. This is equivalent to specifying a colorWriteMask of 0.colorWriteEnable feature is not enabled, all elements of pColorWriteEnables must be TRUEDYNAMIC_STATE_COLOR_BLEND_ADVANCED_EXT, DYNAMIC_STATE_COLOR_BLEND_ENABLE_EXT, DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXT, or DYNAMIC_STATE_COLOR_WRITE_MASK_EXT dynamic states not set, attachmentCount must be equal to the attachmentCount member of the VkPipelineColorBlendStateCreateInfo structure specified during pipeline creationattachmentCount must be less than or equal to the maxColorAttachments member of VkPhysicalDeviceLimitssType must be STRUCTURE_TYPE_PIPELINE_COLOR_WRITE_CREATE_INFO_EXTattachmentCount is not 0, pColorWriteEnables must be a valid pointer to an array of attachmentCount VkBool32 values
struct VkPipelineColorWriteCreateInfoEXT {
VkStructureType sType;
void const * pNext;
uint32_t attachmentCount;
VkBool32 const * pColorWriteEnables;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkPipelineColorWriteCreateInfoEXT.
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 | PCOLORWRITEENABLES
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 | VkPipelineColorWriteCreateInfoEXT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public static VkPipelineColorWriteCreateInfoEXT | |
| public static VkPipelineColorWriteCreateInfoEXT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkPipelineColorWriteCreateInfoEXT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPipelineColorWriteCreateInfoEXT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkPipelineColorWriteCreateInfoEXT | 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 VkPipelineColorWriteCreateInfoEXT | |
| public static VkPipelineColorWriteCreateInfoEXT | create(long address)
Returns a new |
| public static VkPipelineColorWriteCreateInfoEXT. | create(int
the buffer capacity capacity)Returns a new |
| public static VkPipelineColorWriteCreateInfoEXT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkPipelineColorWriteCreateInfoEXT | |
| public static VkPipelineColorWriteCreateInfoEXT. | |
| public static VkPipelineColorWriteCreateInfoEXT | |
| public static VkPipelineColorWriteCreateInfoEXT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkPipelineColorWriteCreateInfoEXT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPipelineColorWriteCreateInfoEXT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static int | |
| public static void | nattachmentCount(long struct, int value)
Sets the specified value to the |
| public static IntBuffer | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public IntBuffer | pColorWriteEnables()
a pointer to an array of per target attachment boolean values specifying whether color writes are enabled for the given attachment. |
| public VkPipelineColorWriteCreateInfoEXT | pColorWriteEnables(IntBuffer value)
Sets the address of the specified |
| public long | |
| public VkPipelineColorWriteCreateInfoEXT | |
| public VkPipelineColorWriteCreateInfoEXT | |
| public VkPipelineColorWriteCreateInfoEXT | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkPipelineColorWriteCreateInfoEXT | |
| public VkPipelineColorWriteCreateInfoEXT | sType$Default()
Sets the |
| public static void |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| ATTACHMENTCOUNT | back to summary |
|---|---|
| public static final int ATTACHMENTCOUNT The struct member offsets. | |
| PCOLORWRITEENABLES | back to summary |
|---|---|
| public static final int PCOLORWRITEENABLES The struct member offsets. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| STYPE | back to summary |
|---|---|
| public static final int STYPE The struct member offsets. | |
| VkPipelineColorWriteCreateInfoEXT | back to summary |
|---|---|
| protected VkPipelineColorWriteCreateInfoEXT(long address, ByteBuffer container) | |
| VkPipelineColorWriteCreateInfoEXT | back to summary |
|---|---|
| public VkPipelineColorWriteCreateInfoEXT(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| attachmentCount | back to summary |
|---|---|
| public int attachmentCount() the number of
| |
| calloc | back to summary |
|---|---|
| public static VkPipelineColorWriteCreateInfoEXT calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkPipelineColorWriteCreateInfoEXT. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkPipelineColorWriteCreateInfoEXT calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkPipelineColorWriteCreateInfoEXT. Returns a new
| |
| create | back to summary |
|---|---|
| protected VkPipelineColorWriteCreateInfoEXT create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkPipelineColorWriteCreateInfoEXT create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkPipelineColorWriteCreateInfoEXT create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkPipelineColorWriteCreateInfoEXT. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkPipelineColorWriteCreateInfoEXT. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkPipelineColorWriteCreateInfoEXT createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkPipelineColorWriteCreateInfoEXT. Like
| |
| malloc | back to summary |
|---|---|
| public static VkPipelineColorWriteCreateInfoEXT malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkPipelineColorWriteCreateInfoEXT. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkPipelineColorWriteCreateInfoEXT malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkPipelineColorWriteCreateInfoEXT. Returns a new
| |
| nattachmentCount | back to summary |
|---|---|
| public static int nattachmentCount(long struct) Unsafe version of | |
| nattachmentCount | back to summary |
|---|---|
| public static void nattachmentCount(long struct, int value) Sets the specified value to the | |
| npColorWriteEnables | back to summary |
|---|---|
| public static IntBuffer npColorWriteEnables(long struct) Unsafe version of
| |
| npColorWriteEnables | back to summary |
|---|---|
| public static void npColorWriteEnables(long struct, IntBuffer value) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static long npNext(long struct) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static void npNext(long struct, long value) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static int nsType(long struct) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static void nsType(long struct, int value) Unsafe version of | |
| pColorWriteEnables | back to summary |
|---|---|
| public IntBuffer pColorWriteEnables() a pointer to an array of per target attachment boolean values specifying whether color writes are enabled for the given attachment.
| |
| pColorWriteEnables | back to summary |
|---|---|
| public VkPipelineColorWriteCreateInfoEXT pColorWriteEnables(IntBuffer value) Sets the address of the specified | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkPipelineColorWriteCreateInfoEXT pNext(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkPipelineColorWriteCreateInfoEXT set(int sType, long pNext, IntBuffer pColorWriteEnables) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkPipelineColorWriteCreateInfoEXT set(VkPipelineColorWriteCreateInfoEXT src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| sType | back to summary |
|---|---|
| public int sType() a
| |
| sType | back to summary |
|---|---|
| public VkPipelineColorWriteCreateInfoEXT sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkPipelineColorWriteCreateInfoEXT sType$Default() Sets the | |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
VkPipelineColorWriteCreateInfoEXT structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkPipelineColorWriteCreateInfoEXT |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| protected VkPipelineColorWriteCreateInfoEXT | |
| public IntBuffer | Returns: aIntBuffer view of the data pointed to by the VkPipelineColorWriteCreateInfoEXT#pColorWriteEnables field.
|
| public VkPipelineColorWriteCreateInfoEXT. | pColorWriteEnables(IntBuffer value)
Sets the address of the specified |
| public long | |
| public VkPipelineColorWriteCreateInfoEXT. | |
| protected VkPipelineColorWriteCreateInfoEXT. | |
| public int | |
| public VkPipelineColorWriteCreateInfoEXT. | |
| public VkPipelineColorWriteCreateInfoEXT. | sType$Default()
Sets the |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkPipelineColorWriteCreateInfoEXT ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new 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 The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| attachmentCount | back to summary |
|---|---|
public int attachmentCount()
| |
| getElementFactory | back to summary |
|---|---|
| protected VkPipelineColorWriteCreateInfoEXT getElementFactory() Implements abstract org.
| |
| pColorWriteEnables | back to summary |
|---|---|
public IntBuffer pColorWriteEnables()
| |
| pColorWriteEnables | back to summary |
|---|---|
| public VkPipelineColorWriteCreateInfoEXT. Sets the address of the specified | |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkPipelineColorWriteCreateInfoEXT. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkPipelineColorWriteCreateInfoEXT. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkPipelineColorWriteCreateInfoEXT. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkPipelineColorWriteCreateInfoEXT. Sets the | |