The fragment density map is read at an implementation-dependent time with the following constraints determined by the attachment’s image view flags:
IMAGE_VIEW_CREATE_FRAGMENT_DENSITY_MAP_DYNAMIC_BIT_EXT specifies that the fragment density map will be read by the device during PIPELINE_STAGE_FRAGMENT_DENSITY_PROCESS_BIT_EXTIMAGE_VIEW_CREATE_FRAGMENT_DENSITY_MAP_DEFERRED_BIT_EXT specifies that the fragment density map will be read by the host during EndCommandBuffer of the primary command buffer that the render pass is recorded intoCmdBeginRenderPassThe fragment density map may additionally be read by the device during PIPELINE_STAGE_FRAGMENT_DENSITY_PROCESS_BIT_EXT for any mode.
If this structure is not present, it is as if fragmentDensityMapAttachment was given as ATTACHMENT_UNUSED.
fragmentDensityMapAttachment is not ATTACHMENT_UNUSED, fragmentDensityMapAttachment must not be an element of VkSubpassDescription::pInputAttachments, VkSubpassDescription::pColorAttachments, VkSubpassDescription::pResolveAttachments, VkSubpassDescription::pDepthStencilAttachment, or VkSubpassDescription::pPreserveAttachments for any subpassfragmentDensityMapAttachment is not ATTACHMENT_UNUSED, layout must be equal to IMAGE_LAYOUT_FRAGMENT_DENSITY_MAP_OPTIMAL_EXT, or IMAGE_LAYOUT_GENERALfragmentDensityMapAttachment is not ATTACHMENT_UNUSED, fragmentDensityMapAttachment must reference an attachment with a loadOp equal to ATTACHMENT_LOAD_OP_LOAD or ATTACHMENT_LOAD_OP_DONT_CAREfragmentDensityMapAttachment is not ATTACHMENT_UNUSED, fragmentDensityMapAttachment must reference an attachment with a storeOp equal to ATTACHMENT_STORE_OP_DONT_CAREsType must be STRUCTURE_TYPE_RENDER_PASS_FRAGMENT_DENSITY_MAP_CREATE_INFO_EXTfragmentDensityMapAttachment must be a valid VkAttachmentReference structure
struct VkRenderPassFragmentDensityMapCreateInfoEXT {
VkStructureType sType;
void const * pNext;
VkAttachmentReference fragmentDensityMapAttachment;
}
| 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 | FRAGMENTDENSITYMAPATTACHMENT
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 | VkRenderPassFragmentDensityMapCreateInfoEXT(ByteBuffer container)
Creates a |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| FRAGMENTDENSITYMAPATTACHMENT | back to summary |
|---|---|
| public static final int FRAGMENTDENSITYMAPATTACHMENT 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. | |
| VkRenderPassFragmentDensityMapCreateInfoEXT | back to summary |
|---|---|
| protected VkRenderPassFragmentDensityMapCreateInfoEXT(long address, ByteBuffer container) | |
| VkRenderPassFragmentDensityMapCreateInfoEXT | back to summary |
|---|---|
| public VkRenderPassFragmentDensityMapCreateInfoEXT(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkRenderPassFragmentDensityMapCreateInfoEXT calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkRenderPassFragmentDensityMapCreateInfoEXT. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkRenderPassFragmentDensityMapCreateInfoEXT calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkRenderPassFragmentDensityMapCreateInfoEXT. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkRenderPassFragmentDensityMapCreateInfoEXT callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkRenderPassFragmentDensityMapCreateInfoEXT callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkRenderPassFragmentDensityMapCreateInfoEXT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkRenderPassFragmentDensityMapCreateInfoEXT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected VkRenderPassFragmentDensityMapCreateInfoEXT create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkRenderPassFragmentDensityMapCreateInfoEXT create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkRenderPassFragmentDensityMapCreateInfoEXT create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkRenderPassFragmentDensityMapCreateInfoEXT. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkRenderPassFragmentDensityMapCreateInfoEXT. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkRenderPassFragmentDensityMapCreateInfoEXT createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkRenderPassFragmentDensityMapCreateInfoEXT. Like
| |
| fragmentDensityMapAttachment | back to summary |
|---|---|
| public VkAttachmentReference fragmentDensityMapAttachment() the fragment density map to use for the render pass. | |
| fragmentDensityMapAttachment | back to summary |
|---|---|
| public VkRenderPassFragmentDensityMapCreateInfoEXT fragmentDensityMapAttachment(VkAttachmentReference value) Copies the specified | |
| fragmentDensityMapAttachment | back to summary |
|---|---|
| public VkRenderPassFragmentDensityMapCreateInfoEXT fragmentDensityMapAttachment(Consumer<VkAttachmentReference> consumer) Passes the | |
| malloc | back to summary |
|---|---|
| public static VkRenderPassFragmentDensityMapCreateInfoEXT malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkRenderPassFragmentDensityMapCreateInfoEXT. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkRenderPassFragmentDensityMapCreateInfoEXT malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkRenderPassFragmentDensityMapCreateInfoEXT. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkRenderPassFragmentDensityMapCreateInfoEXT mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkRenderPassFragmentDensityMapCreateInfoEXT mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkRenderPassFragmentDensityMapCreateInfoEXT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkRenderPassFragmentDensityMapCreateInfoEXT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nfragmentDensityMapAttachment | back to summary |
|---|---|
| public static VkAttachmentReference nfragmentDensityMapAttachment(long struct) Unsafe version of | |
| nfragmentDensityMapAttachment | back to summary |
|---|---|
| public static void nfragmentDensityMapAttachment(long struct, VkAttachmentReference 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 | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkRenderPassFragmentDensityMapCreateInfoEXT pNext(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkRenderPassFragmentDensityMapCreateInfoEXT set(int sType, long pNext, VkAttachmentReference fragmentDensityMapAttachment) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkRenderPassFragmentDensityMapCreateInfoEXT set(VkRenderPassFragmentDensityMapCreateInfoEXT 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 VkRenderPassFragmentDensityMapCreateInfoEXT sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkRenderPassFragmentDensityMapCreateInfoEXT sType$Default() Sets the | |
VkRenderPassFragmentDensityMapCreateInfoEXT structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkRenderPassFragmentDensityMapCreateInfoEXT |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkRenderPassFragmentDensityMapCreateInfoEXT 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) | |
| fragmentDensityMapAttachment | back to summary |
|---|---|
public VkAttachmentReference fragmentDensityMapAttachment()
| |
| fragmentDensityMapAttachment | back to summary |
|---|---|
| public VkRenderPassFragmentDensityMapCreateInfoEXT. Copies the specified | |
| fragmentDensityMapAttachment | back to summary |
|---|---|
| public VkRenderPassFragmentDensityMapCreateInfoEXT. Passes the | |
| getElementFactory | back to summary |
|---|---|
| protected VkRenderPassFragmentDensityMapCreateInfoEXT getElementFactory() Implements abstract org.
| |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkRenderPassFragmentDensityMapCreateInfoEXT. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkRenderPassFragmentDensityMapCreateInfoEXT. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkRenderPassFragmentDensityMapCreateInfoEXT. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkRenderPassFragmentDensityMapCreateInfoEXT. Sets the | |