Struct ThreadedSparseUploader
Syntax
public struct ThreadedSparseUploader
Methods
AddMatrixUpload(Void*, Int32, Int32, Int32, ThreadedSparseUploader.MatrixType, ThreadedSparseUploader.MatrixType)
Declaration
public void AddMatrixUpload(void *src, int numMatrices, int offset, int offsetInverse, ThreadedSparseUploader.MatrixType srcType, ThreadedSparseUploader.MatrixType dstType)
Parameters
AddUpload(Void*, Int32, Int32, Int32)
Declaration
public void AddUpload(void *src, int size, int offsetInBytes, int repeatCount = 1)
Parameters
AddUpload<T>(T, Int32, Int32)
Declaration
public void AddUpload<T>(T val, int offsetInBytes, int repeatCount = 1)
where T : struct
Parameters
Type |
Name |
Description |
T |
val |
|
Int32 |
offsetInBytes |
|
Int32 |
repeatCount |
|
Type Parameters
AddUpload<T>(NativeArray<T>, Int32, Int32)
Declaration
public void AddUpload<T>(NativeArray<T> array, int offsetInBytes, int repeatCount = 1)
where T : struct
Parameters
Type Parameters
TryAlloc(Int32, Int32, out Byte*, out Int32, out Int32)
Declaration
public bool TryAlloc(int operationSize, int dataSize, out byte *ptr, out int operationOffset, out int dataOffset)
Parameters
Returns
Extension Methods