namespace Brutal.VulkanApi { /// /// VkTensorViewARM - Opaque handle to an tensor view object /// /// /// /// Tensor objects are not directly accessed by pipelines for reading or writing /// tensor data. /// Instead, tensor views representing the tensor subresources and containing /// additional metadata are used for that purpose. /// Views must be created on tensors of compatible types. /// /// /// Tensor views are represented by VkTensorViewARM handles: /// /// /// // Provided by VK_ARM_tensors /// VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkTensorViewARM) /// /// public readonly unsafe struct VkTensorViewARM : IVulkanHandle { /// public VkObjectType VkObjectType => VkObjectType.TensorViewARM; /// public nint VkHandle { get; } /// Construct from an existing pointer public VkTensorViewARM(nint handle) { VkHandle = handle; } /// public bool IsNull() { return VkHandle == 0; } public static VkTensorViewARM NullHandle = new(); } }