mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
33
Brutal.Vulkan/Generated/Structs/VkSurfaceFormatKHR.gen.cs
Normal file
33
Brutal.Vulkan/Generated/Structs/VkSurfaceFormatKHR.gen.cs
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
namespace Brutal.VulkanApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkSurfaceFormatKHR.html">VkSurfaceFormatKHR</see> - Structure describing a supported swapchain format-color space pair
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// The <c>VkSurfaceFormatKHR</c> structure is defined as:
|
||||
/// </para>
|
||||
/// <code>
|
||||
/// // Provided by VK_KHR_surface
|
||||
/// typedef struct VkSurfaceFormatKHR {
|
||||
/// VkFormat format;
|
||||
/// VkColorSpaceKHR colorSpace;
|
||||
/// } VkSurfaceFormatKHR;
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 8)]
|
||||
public partial struct VkSurfaceFormatKHR()
|
||||
{
|
||||
/// <summary>
|
||||
/// <c>Format</c> is a <c>VkFormat</c> that is compatible with the specified surface.
|
||||
/// </summary>
|
||||
[FieldOffset(0)]
|
||||
public VkFormat Format;
|
||||
|
||||
/// <summary>
|
||||
/// <c>ColorSpace</c> is a presentation <c>VkColorSpaceKHR</c> that is compatible with the surface.
|
||||
/// </summary>
|
||||
[FieldOffset(4)]
|
||||
public VkColorSpaceKHR ColorSpace;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue