Structures
VkMemoryRangeBarriersInfoKHR
Structure specifying memory range barriers
The VkMemoryRangeBarriersInfoKHR structure is defined as:
typedef struct VkMemoryRangeBarriersInfoKHR {
VkStructureType sType;
const void* pNext;
uint32_t memoryRangeBarrierCount;
const VkMemoryRangeBarrierKHR* pMemoryRangeBarriers;
} VkMemoryRangeBarriersInfoKHR;
pub struct MemoryRangeBarriersInfoKHR {
s_type: vk::StructureType,
p_next: *const c_void,
memory_range_barrier_count: u32,
p_memory_range_barriers: *const vk::MemoryRangeBarrierKHR,
}
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.memoryRangeBarrierCountis the length of thepMemoryRangeBarriersarraypMemoryRangeBarriersis a pointer to an array of VkMemoryRangeBarrierKHR structures defining memory dependencies between accesses to specified memory ranges.
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