docs.unity3d.com
    Show / Hide Table of Contents

    Class MemorySnapshotFileReader

    Inheritance
    Object
    MemorySnapshotFileReader
    Namespace: Unity.MemoryProfiler.Editor.Format
    Syntax
    public sealed class MemorySnapshotFileReader : IDisposable

    Constructors

    MemorySnapshotFileReader(String)

    Declaration
    public MemorySnapshotFileReader(string filePath)
    Parameters
    Type Name Description
    String filePath

    Properties

    FilePath

    Declaration
    public string FilePath { get; }
    Property Value
    Type Description
    String

    Methods

    Dispose()

    Declaration
    public void Dispose()

    Finalize()

    Declaration
    protected void Finalize()

    GetDataArray<T>(EntryType, UInt32, UInt32, ref T[], GetItem<T>)

    Declaration
    public void GetDataArray<T>(EntryType entryType, uint entryIndex, uint numEntries, ref T[] dataOut, GetItem<T> getItemFunc)
    Parameters
    Type Name Description
    EntryType entryType
    UInt32 entryIndex
    UInt32 numEntries
    T[] dataOut
    GetItem<T> getItemFunc
    Type Parameters
    Name Description
    T

    GetDataSingle<T>(EntryType, GetItem<T>)

    Declaration
    public T GetDataSingle<T>(EntryType entryType, GetItem<T> getItemFunc)
    Parameters
    Type Name Description
    EntryType entryType
    GetItem<T> getItemFunc
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    GetNumEntries(EntryType)

    Declaration
    public uint GetNumEntries(EntryType entryType)
    Parameters
    Type Name Description
    EntryType entryType
    Returns
    Type Description
    UInt32

    Open(String)

    Declaration
    public void Open(string filePath)
    Parameters
    Type Name Description
    String filePath
    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