Struct SparseUploader
Syntax
public struct SparseUploader : IDisposable
Constructors
SparseUploader(ComputeBuffer, Int32)
Declaration
public SparseUploader(ComputeBuffer destinationBuffer, int bufferChunkSize = 16777216)
Parameters
Methods
Begin(Int32, Int32, Int32)
Declaration
public ThreadedSparseUploader Begin(int maxDataSizeInBytes, int biggestDataUpload, int maxOperationCount)
Parameters
Type |
Name |
Description |
Int32 |
maxDataSizeInBytes |
|
Int32 |
biggestDataUpload |
|
Int32 |
maxOperationCount |
|
Returns
Dispose()
Declaration
EndAndCommit(ThreadedSparseUploader)
Declaration
public void EndAndCommit(ThreadedSparseUploader tsu)
Parameters
ReplaceBuffer(ComputeBuffer, Boolean)
Declaration
public void ReplaceBuffer(ComputeBuffer buffer, bool copyFromPrevious = false)
Parameters
Extension Methods