mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 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/VkImageViewSlicedCreateInfoEXT.html">VkImageViewSlicedCreateInfoEXT</see> - Specify the subset of 3D slices of an image view
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// The range of 3D slices for the created image view <i>can</i> be restricted to a
|
||||
/// subset of the parent image's Z range by adding a
|
||||
/// <c>VkImageViewSlicedCreateInfoEXT</c> structure to the <c>pNext</c> chain of
|
||||
/// <c>VkImageViewCreateInfo</c>.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// The <c>VkImageViewSlicedCreateInfoEXT</c> structure is defined as:
|
||||
/// </para>
|
||||
/// <code>
|
||||
/// // Provided by VK_EXT_image_sliced_view_of_3d
|
||||
/// typedef struct VkImageViewSlicedCreateInfoEXT {
|
||||
/// VkStructureType sType;
|
||||
/// const void* pNext;
|
||||
/// uint32_t sliceOffset;
|
||||
/// uint32_t sliceCount;
|
||||
/// } VkImageViewSlicedCreateInfoEXT;
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 24)]
|
||||
public unsafe partial struct VkImageViewSlicedCreateInfoEXT()
|
||||
{
|
||||
/// <summary>
|
||||
/// <c>sType</c> is a <c>VkStructureType</c> value identifying this structure.
|
||||
/// </summary>
|
||||
[FieldOffset(0)]
|
||||
internal readonly VkStructureType sType = VkStructureType.ImageViewSlicedCreateInfoEXT;
|
||||
|
||||
/// <summary>
|
||||
/// <c>Next</c> is `NULL` or a pointer to a structure extending this structure.
|
||||
/// </summary>
|
||||
[FieldOffset(8)]
|
||||
public void* Next;
|
||||
|
||||
/// <summary>
|
||||
/// <c>SliceOffset</c> is the Z-offset for the first 3D slice accessible to the image view.
|
||||
/// </summary>
|
||||
[FieldOffset(16)]
|
||||
public int SliceOffset;
|
||||
|
||||
/// <summary>
|
||||
/// <c>SliceCount</c> is the number of 3D slices accessible to the image view.
|
||||
/// </summary>
|
||||
[FieldOffset(20)]
|
||||
public int SliceCount;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue