namespace Brutal.VulkanApi { /// /// VkTensorARM - Opaque handle to a tensor object /// /// /// /// Tensors are similar to images^, in that they have /// multi-dimensional access as documented in the here chapter, but a /// tensor's dimensions are not predefined. /// A tensor can have an arbitrary number of dimensions, up to /// maxTensorDimensionCount^, with one /// index per dimension used to access the tensor. /// /// /// Tensors can be used by binding them to pipelines via descriptor sets, or by /// directly specifying them as parameters to certain commands. /// /// /// Tensors are represented by VkTensorARM handles: /// /// /// // Provided by VK_EXT_descriptor_heap, VK_ARM_tensors /// VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkTensorARM) /// /// public readonly unsafe struct VkTensorARM : IVulkanHandle { /// public VkObjectType VkObjectType => VkObjectType.TensorARM; /// public nint VkHandle { get; } /// Construct from an existing pointer public VkTensorARM(nint handle) { VkHandle = handle; } /// public bool IsNull() { return VkHandle == 0; } public static VkTensorARM NullHandle = new(); } }