Gpu | |
Note: This API is now obsolete.
[ObsoleteAttribute("WriteToBufferAsync method that use callback and is not awaitable was renamed to BeginWriteToBuffer. Use WriteToBufferAsync with await, or use BeginWriteToBuffer when you need a callback action.")] public void WriteToBufferAsync<T>( T[] data, Action<GpuBuffer>? bufferDataUploadedCallback, CancellationToken cancellationToken = default ) where T : struct, new()