Method AddStridedUpload
AddStridedUpload(void*, uint, uint, uint, uint, int)
Adds a new pending upload operation to execute when you call SparseUploader.EndAndCommit.
Declaration
public void AddStridedUpload(void* src, uint elemSize, uint srcStride, uint count, uint dstOffset, int dstStride)
Parameters
Type | Name | Description |
---|---|---|
void* | src | The source data pointer. |
uint | elemSize | The size of each data element to upload. |
uint | srcStride | The stride of each data element as stored in the source pointer. |
uint | count | The number of data elements to upload. |
uint | dstOffset | The destination offset |
int | dstStride | The destination stride |
Remarks
When this operation executes, the SparseUploader copies data from the source pointer.
The upload operations reads data with the specified source stride from the source pointer and then stores the data with the specified destination stride.