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
44
Brutal.Vulkan/Generated/Handles/VkTensorViewARM.gen.cs
Normal file
44
Brutal.Vulkan/Generated/Handles/VkTensorViewARM.gen.cs
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
namespace Brutal.VulkanApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkTensorViewARM.html">VkTensorViewARM</see> - Opaque handle to an tensor view object
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Tensor objects are not directly accessed by pipelines for reading or writing
|
||||
/// tensor data.
|
||||
/// Instead, <i>tensor views</i> representing the tensor subresources and containing
|
||||
/// additional metadata are used for that purpose.
|
||||
/// Views <i>must</i> be created on tensors of compatible types.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// Tensor views are represented by <c>VkTensorViewARM</c> handles:
|
||||
/// </para>
|
||||
/// <code>
|
||||
/// // Provided by VK_ARM_tensors
|
||||
/// VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkTensorViewARM)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public readonly unsafe struct VkTensorViewARM : IVulkanHandle
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public VkObjectType VkObjectType => VkObjectType.TensorViewARM;
|
||||
|
||||
/// <inheritdoc />
|
||||
public nint VkHandle { get; }
|
||||
|
||||
/// <summary>Construct from an existing pointer</summary>
|
||||
public VkTensorViewARM(nint handle)
|
||||
{
|
||||
VkHandle = handle;
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public bool IsNull()
|
||||
{
|
||||
return VkHandle == 0;
|
||||
}
|
||||
|
||||
public static VkTensorViewARM NullHandle = new();
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue