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
1 changed files with 768360 additions and 0 deletions
|
|
@ -0,0 +1,43 @@
|
|||
namespace Brutal.VulkanApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkLayerProperties.html">VkLayerProperties</see> - Structure specifying layer properties
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// The <c>VkLayerProperties</c> structure is defined as:
|
||||
/// </para>
|
||||
/// <code>
|
||||
/// // Provided by VK_VERSION_1_0
|
||||
/// typedef struct VkLayerProperties {
|
||||
/// char layerName[VK_MAX_EXTENSION_NAME_SIZE];
|
||||
/// uint32_t specVersion;
|
||||
/// uint32_t implementationVersion;
|
||||
/// char description[VK_MAX_DESCRIPTION_SIZE];
|
||||
/// } VkLayerProperties;
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 520)]
|
||||
public unsafe partial struct VkLayerProperties()
|
||||
{
|
||||
///
|
||||
[FieldOffset(0)]
|
||||
public fixed byte LayerName[256];
|
||||
|
||||
/// <summary>
|
||||
/// <c>SpecVersion</c> is the Vulkan version the layer was written to, encoded as described in <see href="https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#extendingvulkan-coreversions-versionnumbers">here</see>.
|
||||
/// </summary>
|
||||
[FieldOffset(256)]
|
||||
public int SpecVersion;
|
||||
|
||||
/// <summary>
|
||||
/// <c>ImplementationVersion</c> is the version of this layer. It is an integer, increasing with backward compatible changes.
|
||||
/// </summary>
|
||||
[FieldOffset(260)]
|
||||
public int ImplementationVersion;
|
||||
|
||||
///
|
||||
[FieldOffset(264)]
|
||||
public fixed byte Description[256];
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue