docs.unity.cn
    Show / Hide Table of Contents

    Delegate GhostComponentSerializer.SerializeBufferDelegate

    Delegate method used to serialize the buffer content for the whole chunk. Works in batches.

    Namespace: Unity.NetCode.LowLevel.Unsafe
    Syntax
    public delegate void SerializeBufferDelegate(IntPtr stateData, IntPtr snapshotData, int snapshotOffset, int snapshotStride, int maskOffsetInBits, IntPtr componentData, IntPtr componentDataLen, int count, IntPtr baselines, ref DataStreamWriter writer, ref StreamCompressionModel compressionModel, IntPtr entityStartBit, IntPtr snapshotDynamicDataPtr, ref int snapshotDynamicDataOffset, IntPtr dynamicSizePerEntity, int dynamicSnapshotMaxOffset);
    Parameters
    Type Name Description
    IntPtr stateData
    IntPtr snapshotData
    Int32 snapshotOffset
    Int32 snapshotStride
    Int32 maskOffsetInBits
    IntPtr componentData
    IntPtr componentDataLen
    Int32 count
    IntPtr baselines
    DataStreamWriter writer
    StreamCompressionModel compressionModel
    IntPtr entityStartBit
    IntPtr snapshotDynamicDataPtr
    Int32 snapshotDynamicDataOffset
    IntPtr dynamicSizePerEntity
    Int32 dynamicSnapshotMaxOffset
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023