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.Core13.Enums.AccessFlags2

  • 2 types
  • Packagevulkan-3.27
  • Exports49
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceAccessFlags2.hs
newtypenewtype AccessFlagBits2
#

VkAccessFlagBits2 - Access flags for VkAccessFlags2

Description

Certain access types are only performed by a subset of pipeline stages, as described in more detail for AccessFlagBits. The Supported Access Types table lists, for each access flag, which pipeline stages can perform that type of access.

In situations where an application wishes to select all access types for a given set of pipeline stages, ACCESS_2_MEMORY_READ_BIT or ACCESS_2_MEMORY_WRITE_BIT can be used. This is particularly useful when specifying stages that only have a single access type.

The AccessFlags2 bitmask goes beyond the 31 individual bit flags allowable within a C99 enum, which is how AccessFlagBits is defined. The first 31 values are common to both, and are interchangeable.

See Also

VK_KHR_synchronization2, VK_VERSION_1_3, AccessFlags2

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