Delegate GhostComponentSerializer.PostSerializeBufferDelegate
Delegate method to use to post-serialize buffers when the ghost use pre-serialization optimization.
Namespace: Unity.NetCode .LowLevel .Unsafe
Assembly: solution.dll
Syntax
public delegate void GhostComponentSerializer.PostSerializeBufferDelegate(IntPtr snapshotData, int snapshotOffset, int snapshotStride, int maskOffsetInBits, int count, IntPtr baselines, ref DataStreamWriter writer, ref StreamCompressionModel compressionModel, IntPtr entityStartBit, IntPtr snapshotDynamicDataPtr, IntPtr dynamicSizePerEntity, int dynamicSnapshotMaxOffset)
Parameters
Type | Name | Description |
---|---|---|
Int |
snapshotData | |
int | snapshotOffset | |
int | snapshotStride | |
int | maskOffsetInBits | |
int | count | |
Int |
baselines | |
Data |
writer | |
Stream |
compressionModel | |
Int |
entityStartBit | |
Int |
snapshotDynamicDataPtr | |
Int |
dynamicSizePerEntity | |
int | dynamicSnapshotMaxOffset |