Structures
VkPhysicalDeviceMapMemoryPlacedFeaturesEXT
Structure describing placed memory map features that can be supported by an implementation
The VkPhysicalDeviceMapMemoryPlacedFeaturesEXT
structure is defined
as:
typedef struct VkPhysicalDeviceMapMemoryPlacedFeaturesEXT {
VkStructureType sType;
void* pNext;
VkBool32 memoryMapPlaced;
VkBool32 memoryMapRangePlaced;
VkBool32 memoryUnmapReserve;
} VkPhysicalDeviceMapMemoryPlacedFeaturesEXT;
This structure describes the following features:
-
memoryMapPlaced
indicates that the implementation supports placing memory maps at application-specified virtual addresses. -
memoryMapRangePlaced
indicates that the implementation supports placing memory maps of a subrange of a memory object at application-specified virtual addresses. -
memoryUnmapReserve
indicates that the implementation supports leaving the memory range reserved when unmapping a memory object.
If the VkPhysicalDeviceMapMemoryPlacedFeaturesEXT
structure is included in the pNext
chain of the
VkPhysicalDeviceFeatures2 structure passed to
vkGetPhysicalDeviceFeatures2, it is filled in to indicate whether each
corresponding feature is supported.
If the application wishes to use a VkDevice with any features
described by VkPhysicalDeviceMapMemoryPlacedFeaturesEXT
, it must add an instance of the structure,
with the desired feature members set to VK_TRUE
, to the pNext
chain of VkDeviceCreateInfo when creating the VkDevice.
Valid Usage (Implicit)
VUID-VkPhysicalDeviceMapMemoryPlacedFeaturesEXT-sType-sType
sType
must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAP_MEMORY_PLACED_FEATURES_EXT