namespace Brutal.VulkanApi
{
///
/// VkTensorCopyARM - Structure specifying an tensor copy region
///
///
///
/// The VkTensorCopyARM structure is defined as:
///
///
/// // Provided by VK_ARM_tensors
/// typedef struct VkTensorCopyARM {
/// VkStructureType sType;
/// const void* pNext;
/// uint32_t dimensionCount;
/// const uint64_t* pSrcOffset;
/// const uint64_t* pDstOffset;
/// const uint64_t* pExtent;
/// } VkTensorCopyARM;
///
///
[StructLayout(LayoutKind.Explicit, Size = 48)]
public unsafe partial struct VkTensorCopyARM()
{
///
/// sType is a VkStructureType value identifying this structure.
///
[FieldOffset(0)]
internal readonly VkStructureType sType = VkStructureType.TensorCopyARM;
///
/// Next is `NULL` or a pointer to a structure extending this structure.
///
[FieldOffset(8)]
public void* Next;
///
/// DimensionCount is the number of elements in the pSrcOffset, pDstOffset and pExtent arrays.
///
[FieldOffset(16)]
public int DimensionCount;
///
/// SrcOffset is `NULL` or an array of size dimensionCount providing an offset into the source tensor. When pSrcOffset is `NULL`, the offset into the source tensor is `0` in all dimensions.
///
[FieldOffset(24)]
public nint* SrcOffset;
///
/// DstOffset is `NULL` or an array of size dimensionCount providing an offset into the destination tensor. When pDstOffset is `NULL`, the offset into the destination tensor is `0` in all dimensions.
///
[FieldOffset(32)]
public nint* DstOffset;
///
/// Extent is `NULL` or an array of size dimensionCount providing the number of elements to copy in each dimension. When pExtent is `NULL`, the number of elements to copy is taken as the total number of elements in each dimension of the source tensor.
///
[FieldOffset(40)]
public nint* Extent;
}
}