Documentation

Unity Engine

Unity Engine

PatchBufferMinMaxRanges(nint, void*, int, int)

Injects debug checks for min and max ranges of a native array.
Read time 1 minuteLast updated 2 months ago

Definition

PatchBufferMinMaxRanges(IntPtr, void*, int, int)

[Conditional("ENABLE_UNITY_COLLECTIONS_CHECKS")]public static void PatchBufferMinMaxRanges(nint bufferRangePatchData, void* jobdata, int startIndex, int rangeSize)

Parameters

bufferRangePatchData

The buffer range patch data to write the checks into.

jobdata

Pointer to the job data that owns the buffer.

startIndex

The index of the first element in the range.

rangeSize

The number of elements in the range.