AppendBufferEntityPatches(BufferEntityPatchInfo*, EntityOffsetInfo*, int, int, int, int)
Adds EntityRemapUtility.BufferEntityPatchInfo elements for each of the input offsets.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public static EntityRemapUtility.BufferEntityPatchInfo* AppendBufferEntityPatches(EntityRemapUtility.BufferEntityPatchInfo* patches, TypeManager.EntityOffsetInfo* offsets, int offsetCount, int bufferBaseOffset, int bufferStride, int elementStride)
Parameters
The patch array,
The offset array.
The number of offsets in the array.
The offset within chunk where first buffer header can be found.
The stride between adjacent buffers that need patching.
The stride between adjacent buffer elements.
Returns
Type | Description |
|---|---|
| BufferEntityPatchInfo* | Returns a pointer to the next free slot in the |