When a pipeline is created without a VkRenderPass, if the pNext chain of VkGraphicsPipelineCreateInfo includes this structure, it specifies the view mask and format of attachments used for rendering. If this structure is not specified, and the pipeline does not include a VkRenderPass, viewMask and colorAttachmentCount are 0, and depthAttachmentFormat and stencilAttachmentFormat are FORMAT_UNDEFINED. If a graphics pipeline is created with a valid VkRenderPass, parameters of this structure are ignored.
If depthAttachmentFormat, stencilAttachmentFormat, or any element of pColorAttachmentFormats is FORMAT_UNDEFINED, it indicates that the corresponding attachment is unused within the render pass. Valid formats indicate that an attachment can be used - but it is still valid to set the attachment to NULL when beginning rendering.
sType must be STRUCTURE_TYPE_PIPELINE_RENDERING_CREATE_INFO
struct VkPipelineRenderingCreateInfo {
VkStructureType sType;
void const * pNext;
uint32_t viewMask;
uint32_t colorAttachmentCount;
VkFormat const * pColorAttachmentFormats;
VkFormat depthAttachmentFormat;
VkFormat stencilAttachmentFormat;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkPipelineRenderingCreateInfo.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | COLORATTACHMENTCOUNT
The struct member offsets. |
| public static final int | DEPTHATTACHMENTFORMAT
The struct member offsets. |
| public static final int | PCOLORATTACHMENTFORMATS
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 | STENCILATTACHMENTFORMAT
The struct member offsets. |
| public static final int | STYPE
The struct member offsets. |
| public static final int | VIEWMASK
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkPipelineRenderingCreateInfo(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkPipelineRenderingCreateInfo | |
| public static VkPipelineRenderingCreateInfo. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkPipelineRenderingCreateInfo | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPipelineRenderingCreateInfo. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public int | |
| public VkPipelineRenderingCreateInfo | |
| protected VkPipelineRenderingCreateInfo | 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 VkPipelineRenderingCreateInfo | |
| public static VkPipelineRenderingCreateInfo | create(long address)
Returns a new |
| public static VkPipelineRenderingCreateInfo. | create(int
the buffer capacity capacity)Returns a new |
| public static VkPipelineRenderingCreateInfo. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkPipelineRenderingCreateInfo | |
| public static VkPipelineRenderingCreateInfo. | |
| public int | depthAttachmentFormat()
a |
| public VkPipelineRenderingCreateInfo | |
| public static VkPipelineRenderingCreateInfo | |
| public static VkPipelineRenderingCreateInfo. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkPipelineRenderingCreateInfo | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPipelineRenderingCreateInfo. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static int | |
| public static void | ncolorAttachmentCount(long struct, int value)
Sets the specified value to the |
| public static int | |
| public static void | |
| public static IntBuffer | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public IntBuffer | pColorAttachmentFormats()
a pointer to an array of |
| public VkPipelineRenderingCreateInfo | pColorAttachmentFormats(IntBuffer value)
Sets the address of the specified |
| public long | |
| public VkPipelineRenderingCreateInfo | |
| public VkPipelineRenderingCreateInfo | |
| public VkPipelineRenderingCreateInfo | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | stencilAttachmentFormat()
a |
| public VkPipelineRenderingCreateInfo | |
| public int | |
| public VkPipelineRenderingCreateInfo | |
| public VkPipelineRenderingCreateInfo | |
| public int | |
| public VkPipelineRenderingCreateInfo |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| COLORATTACHMENTCOUNT | back to summary |
|---|---|
| public static final int COLORATTACHMENTCOUNT The struct member offsets. | |
| DEPTHATTACHMENTFORMAT | back to summary |
|---|---|
| public static final int DEPTHATTACHMENTFORMAT The struct member offsets. | |
| PCOLORATTACHMENTFORMATS | back to summary |
|---|---|
| public static final int PCOLORATTACHMENTFORMATS 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. | |
| STENCILATTACHMENTFORMAT | back to summary |
|---|---|
| public static final int STENCILATTACHMENTFORMAT The struct member offsets. | |
| STYPE | back to summary |
|---|---|
| public static final int STYPE The struct member offsets. | |
| VIEWMASK | back to summary |
|---|---|
| public static final int VIEWMASK The struct member offsets. | |
| VkPipelineRenderingCreateInfo | back to summary |
|---|---|
| protected VkPipelineRenderingCreateInfo(long address, ByteBuffer container) | |
| VkPipelineRenderingCreateInfo | back to summary |
|---|---|
| public VkPipelineRenderingCreateInfo(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkPipelineRenderingCreateInfo calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkPipelineRenderingCreateInfo. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkPipelineRenderingCreateInfo calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkPipelineRenderingCreateInfo. Returns a new
| |
| colorAttachmentCount | back to summary |
|---|---|
| public int colorAttachmentCount() the number of entries in
| |
| colorAttachmentCount | back to summary |
|---|---|
| public VkPipelineRenderingCreateInfo colorAttachmentCount(int value) Sets the specified value to the | |
| create | back to summary |
|---|---|
| protected VkPipelineRenderingCreateInfo create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkPipelineRenderingCreateInfo create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkPipelineRenderingCreateInfo create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkPipelineRenderingCreateInfo. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkPipelineRenderingCreateInfo. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkPipelineRenderingCreateInfo createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkPipelineRenderingCreateInfo. Like
| |
| depthAttachmentFormat | back to summary |
|---|---|
| public int depthAttachmentFormat() a
| |
| depthAttachmentFormat | back to summary |
|---|---|
| public VkPipelineRenderingCreateInfo depthAttachmentFormat(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkPipelineRenderingCreateInfo malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkPipelineRenderingCreateInfo. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkPipelineRenderingCreateInfo malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkPipelineRenderingCreateInfo. Returns a new
| |
| ncolorAttachmentCount | back to summary |
|---|---|
| public static int ncolorAttachmentCount(long struct) Unsafe version of | |
| ncolorAttachmentCount | back to summary |
|---|---|
| public static void ncolorAttachmentCount(long struct, int value) Sets the specified value to the | |
| ndepthAttachmentFormat | back to summary |
|---|---|
| public static int ndepthAttachmentFormat(long struct) Unsafe version of | |
| ndepthAttachmentFormat | back to summary |
|---|---|
| public static void ndepthAttachmentFormat(long struct, int value) Unsafe version of | |
| npColorAttachmentFormats | back to summary |
|---|---|
| public static IntBuffer npColorAttachmentFormats(long struct) Unsafe version of
| |
| npColorAttachmentFormats | back to summary |
|---|---|
| public static void npColorAttachmentFormats(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 | |
| nstencilAttachmentFormat | back to summary |
|---|---|
| public static int nstencilAttachmentFormat(long struct) Unsafe version of | |
| nstencilAttachmentFormat | back to summary |
|---|---|
| public static void nstencilAttachmentFormat(long struct, int 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 | |
| nviewMask | back to summary |
|---|---|
| public static int nviewMask(long struct) Unsafe version of | |
| nviewMask | back to summary |
|---|---|
| public static void nviewMask(long struct, int value) Unsafe version of | |
| pColorAttachmentFormats | back to summary |
|---|---|
| public IntBuffer pColorAttachmentFormats() a pointer to an array of
| |
| pColorAttachmentFormats | back to summary |
|---|---|
| public VkPipelineRenderingCreateInfo pColorAttachmentFormats(IntBuffer value) Sets the address of the specified | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkPipelineRenderingCreateInfo pNext(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkPipelineRenderingCreateInfo set(int sType, long pNext, int viewMask, int colorAttachmentCount, IntBuffer pColorAttachmentFormats, int depthAttachmentFormat, int stencilAttachmentFormat) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkPipelineRenderingCreateInfo set(VkPipelineRenderingCreateInfo src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| stencilAttachmentFormat | back to summary |
|---|---|
| public int stencilAttachmentFormat() a
| |
| stencilAttachmentFormat | back to summary |
|---|---|
| public VkPipelineRenderingCreateInfo stencilAttachmentFormat(int value) Sets the specified value to the | |
| sType | back to summary |
|---|---|
| public int sType() a
| |
| sType | back to summary |
|---|---|
| public VkPipelineRenderingCreateInfo sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkPipelineRenderingCreateInfo sType$Default() Sets the | |
| viewMask | back to summary |
|---|---|
| public int viewMask() the viewMask used for rendering.
| |
| viewMask | back to summary |
|---|---|
| public VkPipelineRenderingCreateInfo viewMask(int value) Sets the specified value to the | |
VkPipelineRenderingCreateInfo structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkPipelineRenderingCreateInfo |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkPipelineRenderingCreateInfo 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) | |
| colorAttachmentCount | back to summary |
|---|---|
public int colorAttachmentCount()
| |
| colorAttachmentCount | back to summary |
|---|---|
| public VkPipelineRenderingCreateInfo. Sets the specified value to the | |
| depthAttachmentFormat | back to summary |
|---|---|
public int depthAttachmentFormat()
| |
| depthAttachmentFormat | back to summary |
|---|---|
| public VkPipelineRenderingCreateInfo. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkPipelineRenderingCreateInfo getElementFactory() Implements abstract org.
| |
| pColorAttachmentFormats | back to summary |
|---|---|
public IntBuffer pColorAttachmentFormats()
| |
| pColorAttachmentFormats | back to summary |
|---|---|
| public VkPipelineRenderingCreateInfo. Sets the address of the specified | |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkPipelineRenderingCreateInfo. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkPipelineRenderingCreateInfo. Implements abstract org.
| |
| stencilAttachmentFormat | back to summary |
|---|---|
public int stencilAttachmentFormat()
| |
| stencilAttachmentFormat | back to summary |
|---|---|
| public VkPipelineRenderingCreateInfo. Sets the specified value to the | |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkPipelineRenderingCreateInfo. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkPipelineRenderingCreateInfo. Sets the | |
| viewMask | back to summary |
|---|---|
public int viewMask()
| |
| viewMask | back to summary |
|---|---|
| public VkPipelineRenderingCreateInfo. Sets the specified value to the | |