docs.unity3d.com
    Show / Hide Table of Contents

    Class GenericCircularBuffer<T>

    This class encapsulate control variable to manage a circular buffer.

    Inheritance
    Object
    ExchangeBuffer
    GenericBuffer<T>
    GenericCircularBuffer<T>
    PhotosensorOutputBuffer
    RawData
    Inherited Members
    GenericBuffer<T>.Item[Int32]
    GenericBuffer<T>.GetInternalBuffer()
    GenericBuffer<T>.CopyFrom(T[], Int32)
    GenericBuffer<T>.AsyncReadback(Action<NativeArray<T>>)
    GenericBuffer<T>._data
    GenericBuffer<T>.InternalAllocate(Int32)
    GenericBuffer<T>.InternalGetElementStride()
    GenericBuffer<T>.InternalUpdateBuffer()
    GenericBuffer<T>.InternalRelease()
    ExchangeBuffer.GPUData
    ExchangeBuffer.Stride
    ExchangeBuffer.Count
    ExchangeBuffer.Capacity
    ExchangeBuffer.isGPUOnly
    ExchangeBuffer.Allocate(Int32, Boolean)
    ExchangeBuffer.Release()
    ExchangeBuffer.UploadOnGPU()
    ExchangeBuffer._isDirty
    ExchangeBuffer._GPUData
    Namespace: Mechatronics.SystemGraph
    Syntax
    public class GenericCircularBuffer<T> : GenericBuffer<T> where T : struct
    Type Parameters
    Name Description
    T

    Fields

    _firstOffset

    The offset in bytes to the first element if _data is used as a circular buffer.

    Declaration
    protected int _firstOffset
    Field Value
    Type Description
    Int32

    Properties

    FirstOffset

    The offset in bytes to the first element if _data is used as a circular buffer.

    Declaration
    public int FirstOffset { get; set; }
    Property Value
    Type Description
    Int32
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023