docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Get

    Get<TEnum>(TEnum)

    Get the sampler for the corresponding enumeration value.

    Declaration
    public static ProfilingSampler Get<TEnum>(TEnum marker) where TEnum : Enum
    Parameters
    Type Name Description
    TEnum marker

    Enumeration value.

    Returns
    Type Description
    ProfilingSampler

    The profiling sampler for the given enumeration value.

    Type Parameters
    Name Description
    TEnum

    Type of the enumeration.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)