C Specification
The VkConditionalRenderingBeginInfo2EXT structure is defined as:
// Provided by VK_KHR_device_address_commands with VK_EXT_conditional_rendering
typedef struct VkConditionalRenderingBeginInfo2EXT {
VkStructureType sType;
const void* pNext;
VkDeviceAddressRangeKHR addressRange;
VkAddressCommandFlagsKHR addressFlags;
VkConditionalRenderingFlagsEXT flags;
} VkConditionalRenderingBeginInfo2EXT;
Members
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
addressRangeis the VkDeviceAddressRangeKHR containing the predicate for conditional rendering. -
addressFlagsis a VkAddressCommandFlagsKHR value defining the flags for the address range. -
flagsis a bitmask of VkConditionalRenderingFlagsEXT specifying the behavior of conditional rendering.
Description
If the 32-bit value at addressRange.address is zero, then the
rendering commands are discarded, otherwise they are executed as normal.
If the value of the predicate in memory changes while conditional rendering
is active, the rendering commands may be discarded in an
implementation-dependent way.
Some implementations may latch the value of the predicate upon beginning
conditional rendering while others may read it before every rendering
command.
Document Notes
For more information, see the Vulkan Specification.
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.