docs.unity3d.com
    Show / Hide Table of Contents

    Namespace Unity.Media.Utilities

    Classes

    GrowableBufferExtensions

    Extensions for GrowableBuffer<T>

    Utility

    Various utilities for unity media collections

    ValidatableExtensions

    Extensions for IValidatable

    Structs

    AtomicFreeList<T>

    A generic, multiple-reader, multiple-writer concurrent free list

    AtomicNode

    A node for use in an atomic collection

    AtomicQueue<T>

    A generic, multiple-reader, multiple-writer concurrent queue. The queue uses a sentinel node to track each end of the queue. When the queue is empty, the first and last nodes point to each other. Elements are added to the queue between the last and next-to-last nodes, whose pointers are updated accordingly. The element removed from the queue is always the next-to-first, and the pointers of the first and next-to-next-to-first elements are updated. The difference between this and OwnedAtomicQueue<T> is that OwnedAtomicQueue<T> manages the payload storage for you and this does not.

    BatchAllocator

    Non-concurrent batching allocator, backed by native allocations. The user will pass pointers to storage pointers in Allocate, and then actual allocation and storate population will occur in Dispose.

    FIFO

    FIFO.Indices

    FIFO.Indices.Range

    GrowableBuffer<T>

    A List<T>-like blittable data structure backed by native allocations

    OwnedAtomicQueue<T>

    A generic, multiple-reader, multiple-writer concurrent queue. The queue uses a sentinel node to track each end of the queue. When the queue is empty, the first and last nodes point to each other. Elements are added to the queue between the last and next-to-last nodes, whose pointers are updated accordingly. The element removed from the queue is always the next-to-first, and the pointers of the first and next-to-next-to-first elements are updated.

    PagedFreeList<T>

    A growable, sparse list whose internal memory is never relocated once allocated

    Interfaces

    IValidatable

    An interface for providing validation

    Enums

    AllocationMode

    The allocation mode to be used with an AtomicFreeList<T>

    BufferWriteMode

    Modes for writing samples to a buffer

    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