Top Description Fields Constructors Methods
org.lwjgl.vulkan

public Class EXTAttachmentFeedbackLoopDynamicState

extends Object
Class Inheritance
Imports
org.lwjgl.system.*

This extension adds support for setting attachment feedback loops dynamically on command buffers.
VK_EXT_attachment_feedback_loop_dynamic_state
Name String
VK_EXT_attachment_feedback_loop_dynamic_state
Extension Type
Device extension
Registered Extension Number
525
Revision
1
Extension and Version Dependencies
VK_KHR_get_physical_device_properties2 and VK_EXT_attachment_feedback_loop_layout
Contact
  • Mike Blumenkrantz zmike
Extension Proposal
VK_EXT_attachment_feedback_loop_dynamic_state
Other Extension Metadata
Last Modified Date
2023-04-28
IP Status
No known IP claims.
Contributors
  • Mike Blumenkrantz, Valve
  • Daniel Story, Nintendo
  • Stu Smith, AMD
  • Samuel Pitoiset, Valve
  • Ricardo Garcia, Igalia

Field Summary

Modifier and TypeField and Description
public static final int
public static final String
public static final int
public static final int

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static void
vkCmdSetAttachmentFeedbackLoopEnableEXT(VkCommandBuffer
the command buffer into which the command will be recorded.
commandBuffer
,
int
specifies the types of attachments for which feedback loops will be enabled. Attachment types whose aspects are not included in aspectMask will have feedback loops disabled.
aspectMask
)

Specify whether attachment feedback loops are enabled dynamically on a command buffer.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXTback to summary
public static final int VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT

Extends VkDynamicState.

VK_EXT_ATTACHMENT_FEEDBACK_LOOP_DYNAMIC_STATE_EXTENSION_NAMEback to summary
public static final String VK_EXT_ATTACHMENT_FEEDBACK_LOOP_DYNAMIC_STATE_EXTENSION_NAME

The extension name.

VK_EXT_ATTACHMENT_FEEDBACK_LOOP_DYNAMIC_STATE_SPEC_VERSIONback to summary
public static final int VK_EXT_ATTACHMENT_FEEDBACK_LOOP_DYNAMIC_STATE_SPEC_VERSION

The extension specification version.

VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ATTACHMENT_FEEDBACK_LOOP_DYNAMIC_STATE_FEATURES_EXTback to summary
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ATTACHMENT_FEEDBACK_LOOP_DYNAMIC_STATE_FEATURES_EXT

Extends VkStructureType.

Constructor Detail

EXTAttachmentFeedbackLoopDynamicStateback to summary
protected EXTAttachmentFeedbackLoopDynamicState()

Method Detail

vkCmdSetAttachmentFeedbackLoopEnableEXTback to summary
public static void vkCmdSetAttachmentFeedbackLoopEnableEXT(VkCommandBuffer commandBuffer, int aspectMask)

Specify whether attachment feedback loops are enabled dynamically on a command buffer.

C Specification

To dynamically set whether a pipeline can access a resource as a non-attachment while it is also used as an attachment that is written to, call:


void vkCmdSetAttachmentFeedbackLoopEnableEXT(
    VkCommandBuffer                             commandBuffer,
    VkImageAspectFlags                          aspectMask);
Description

For attachments that are written to in a render pass, only attachments with the aspects specified in aspectMask can be accessed as non-attachments by subsequent drawing commands.

Valid Usage
Valid Usage (Implicit)
  • commandBuffer must be a valid VkCommandBuffer handle
  • aspectMask must be a valid combination of VkImageAspectFlagBits values
  • commandBuffer must be in the recording state
  • The VkCommandPool that commandBuffer was allocated from must support graphics operations
  • This command must only be called outside of a video coding scope
Host Synchronization
  • Host access to commandBuffer must be externally synchronized
  • Host access to the VkCommandPool that commandBuffer was allocated from must be externally synchronized
Command Properties
Command Buffer LevelsRender Pass ScopeVideo Coding ScopeSupported Queue TypesCommand Type
Primary SecondaryBothOutsideGraphicsState
Parameters
commandBuffer:VkCommandBuffer

the command buffer into which the command will be recorded.

aspectMask:int

specifies the types of attachments for which feedback loops will be enabled. Attachment types whose aspects are not included in aspectMask will have feedback loops disabled.