mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 14:08:25 +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/VkMicromapUsageEXT.html">VkMicromapUsageEXT</see> - Structure specifying the usage information used to build a micromap
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// :refpage: VkMicromapUsageEXT
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// The <c>VkMicromapUsageEXT</c> structure is defined as:
|
||||
/// </para>
|
||||
/// <code>
|
||||
/// // Provided by VK_EXT_opacity_micromap
|
||||
/// typedef struct VkMicromapUsageEXT {
|
||||
/// uint32_t count;
|
||||
/// uint32_t subdivisionLevel;
|
||||
/// uint32_t format;
|
||||
/// } VkMicromapUsageEXT;
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 12)]
|
||||
public partial struct VkMicromapUsageEXT()
|
||||
{
|
||||
/// <summary>
|
||||
/// <c>Count</c> is the number of triangles in the usage format defined by the <c>subdivisionLevel</c> and <c>format</c> below in the micromap
|
||||
/// </summary>
|
||||
[FieldOffset(0)]
|
||||
public int Count;
|
||||
|
||||
/// <summary>
|
||||
/// <c>SubdivisionLevel</c> is the subdivision level of this usage format
|
||||
/// </summary>
|
||||
[FieldOffset(4)]
|
||||
public int SubdivisionLevel;
|
||||
|
||||
/// <summary>
|
||||
/// <c>Format</c> is the format of this usage format
|
||||
/// </summary>
|
||||
[FieldOffset(8)]
|
||||
public int Format;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue