HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Modulevulkan-3.27GHC2021

Vulkan.Core11.Enums.ExternalMemoryFeatureFlagBits

  • 2 types
  • Packagevulkan-3.27
  • Exports5
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceExternalMemoryFeatureFlagBits.hs
newtypenewtype ExternalMemoryFeatureFlagBits
#

VkExternalMemoryFeatureFlagBits - Bitmask specifying features of an external memory handle type

Description

Because their semantics in external APIs roughly align with that of an image or buffer with a dedicated allocation in Vulkan, implementations are required to report EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT for the following external handle types:

Implementations must not report EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT for buffers with external handle type EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID. Implementations must not report EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT for buffers with external handle type EXTERNAL_MEMORY_HANDLE_TYPE_SCREEN_BUFFER_BIT_QNX. Implementations must not report EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT for tensors, images or buffers with external handle type EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT, or EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT.

See Also

VK_KHR_external_memory_capabilities, VK_VERSION_1_1, ExternalMemoryFeatureFlags

Instances8Eq, Ord, Read, Show, Bits, FiniteBits, …