VkMemoryRangeBarriersInfoKHR(3)

# VkMemoryRangeBarriersInfoKHR(3) Manual Page

## Name

VkMemoryRangeBarriersInfoKHR - Structure specifying memory range barriers

## 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)

- VUID-VkMemoryRangeBarriersInfoKHR-sType-sType
  `sType` must be VK_STRUCTURE_TYPE_MEMORY_RANGE_BARRIERS_INFO_KHR

- VUID-VkMemoryRangeBarriersInfoKHR-pMemoryRangeBarriers-parameter
  If `memoryRangeBarrierCount` is not `0`, `pMemoryRangeBarriers` must be a valid pointer to an array of `memoryRangeBarrierCount` valid VkMemoryRangeBarrierKHR structures

Structure Chaining

Extends the structure

  - VkDependencyInfo

## See Also

VK_KHR_device_address_commands, VkMemoryRangeBarrierKHR, VkStructureType

## 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

Copyright 2014-2026 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0