docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetPipelineBuffers

    GetPipelineBuffers(NetworkPipeline, NetworkPipelineStageId, NetworkConnection, out NativeArray<byte>, out NativeArray<byte>, out NativeArray<byte>)

    Returns the PipelineBuffers for a specific pipeline and stage.

    Declaration
    public void GetPipelineBuffers(NetworkPipeline pipeline, NetworkPipelineStageId stageId, NetworkConnection connection, out NativeArray<byte> readProcessingBuffer, out NativeArray<byte> writeProcessingBuffer, out NativeArray<byte> sharedBuffer)
    Parameters
    Type Name Description
    NetworkPipeline pipeline

    Pipeline for which to get the buffers.

    NetworkPipelineStageId stageId

    Pipeline for which to get the buffers.

    NetworkConnection connection

    Connection for which to the buffers.

    NativeArray<byte> readProcessingBuffer

    The buffer used to process read (receive) operations.

    NativeArray<byte> writeProcessingBuffer

    The buffer used to process write (send) operations.

    NativeArray<byte> sharedBuffer

    The buffer containing the internal state of the pipeline stage.

    Exceptions
    Type Condition
    InvalidOperationException

    If the the connection is invalid.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)