mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58: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,43 @@
|
|||
using System.Runtime.Versioning;
|
||||
|
||||
namespace Brutal.VulkanApi.Android
|
||||
{
|
||||
/// <summary>
|
||||
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkExternalFormatANDROID.html">VkExternalFormatANDROID</see> - Structure containing an Android hardware buffer external format
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// <c>VkExternalFormatANDROID</c> is defined as:
|
||||
/// </para>
|
||||
/// <code>
|
||||
/// // Provided by VK_ANDROID_external_memory_android_hardware_buffer
|
||||
/// typedef struct VkExternalFormatANDROID {
|
||||
/// VkStructureType sType;
|
||||
/// void* pNext;
|
||||
/// uint64_t externalFormat;
|
||||
/// } VkExternalFormatANDROID;
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 24)]
|
||||
[SupportedOSPlatform("android")]
|
||||
public unsafe partial struct VkExternalFormatANDROID()
|
||||
{
|
||||
/// <summary>
|
||||
/// <c>sType</c> is a <c>VkStructureType</c> value identifying this structure.
|
||||
/// </summary>
|
||||
[FieldOffset(0)]
|
||||
internal readonly VkStructureType sType = VkStructureType.ExternalFormatANDROID;
|
||||
|
||||
/// <summary>
|
||||
/// <c>Next</c> is `NULL` or a pointer to a structure extending this structure.
|
||||
/// </summary>
|
||||
[FieldOffset(8)]
|
||||
public void* Next;
|
||||
|
||||
/// <summary>
|
||||
/// <c>ExternalFormat</c> is an implementation-defined identifier for the external format
|
||||
/// </summary>
|
||||
[FieldOffset(16)]
|
||||
public nint ExternalFormat;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue