If the pNext chain of VkSubpassDescription2 includes a VkSubpassDescriptionDepthStencilResolve structure, then that structure describes multisample resolve operations for the depth/stencil attachment in a subpass. If this structure is not included in the pNext chain of VkSubpassDescription2, or if it is and either pDepthStencilResolveAttachment is NULL or its attachment index is ATTACHMENT_UNUSED, it indicates that no depth/stencil resolve attachment will be used in the subpass.
pDepthStencilResolveAttachment is not NULL and does not have the value ATTACHMENT_UNUSED, pDepthStencilAttachment must not be NULL or have the value ATTACHMENT_UNUSEDpDepthStencilResolveAttachment is not NULL and does not have the value ATTACHMENT_UNUSED, pDepthStencilAttachment must not have a sample count of SAMPLE_COUNT_1_BITpDepthStencilResolveAttachment is not NULL and does not have the value ATTACHMENT_UNUSED, pDepthStencilResolveAttachment must have a sample count of SAMPLE_COUNT_1_BITpDepthStencilResolveAttachment is not NULL and does not have the value ATTACHMENT_UNUSED then it must have an image format whose potential format features contain FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BITpDepthStencilResolveAttachment is not NULL and does not have the value ATTACHMENT_UNUSED and VkFormat of pDepthStencilResolveAttachment has a depth component, then the VkFormat of pDepthStencilAttachment must have a depth component with the same number of bits and numeric formatpDepthStencilResolveAttachment is not NULL and does not have the value ATTACHMENT_UNUSED, and VkFormat of pDepthStencilResolveAttachment has a stencil component, then the VkFormat of pDepthStencilAttachment must have a stencil component with the same number of bits and numeric formatpDepthStencilResolveAttachment is not NULL and does not have the value ATTACHMENT_UNUSED, depthResolveMode and stencilResolveMode must not both be RESOLVE_MODE_NONEpDepthStencilResolveAttachment is not NULL and does not have the value ATTACHMENT_UNUSED and the VkFormat of pDepthStencilResolveAttachment has a depth component, then the value of depthResolveMode must be one of the bits set in VkPhysicalDeviceDepthStencilResolveProperties::supportedDepthResolveModes or RESOLVE_MODE_NONEpDepthStencilResolveAttachment is not NULL and does not have the value ATTACHMENT_UNUSED and the VkFormat of pDepthStencilResolveAttachment has a stencil component, then the value of stencilResolveMode must be one of the bits set in VkPhysicalDeviceDepthStencilResolveProperties::supportedStencilResolveModes or RESOLVE_MODE_NONEpDepthStencilResolveAttachment is not NULL and does not have the value ATTACHMENT_UNUSED, the VkFormat of pDepthStencilResolveAttachment has both depth and stencil components, VkPhysicalDeviceDepthStencilResolveProperties::independentResolve is FALSE, and VkPhysicalDeviceDepthStencilResolveProperties::independentResolveNone is FALSE, then the values of depthResolveMode and stencilResolveMode must be identicalpDepthStencilResolveAttachment is not NULL and does not have the value ATTACHMENT_UNUSED, the VkFormat of pDepthStencilResolveAttachment has both depth and stencil components, VkPhysicalDeviceDepthStencilResolveProperties::independentResolve is FALSE and VkPhysicalDeviceDepthStencilResolveProperties::independentResolveNone is TRUE, then the values of depthResolveMode and stencilResolveMode must be identical or one of them must be RESOLVE_MODE_NONEpNext chain of VkSubpassDescription2 includes a VkMultisampledRenderToSingleSampledInfoEXT structure, the multisampledRenderToSingleSampledEnable field is TRUE, and pDepthStencilAttachment is not NULL and does not have the value ATTACHMENT_UNUSED, depthResolveMode and stencilResolveMode must not both be RESOLVE_MODE_NONEpNext chain of VkSubpassDescription2 includes a VkMultisampledRenderToSingleSampledInfoEXT structure whose multisampledRenderToSingleSampledEnable field is TRUE, and pDepthStencilAttachment is not NULL, does not have the value ATTACHMENT_UNUSED, and has a VkFormat that has a depth component, then the value of depthResolveMode must be one of the bits set in VkPhysicalDeviceDepthStencilResolveProperties::supportedDepthResolveModes or RESOLVE_MODE_NONEpNext chain of VkSubpassDescription2 includes a VkMultisampledRenderToSingleSampledInfoEXT structure whose multisampledRenderToSingleSampledEnable field is TRUE, and pDepthStencilAttachment is not NULL, does not have the value ATTACHMENT_UNUSED, and has a VkFormat with a stencil component, then the value of stencilResolveMode must be one of the bits set in VkPhysicalDeviceDepthStencilResolveProperties::supportedStencilResolveModes or RESOLVE_MODE_NONEpNext chain of VkSubpassDescription2 includes a VkMultisampledRenderToSingleSampledInfoEXT structure whose multisampledRenderToSingleSampledEnable field is TRUE, pDepthStencilAttachment is not NULL, does not have the value ATTACHMENT_UNUSED, and has a VkFormat with both depth and stencil components, and both VkPhysicalDeviceDepthStencilResolveProperties::independentResolve and VkPhysicalDeviceDepthStencilResolveProperties::independentResolveNone are FALSE, then the values of depthResolveMode and stencilResolveMode must be identicalpNext chain of VkSubpassDescription2 includes a VkMultisampledRenderToSingleSampledInfoEXT structure whose multisampledRenderToSingleSampledEnable field is TRUE, pDepthStencilAttachment is not NULL, does not have the value ATTACHMENT_UNUSED, and has a VkFormat with both depth and stencil components, VkPhysicalDeviceDepthStencilResolveProperties::independentResolve is FALSE, and VkPhysicalDeviceDepthStencilResolveProperties::independentResolveNone is TRUE, then the values of depthResolveMode and stencilResolveMode must be identical or one of them must be RESOLVE_MODE_NONEsType must be STRUCTURE_TYPE_SUBPASS_DESCRIPTION_DEPTH_STENCIL_RESOLVEpDepthStencilResolveAttachment is not NULL, pDepthStencilResolveAttachment must be a valid pointer to a valid VkAttachmentReference2 structure
struct VkSubpassDescriptionDepthStencilResolve {
VkStructureType sType;
void const * pNext;
VkResolveModeFlagBits depthResolveMode;
VkResolveModeFlagBits stencilResolveMode;
VkAttachmentReference2 const * pDepthStencilResolveAttachment;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DEPTHRESOLVEMODE
The struct member offsets. |
| public static final int | PDEPTHSTENCILRESOLVEATTACHMENT
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 | STENCILRESOLVEMODE
The struct member offsets. |
| public static final int | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkSubpassDescriptionDepthStencilResolve(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkSubpassDescriptionDepthStencilResolve | |
| public static VkSubpassDescriptionDepthStencilResolve. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkSubpassDescriptionDepthStencilResolve | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkSubpassDescriptionDepthStencilResolve. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkSubpassDescriptionDepthStencilResolve | 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 VkSubpassDescriptionDepthStencilResolve | |
| public static VkSubpassDescriptionDepthStencilResolve | create(long address)
Returns a new |
| public static VkSubpassDescriptionDepthStencilResolve. | create(int
the buffer capacity capacity)Returns a new |
| public static VkSubpassDescriptionDepthStencilResolve. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkSubpassDescriptionDepthStencilResolve | |
| public static VkSubpassDescriptionDepthStencilResolve. | |
| public int | |
| public VkSubpassDescriptionDepthStencilResolve | |
| public static VkSubpassDescriptionDepthStencilResolve | |
| public static VkSubpassDescriptionDepthStencilResolve. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkSubpassDescriptionDepthStencilResolve | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkSubpassDescriptionDepthStencilResolve. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static int | |
| public static void | |
| public static VkAttachmentReference2 | |
| public static void | npDepthStencilResolveAttachment(long struct, VkAttachmentReference2 value)
Unsafe version of |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public VkAttachmentReference2 | pDepthStencilResolveAttachment()
|
| public VkSubpassDescriptionDepthStencilResolve | pDepthStencilResolveAttachment(VkAttachmentReference2 value)
Sets the address of the specified |
| public long | |
| public VkSubpassDescriptionDepthStencilResolve | |
| public VkSubpassDescriptionDepthStencilResolve | set(int sType, long pNext, int depthResolveMode, int stencilResolveMode, VkAttachmentReference2 pDepthStencilResolveAttachment)
Initializes this struct with the specified values. |
| public VkSubpassDescriptionDepthStencilResolve | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkSubpassDescriptionDepthStencilResolve | |
| public int | |
| public VkSubpassDescriptionDepthStencilResolve | |
| public VkSubpassDescriptionDepthStencilResolve | sType$Default()
Sets the |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| DEPTHRESOLVEMODE | back to summary |
|---|---|
| public static final int DEPTHRESOLVEMODE The struct member offsets. | |
| PDEPTHSTENCILRESOLVEATTACHMENT | back to summary |
|---|---|
| public static final int PDEPTHSTENCILRESOLVEATTACHMENT 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. | |
| STENCILRESOLVEMODE | back to summary |
|---|---|
| public static final int STENCILRESOLVEMODE The struct member offsets. | |
| STYPE | back to summary |
|---|---|
| public static final int STYPE The struct member offsets. | |
| VkSubpassDescriptionDepthStencilResolve | back to summary |
|---|---|
| protected VkSubpassDescriptionDepthStencilResolve(long address, ByteBuffer container) | |
| VkSubpassDescriptionDepthStencilResolve | back to summary |
|---|---|
| public VkSubpassDescriptionDepthStencilResolve(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkSubpassDescriptionDepthStencilResolve calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkSubpassDescriptionDepthStencilResolve. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkSubpassDescriptionDepthStencilResolve calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkSubpassDescriptionDepthStencilResolve. Returns a new
| |
| create | back to summary |
|---|---|
| protected VkSubpassDescriptionDepthStencilResolve create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkSubpassDescriptionDepthStencilResolve create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkSubpassDescriptionDepthStencilResolve create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkSubpassDescriptionDepthStencilResolve. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkSubpassDescriptionDepthStencilResolve. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkSubpassDescriptionDepthStencilResolve createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkSubpassDescriptionDepthStencilResolve. Like
| |
| depthResolveMode | back to summary |
|---|---|
| public int depthResolveMode() a
| |
| depthResolveMode | back to summary |
|---|---|
| public VkSubpassDescriptionDepthStencilResolve depthResolveMode(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkSubpassDescriptionDepthStencilResolve malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkSubpassDescriptionDepthStencilResolve. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkSubpassDescriptionDepthStencilResolve malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkSubpassDescriptionDepthStencilResolve. Returns a new
| |
| ndepthResolveMode | back to summary |
|---|---|
| public static int ndepthResolveMode(long struct) Unsafe version of | |
| ndepthResolveMode | back to summary |
|---|---|
| public static void ndepthResolveMode(long struct, int value) Unsafe version of | |
| npDepthStencilResolveAttachment | back to summary |
|---|---|
| public static VkAttachmentReference2 npDepthStencilResolveAttachment(long struct) Unsafe version of
| |
| npDepthStencilResolveAttachment | back to summary |
|---|---|
| public static void npDepthStencilResolveAttachment(long struct, VkAttachmentReference2 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 | |
| nstencilResolveMode | back to summary |
|---|---|
| public static int nstencilResolveMode(long struct) Unsafe version of | |
| nstencilResolveMode | back to summary |
|---|---|
| public static void nstencilResolveMode(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 | |
| pDepthStencilResolveAttachment | back to summary |
|---|---|
| public VkAttachmentReference2 pDepthStencilResolveAttachment()
| |
| pDepthStencilResolveAttachment | back to summary |
|---|---|
| public VkSubpassDescriptionDepthStencilResolve pDepthStencilResolveAttachment(VkAttachmentReference2 value) Sets the address of the specified | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkSubpassDescriptionDepthStencilResolve pNext(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkSubpassDescriptionDepthStencilResolve set(int sType, long pNext, int depthResolveMode, int stencilResolveMode, VkAttachmentReference2 pDepthStencilResolveAttachment) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkSubpassDescriptionDepthStencilResolve set(VkSubpassDescriptionDepthStencilResolve src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| stencilResolveMode | back to summary |
|---|---|
| public int stencilResolveMode() a
| |
| stencilResolveMode | back to summary |
|---|---|
| public VkSubpassDescriptionDepthStencilResolve stencilResolveMode(int value) Sets the specified value to the | |
| sType | back to summary |
|---|---|
| public int sType() a
| |
| sType | back to summary |
|---|---|
| public VkSubpassDescriptionDepthStencilResolve sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkSubpassDescriptionDepthStencilResolve sType$Default() Sets the | |
VkSubpassDescriptionDepthStencilResolve structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkSubpassDescriptionDepthStencilResolve |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkSubpassDescriptionDepthStencilResolve 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) | |
| depthResolveMode | back to summary |
|---|---|
public int depthResolveMode()
| |
| depthResolveMode | back to summary |
|---|---|
| public VkSubpassDescriptionDepthStencilResolve. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkSubpassDescriptionDepthStencilResolve getElementFactory() Implements abstract org.
| |
| pDepthStencilResolveAttachment | back to summary |
|---|---|
public VkAttachmentReference2 pDepthStencilResolveAttachment()
| |
| pDepthStencilResolveAttachment | back to summary |
|---|---|
| public VkSubpassDescriptionDepthStencilResolve. Sets the address of the specified | |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkSubpassDescriptionDepthStencilResolve. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkSubpassDescriptionDepthStencilResolve. Implements abstract org.
| |
| stencilResolveMode | back to summary |
|---|---|
public int stencilResolveMode()
| |
| stencilResolveMode | back to summary |
|---|---|
| public VkSubpassDescriptionDepthStencilResolve. Sets the specified value to the | |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkSubpassDescriptionDepthStencilResolve. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkSubpassDescriptionDepthStencilResolve. Sets the | |