Class VkExternalFenceProperties

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer
    Direct Known Subclasses:
    VkExternalFencePropertiesKHR

    public class VkExternalFenceProperties
    extends Struct
    implements NativeResource
    Structure describing supported external fence handle features.
    Description

    If handleType is not supported by the implementation, then VkExternalFenceProperties::externalFenceFeatures will be set to zero.

    Valid Usage (Implicit)
    See Also

    GetPhysicalDeviceExternalFenceProperties, GetPhysicalDeviceExternalFencePropertiesKHR

    Member documentation

    • exportFromImportedHandleTypes – a bitmask of VkExternalFenceHandleTypeFlagBits indicating which types of imported handle handleType can be exported from.
    • compatibleHandleTypes – a bitmask of VkExternalFenceHandleTypeFlagBits specifying handle types which can be specified at the same time as handleType when creating a fence.
    • externalFenceFeatures – a bitmask of VkExternalFenceFeatureFlagBits indicating the features of handleType.

    Layout

    
     struct VkExternalFenceProperties {
         VkStructureType sType;
         void * pNext;
         VkExternalFenceHandleTypeFlags exportFromImportedHandleTypes;
         VkExternalFenceHandleTypeFlags compatibleHandleTypes;
         VkExternalFenceFeatureFlags externalFenceFeatures;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, EXPORTFROMIMPORTEDHANDLETYPES, COMPATIBLEHANDLETYPES, EXTERNALFENCEFEATURES

        The struct member offsets.
    • Constructor Detail

      • VkExternalFenceProperties

        public VkExternalFenceProperties​(java.nio.ByteBuffer container)
        Creates a VkExternalFenceProperties instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

        The created instance holds a strong reference to the container object.