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,40 @@
|
|||
namespace Brutal.VulkanApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkImageSubresource.html">VkImageSubresource</see> - Structure specifying an image subresource
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// The <c>VkImageSubresource</c> structure is defined as:
|
||||
/// </para>
|
||||
/// <code>
|
||||
/// // Provided by VK_VERSION_1_0
|
||||
/// typedef struct VkImageSubresource {
|
||||
/// VkImageAspectFlags aspectMask;
|
||||
/// uint32_t mipLevel;
|
||||
/// uint32_t arrayLayer;
|
||||
/// } VkImageSubresource;
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 12)]
|
||||
public partial struct VkImageSubresource()
|
||||
{
|
||||
/// <summary>
|
||||
/// <c>AspectMask</c> is a <c>VkImageAspectFlags</c> value selecting the image <i>aspect</i>.
|
||||
/// </summary>
|
||||
[FieldOffset(0)]
|
||||
public VkImageAspectFlags AspectMask;
|
||||
|
||||
/// <summary>
|
||||
/// <c>MipLevel</c> selects the mipmap level.
|
||||
/// </summary>
|
||||
[FieldOffset(4)]
|
||||
public int MipLevel;
|
||||
|
||||
/// <summary>
|
||||
/// <c>ArrayLayer</c> selects the array layer.
|
||||
/// </summary>
|
||||
[FieldOffset(8)]
|
||||
public int ArrayLayer;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue