docs.unity3d.com
    Show / Hide Table of Contents

    Struct FIFO

    Namespace: Unity.Media.Utilities
    Syntax
    public struct FIFO

    Constructors

    FIFO(Int32)

    Declaration
    public FIFO(int size)
    Parameters
    Type Name Description
    Int32 size

    Properties

    AvailableLength

    Declaration
    public int AvailableLength { get; }
    Property Value
    Type Description
    Int32

    FreeLength

    Declaration
    public int FreeLength { get; }
    Property Value
    Type Description
    Int32

    FuturedFreeLength

    Declaration
    public int FuturedFreeLength { get; }
    Property Value
    Type Description
    Int32

    FuturedWriteLength

    Declaration
    public int FuturedWriteLength { get; }
    Property Value
    Type Description
    Int32

    TotalLength

    Declaration
    public int TotalLength { get; }
    Property Value
    Type Description
    Int32

    Methods

    CommitRead(Int32)

    Declaration
    public void CommitRead(int count)
    Parameters
    Type Name Description
    Int32 count

    CommitWrite(Int32)

    Declaration
    public void CommitWrite(int count)
    Parameters
    Type Name Description
    Int32 count

    RequestRead(Int32, out Int32)

    Declaration
    public FIFO.Indices RequestRead(int count, out int actual)
    Parameters
    Type Name Description
    Int32 count
    Int32 actual
    Returns
    Type Description
    FIFO.Indices

    RequestWrite(Int32, out Int32)

    Declaration
    public FIFO.Indices RequestWrite(int count, out int actual)
    Parameters
    Type Name Description
    Int32 count
    Int32 actual
    Returns
    Type Description
    FIFO.Indices

    ReserveFuturedWrite(Int32)

    Declaration
    public int ReserveFuturedWrite(int length)
    Parameters
    Type Name Description
    Int32 length
    Returns
    Type Description
    Int32
    Back to top
    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