docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct CoreUnsafeUtils.FixedBufferStringQueue

    Fixed Buffer String Queue class.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    public struct CoreUnsafeUtils.FixedBufferStringQueue

    Constructors

    FixedBufferStringQueue(byte*, int)

    Constructor.

    Declaration
    public FixedBufferStringQueue(byte* ptr, int length)
    Parameters
    Type Name Description
    byte* ptr

    Buffer pointer.

    int length

    Length of the provided allocated buffer in byte.

    Properties

    Count

    Number of element in the queue.

    Declaration
    public readonly int Count { get; }
    Property Value
    Type Description
    int

    Methods

    Clear()

    Clear the queue.

    Declaration
    public void Clear()

    TryPop(out string)

    Pop an element of the queue.

    Declaration
    public bool TryPop(out string v)
    Parameters
    Type Name Description
    string v

    Output result string.

    Returns
    Type Description
    bool

    True if an element was succesfuly poped.

    TryPush(string)

    Try to push a new element in the queue.

    Declaration
    public bool TryPush(string v)
    Parameters
    Type Name Description
    string v

    Element to push in the queue.

    Returns
    Type Description
    bool

    True if the new element could be pushed in the queue. False if reserved memory was not enough.

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)
    In This Article
    Back to top
    Copyright © 2024 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)