mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
2 changed files with 768360 additions and 0 deletions
|
|
@ -0,0 +1,67 @@
|
|||
using System.Runtime.Versioning;
|
||||
|
||||
namespace Brutal.VulkanApi.Metal
|
||||
{
|
||||
/// <summary>
|
||||
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkExportMetalObjectTypeFlagBitsEXT.html">VkExportMetalObjectTypeFlagBitsEXT</see> - Bitmask specifying Metal object types that can be exported from a Vulkan object
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Bits which indicate the types of Metal objects that may be exported from a
|
||||
/// corresponding Vulkan object are:
|
||||
/// </para>
|
||||
/// <code>
|
||||
/// // Provided by VK_EXT_metal_objects
|
||||
/// typedef enum VkExportMetalObjectTypeFlagBitsEXT {
|
||||
/// VK_EXPORT_METAL_OBJECT_TYPE_METAL_DEVICE_BIT_EXT = 0x00000001,
|
||||
/// VK_EXPORT_METAL_OBJECT_TYPE_METAL_COMMAND_QUEUE_BIT_EXT = 0x00000002,
|
||||
/// VK_EXPORT_METAL_OBJECT_TYPE_METAL_BUFFER_BIT_EXT = 0x00000004,
|
||||
/// VK_EXPORT_METAL_OBJECT_TYPE_METAL_TEXTURE_BIT_EXT = 0x00000008,
|
||||
/// VK_EXPORT_METAL_OBJECT_TYPE_METAL_IOSURFACE_BIT_EXT = 0x00000010,
|
||||
/// VK_EXPORT_METAL_OBJECT_TYPE_METAL_SHARED_EVENT_BIT_EXT = 0x00000020,
|
||||
/// } VkExportMetalObjectTypeFlagBitsEXT;
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[Flags]
|
||||
[SupportedOSPlatform("macos"), SupportedOSPlatform("ios")]
|
||||
public enum VkExportMetalObjectTypeFlagsEXT : int
|
||||
{
|
||||
/// No flags set.
|
||||
None = 0,
|
||||
|
||||
/// <summary>
|
||||
/// <c>MetalDeviceBitEXT</c> specifies that a Metal <c>MTLDevice</c> may be exported.
|
||||
/// </summary>
|
||||
MetalDeviceBitEXT = 0x00000001,
|
||||
|
||||
/// <summary>
|
||||
/// <c>MetalCommandQueueBitEXT</c> specifies that a Metal <c>MTLCommandQueue</c> may be exported.
|
||||
/// </summary>
|
||||
MetalCommandQueueBitEXT = 0x00000002,
|
||||
|
||||
/// <summary>
|
||||
/// <c>MetalBufferBitEXT</c> specifies that a Metal <c>MTLBuffer</c> may be exported.
|
||||
/// </summary>
|
||||
MetalBufferBitEXT = 0x00000004,
|
||||
|
||||
/// <summary>
|
||||
/// <c>MetalTextureBitEXT</c> specifies that a Metal <c>MTLTexture</c> may be exported.
|
||||
/// </summary>
|
||||
MetalTextureBitEXT = 0x00000008,
|
||||
|
||||
/// <summary>
|
||||
/// <c>MetalIosurfaceBitEXT</c> specifies that a Metal <c>IOSurface</c> may be exported.
|
||||
/// </summary>
|
||||
MetalIosurfaceBitEXT = 0x00000010,
|
||||
|
||||
/// <summary>
|
||||
/// <c>MetalSharedEventBitEXT</c> specifies that a Metal <c>MTLSharedEvent</c> may be exported.
|
||||
/// </summary>
|
||||
MetalSharedEventBitEXT = 0x00000020,
|
||||
|
||||
/// <summary>
|
||||
/// <c>FlagBitsMaxEnumEXT</c>
|
||||
/// </summary>
|
||||
FlagBitsMaxEnumEXT = 0x7FFFFFFF,
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,51 @@
|
|||
using System.Runtime.Versioning;
|
||||
|
||||
namespace Brutal.VulkanApi.Win32
|
||||
{
|
||||
/// <summary>
|
||||
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkFullScreenExclusiveEXT.html">VkFullScreenExclusiveEXT</see> - Hint values an application can specify affecting full-screen transition behavior
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Possible values of
|
||||
/// <c>VkSurfaceFullScreenExclusiveInfoEXT::fullScreenExclusive</c> are:
|
||||
/// </para>
|
||||
/// <code>
|
||||
/// // Provided by VK_EXT_full_screen_exclusive
|
||||
/// typedef enum VkFullScreenExclusiveEXT {
|
||||
/// VK_FULL_SCREEN_EXCLUSIVE_DEFAULT_EXT = 0,
|
||||
/// VK_FULL_SCREEN_EXCLUSIVE_ALLOWED_EXT = 1,
|
||||
/// VK_FULL_SCREEN_EXCLUSIVE_DISALLOWED_EXT = 2,
|
||||
/// VK_FULL_SCREEN_EXCLUSIVE_APPLICATION_CONTROLLED_EXT = 3,
|
||||
/// } VkFullScreenExclusiveEXT;
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[SupportedOSPlatform("windows")]
|
||||
public enum VkFullScreenExclusiveEXT : int
|
||||
{
|
||||
/// <summary>
|
||||
/// <c>DefaultEXT</c> specifies that the implementation <i>should</i> determine the appropriate full-screen method by whatever means it deems appropriate.
|
||||
/// </summary>
|
||||
DefaultEXT = 0,
|
||||
|
||||
/// <summary>
|
||||
/// <c>AllowedEXT</c> specifies that the implementation may: use full-screen exclusive mechanisms when available. Such mechanisms may: result in better performance and/or the availability of different presentation capabilities, but may: require a more disruptive transition during swapchain initialization, first presentation and/or destruction.
|
||||
/// </summary>
|
||||
AllowedEXT = 1,
|
||||
|
||||
/// <summary>
|
||||
/// <c>DisallowedEXT</c> specifies that the implementation <i>should</i> avoid using full-screen mechanisms which rely on disruptive transitions.
|
||||
/// </summary>
|
||||
DisallowedEXT = 2,
|
||||
|
||||
/// <summary>
|
||||
/// <c>ApplicationControlledEXT</c> specifies that the application will manage full-screen exclusive mode by using the <c>vkAcquireFullScreenExclusiveModeEXT</c> and <c>vkReleaseFullScreenExclusiveModeEXT</c> commands.
|
||||
/// </summary>
|
||||
ApplicationControlledEXT = 3,
|
||||
|
||||
/// <summary>
|
||||
/// <c>MaxEnumEXT</c>
|
||||
/// </summary>
|
||||
MaxEnumEXT = 0x7FFFFFFF,
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue