mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 21:18:24 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
|
|
@ -0,0 +1,53 @@
|
|||
namespace Brutal.VulkanApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkHdrVividDynamicMetadataHUAWEI.html">VkHdrVividDynamicMetadataHUAWEI</see> - specify HDR Vivid dynamic metadata
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// When <see href="https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#features-hdrVivid"><c>hdrVivid</c>^</see> feature is enabled, HDR Vivid
|
||||
/// dynamic metadata <i>can</i> be set to control the reproduction of content by
|
||||
/// including the <c>VkHdrVividDynamicMetadataHUAWEI</c> in the <c>pNext</c> chain
|
||||
/// of <c>VkHdrMetadataEXT</c>.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// The <c>VkHdrVividDynamicMetadataHUAWEI</c> structure is defined as:
|
||||
/// </para>
|
||||
/// <code>
|
||||
/// // Provided by VK_HUAWEI_hdr_vivid
|
||||
/// typedef struct VkHdrVividDynamicMetadataHUAWEI {
|
||||
/// VkStructureType sType;
|
||||
/// const void* pNext;
|
||||
/// size_t dynamicMetadataSize;
|
||||
/// const void* pDynamicMetadata;
|
||||
/// } VkHdrVividDynamicMetadataHUAWEI;
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 32)]
|
||||
public unsafe partial struct VkHdrVividDynamicMetadataHUAWEI()
|
||||
{
|
||||
/// <summary>
|
||||
/// <c>sType</c> is a <c>VkStructureType</c> value identifying this structure.
|
||||
/// </summary>
|
||||
[FieldOffset(0)]
|
||||
internal readonly VkStructureType sType = VkStructureType.HdrVividDynamicMetadataHUAWEI;
|
||||
|
||||
/// <summary>
|
||||
/// <c>Next</c> is `NULL` or a pointer to a structure extending this structure.
|
||||
/// </summary>
|
||||
[FieldOffset(8)]
|
||||
public void* Next;
|
||||
|
||||
/// <summary>
|
||||
/// <c>DynamicMetadataSize</c> is the size in bytes of the dynamic metadata.
|
||||
/// </summary>
|
||||
[FieldOffset(16)]
|
||||
public nuint DynamicMetadataSize;
|
||||
|
||||
/// <summary>
|
||||
/// <c>DynamicMetadata</c> is a pointer to the dynamic metadata.
|
||||
/// </summary>
|
||||
[FieldOffset(24)]
|
||||
public void* DynamicMetadata;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue