Structures
VkPhysicalDeviceExternalFenceInfo
Structure specifying fence creation parameters.
The VkPhysicalDeviceExternalFenceInfo structure is defined as:
typedef struct VkPhysicalDeviceExternalFenceInfo {
VkStructureType sType;
const void* pNext;
VkExternalFenceHandleTypeFlagBits handleType;
} VkPhysicalDeviceExternalFenceInfo;
pub struct PhysicalDeviceExternalFenceInfo {
s_type: vk::StructureType,
p_next: *const c_void,
handle_type: vk::ExternalFenceHandleTypeFlagBits,
}
typedef VkPhysicalDeviceExternalFenceInfo VkPhysicalDeviceExternalFenceInfoKHR;
type PhysicalDeviceExternalFenceInfoKHR = vk::PhysicalDeviceExternalFenceInfo;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.handleTypeis a VkExternalFenceHandleTypeFlagBits value specifying an external fence handle type for which capabilities will be returned.
Handles of type
VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT generated by
the implementation may represent either Linux Sync Files or Android Fences
at the implementation’s discretion.
Applications should only use operations defined for both types of file
descriptors, unless they know via means external to Vulkan the type of the
file descriptor, or are prepared to deal with the system-defined operation
failures resulting from using the wrong type.Valid Usage (Implicit)
VUID-VkPhysicalDeviceExternalFenceInfo-sType-sType
sType must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO
VUID-VkPhysicalDeviceExternalFenceInfo-pNext-pNext
pNext must be NULL
VUID-VkPhysicalDeviceExternalFenceInfo-handleType-parameter
handleType must be a valid VkExternalFenceHandleTypeFlagBits value
Parent
VK_VERSION_1_1Type
Structures