Method AppendBufferEntityPatches
AppendBufferEntityPatches(EntityRemapUtility.BufferEntityPatchInfo*, TypeManager.EntityOffsetInfo*, Int32, Int32, Int32, Int32)
Adds EntityRemapUtility.BufferEntityPatchInfo elements for each of the input offsets.
Declaration
public static EntityRemapUtility.BufferEntityPatchInfo*AppendBufferEntityPatches(EntityRemapUtility.BufferEntityPatchInfo*patches, TypeManager.EntityOffsetInfo*offsets, int offsetCount, int bufferBaseOffset, int bufferStride, int elementStride)
Parameters
| Type | Name | Description |
|---|---|---|
| EntityRemapUtility.BufferEntityPatchInfo* | patches | The patch array, |
| TypeManager.EntityOffsetInfo* | offsets | The offset array. |
| Int32 | offsetCount | The number of offsets in the array. |
| Int32 | bufferBaseOffset | The offset within chunk where first buffer header can be found. |
| Int32 | bufferStride | The stride between adjacent buffers that need patching. |
| Int32 | elementStride | The stride between adjacent buffer elements. |
Returns
| Type | Description |
|---|---|
| EntityRemapUtility.BufferEntityPatchInfo* | Returns a pointer to the next free slot in the |