namespace Brutal.VulkanApi
{
///
/// VkExternalMemoryFeatureFlagBits - Bitmask specifying features of an external memory handle type
///
///
///
/// Bits which may: be set in
/// VkExternalMemoryProperties::externalMemoryFeatures, specifying
/// features of an external memory handle type, are:
///
///
/// // Provided by VK_VERSION_1_1
/// typedef enum VkExternalMemoryFeatureFlagBits {
/// VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT = 0x00000001,
/// VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT = 0x00000002,
/// VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT = 0x00000004,
/// // Provided by VK_KHR_external_memory_capabilities
/// VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT_KHR = VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT,
/// // Provided by VK_KHR_external_memory_capabilities
/// VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT_KHR = VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT,
/// // Provided by VK_KHR_external_memory_capabilities
/// VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT_KHR = VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT,
/// } VkExternalMemoryFeatureFlagBits;
///
///
[Flags]
public enum VkExternalMemoryFeatureFlags : int
{
/// No flags set.
None = 0,
///
/// DedicatedOnlyBit specifies that images or buffers created with the specified parameters and handle type must use the mechanisms defined by VkMemoryDedicatedRequirements and VkMemoryDedicatedAllocateInfo to create (or import) a dedicated allocation for the image or buffer.
///
DedicatedOnlyBit = 0x00000001,
///
/// ExportableBit specifies that handles of this type can be exported from Vulkan memory objects.
///
ExportableBit = 0x00000002,
///
/// ImportableBit specifies that handles of this type can be imported as Vulkan memory objects. 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 VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT for the following external handle types:
///
ImportableBit = 0x00000004,
///
/// DedicatedOnlyBitKHR
///
DedicatedOnlyBitKHR = DedicatedOnlyBit,
///
/// ExportableBitKHR
///
ExportableBitKHR = ExportableBit,
///
/// ImportableBitKHR
///
ImportableBitKHR = ImportableBit,
///
/// FlagBitsMaxEnum
///
FlagBitsMaxEnum = 0x7FFFFFFF,
}
}