C Specification

The VkMemoryRangeBarriersInfoKHR structure is defined as:

// Provided by VK_KHR_device_address_commands
typedef struct VkMemoryRangeBarriersInfoKHR {
    VkStructureType                   sType;
    const void*                       pNext;
    uint32_t                          memoryRangeBarrierCount;
    const VkMemoryRangeBarrierKHR*    pMemoryRangeBarriers;
} VkMemoryRangeBarriersInfoKHR;

Members

  • sType is a VkStructureType value identifying this structure.

  • pNext is NULL or a pointer to a structure extending this structure.

  • memoryRangeBarrierCount is the length of the pMemoryRangeBarriers array

  • pMemoryRangeBarriers is a pointer to an array of VkMemoryRangeBarrierKHR structures defining memory dependencies between accesses to specified memory ranges.

Description

When this structure is included in the pNext chain of VkDependencyInfo, it defines a set of memory dependencies, as well as queue family ownership transfer operations, for a specified set of memory ranges.

If this structure is not included in the pNext chain of VkDependencyInfo, it is equivalent to specifying it with a memoryRangeBarrierCount of 0.

Each member of pMemoryRangeBarriers defines a separate memory dependency.

Valid Usage (Implicit)

See Also

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.

Copyright 2014-2026 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0