Structures
VkExternalMemoryProperties
Structure specifying external memory handle type capabilities
The VkExternalMemoryProperties structure is defined as:
typedef struct VkExternalMemoryProperties {
VkExternalMemoryFeatureFlags externalMemoryFeatures;
VkExternalMemoryHandleTypeFlags exportFromImportedHandleTypes;
VkExternalMemoryHandleTypeFlags compatibleHandleTypes;
} VkExternalMemoryProperties;
pub struct ExternalMemoryProperties {
external_memory_features: vk::ExternalMemoryFeatureFlags,
export_from_imported_handle_types: vk::ExternalMemoryHandleTypeFlags,
compatible_handle_types: vk::ExternalMemoryHandleTypeFlags,
}
typedef VkExternalMemoryProperties VkExternalMemoryPropertiesKHR;
type ExternalMemoryPropertiesKHR = vk::ExternalMemoryProperties;
externalMemoryFeaturesis a bitmask of VkExternalMemoryFeatureFlagBits specifying the features ofhandleType.exportFromImportedHandleTypesis a bitmask of VkExternalMemoryHandleTypeFlagBits specifying which types of imported handlehandleTypecan be exported from.compatibleHandleTypesis a bitmask of VkExternalMemoryHandleTypeFlagBits specifying handle types which can be specified at the same time ashandleTypewhen creating an image compatible with external memory.
compatibleHandleTypes must include at least handleType.
Inclusion of a handle type in compatibleHandleTypes does not imply the
values returned in VkImageFormatProperties2 will be the same when
VkPhysicalDeviceExternalImageFormatInfo::handleType is set to
that type.
The application is responsible for querying the capabilities of all handle
types intended for concurrent use in a single image and intersecting them to
obtain the compatible set of capabilities.
Parent
VK_VERSION_1_1Type
Structures