Chunk_T_.AsSpan512_TTo_().md
July 25, 2024 ยท View on GitHub
Friflo.Engine.ECS
Friflo.Engine.ECS.Chunk<T>
Chunk.AsSpan512() Method
Return the components as a System.Span<> of type TTo.
The returned System.Span<> contains padding elements on its tail to enable assignment to Vector512.
See Example..
public System.Span<TTo> AsSpan512<TTo>()
where TTo : struct, System.ValueType, System.ValueType;
Type parameters
TTo