VkPhysicalDeviceMapMemoryPlacedFeaturesEXT(3)
Name
VkPhysicalDeviceMapMemoryPlacedFeaturesEXT - Structure describing placed memory map features that can be supported by an implementation
C Specification
The VkPhysicalDeviceMapMemoryPlacedFeaturesEXT
structure is defined
as:
// Provided by VK_EXT_map_memory_placed
typedef struct VkPhysicalDeviceMapMemoryPlacedFeaturesEXT {
VkStructureType sType;
void* pNext;
VkBool32 memoryMapPlaced;
VkBool32 memoryMapRangePlaced;
VkBool32 memoryUnmapReserve;
} VkPhysicalDeviceMapMemoryPlacedFeaturesEXT;
Members
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.
Description
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.
See Also
VK_EXT_map_memory_placed, VkBool32
, 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.