namespace Brutal.VulkanApi
{
///
/// VkPeerMemoryFeatureFlagBits - Bitmask specifying supported peer memory features
///
///
///
/// Bits which may: be set in
/// vkGetDeviceGroupPeerMemoryFeatures::pPeerMemoryFeatures,
/// indicating supported peer memory features, are:
///
///
/// // Provided by VK_VERSION_1_1
/// typedef enum VkPeerMemoryFeatureFlagBits {
/// VK_PEER_MEMORY_FEATURE_COPY_SRC_BIT = 0x00000001,
/// VK_PEER_MEMORY_FEATURE_COPY_DST_BIT = 0x00000002,
/// VK_PEER_MEMORY_FEATURE_GENERIC_SRC_BIT = 0x00000004,
/// VK_PEER_MEMORY_FEATURE_GENERIC_DST_BIT = 0x00000008,
/// // Provided by VK_KHR_device_group
/// VK_PEER_MEMORY_FEATURE_COPY_SRC_BIT_KHR = VK_PEER_MEMORY_FEATURE_COPY_SRC_BIT,
/// // Provided by VK_KHR_device_group
/// VK_PEER_MEMORY_FEATURE_COPY_DST_BIT_KHR = VK_PEER_MEMORY_FEATURE_COPY_DST_BIT,
/// // Provided by VK_KHR_device_group
/// VK_PEER_MEMORY_FEATURE_GENERIC_SRC_BIT_KHR = VK_PEER_MEMORY_FEATURE_GENERIC_SRC_BIT,
/// // Provided by VK_KHR_device_group
/// VK_PEER_MEMORY_FEATURE_GENERIC_DST_BIT_KHR = VK_PEER_MEMORY_FEATURE_GENERIC_DST_BIT,
/// } VkPeerMemoryFeatureFlagBits;
///
///
[Flags]
public enum VkPeerMemoryFeatureFlags : int
{
/// No flags set.
None = 0,
///
/// CopySrcBit specifies that the memory can be accessed as the source of any ftext:vkCmdCopy* command.
///
CopySrcBit = 0x00000001,
///
/// CopyDstBit specifies that the memory can be accessed as the destination of any ftext:vkCmdCopy* command.
///
CopyDstBit = 0x00000002,
///
/// GenericSrcBit specifies that the memory can be read as any memory access type.
///
GenericSrcBit = 0x00000004,
///
/// GenericDstBit specifies that the memory can be written as any memory access type. Shader atomics are considered to be writes. [NOTE]
///
GenericDstBit = 0x00000008,
///
/// CopySrcBitKHR
///
CopySrcBitKHR = CopySrcBit,
///
/// CopyDstBitKHR
///
CopyDstBitKHR = CopyDstBit,
///
/// GenericSrcBitKHR
///
GenericSrcBitKHR = GenericSrcBit,
///
/// GenericDstBitKHR
///
GenericDstBitKHR = GenericDstBit,
///
/// FlagBitsMaxEnum
///
FlagBitsMaxEnum = 0x7FFFFFFF,
}
}