Movatterモバイル変換


[0]ホーム

URL:


Vulkan API Reference Pageslatest

VkFenceGetFdInfoKHR(3)

Name

VkFenceGetFdInfoKHR - Structure describing a POSIX FD fence export operation

C Specification

TheVkFenceGetFdInfoKHR structure is defined as:

// Provided by VK_KHR_external_fence_fdtypedef struct VkFenceGetFdInfoKHR {    VkStructureType                      sType;    const void*                          pNext;    VkFence                              fence;    VkExternalFenceHandleTypeFlagBits    handleType;} VkFenceGetFdInfoKHR;

Members

  • sType is aVkStructureType value identifying this structure.

  • pNext isNULL or a pointer to a structure extending thisstructure.

  • fence is the fence from which state will be exported.

  • handleType is aVkExternalFenceHandleTypeFlagBits valuespecifying the type of handle requested.

Description

The properties of the file descriptor returned depend on the value ofhandleType.SeeVkExternalFenceHandleTypeFlagBits for a description of theproperties of the defined external fence handle types.

Valid Usage
  • VUID-VkFenceGetFdInfoKHR-handleType-01453
    handleTypemust have been included inVkExportFenceCreateInfo::handleTypes whenfence’scurrent payload was created

  • VUID-VkFenceGetFdInfoKHR-handleType-01454
    IfhandleType refers to a handle type with copy payloadtransference semantics,fencemust be signaled, or have anassociatedfence signal operationpending execution

  • VUID-VkFenceGetFdInfoKHR-fence-01455
    fencemust not currently have its payload replaced by an importedpayload as described below inImporting Fence Payloads unlessthat imported payload’s handle type was included inVkExternalFenceProperties::exportFromImportedHandleTypes forhandleType

  • VUID-VkFenceGetFdInfoKHR-handleType-01456
    handleTypemust be defined as a POSIX file descriptor handle

Valid Usage (Implicit)

See Also

Document Notes

For more information, see theVulkan Specification.

This page is extracted from the Vulkan Specification.Fixes and changes should be made to the Specification, not directly.


[8]ページ先頭

©2009-2026 Movatter.jp