Class ProfilerUnsafeUtility | DOTS Runtime | 0.31.0-preview.24
docs.unity3d.com
    Show / Hide Table of Contents

    Class ProfilerUnsafeUtility

    Inheritance
    Object
    ProfilerUnsafeUtility
    Namespace: Unity.Profiling.LowLevel.Unsafe
    Syntax
    public static class ProfilerUnsafeUtility

    Fields

    CategoryAi

    Declaration
    public const ushort CategoryAi = 7
    Field Value
    Type Description
    UInt16

    CategoryAllocation

    Declaration
    public const ushort CategoryAllocation = 23
    Field Value
    Type Description
    UInt16

    CategoryAnimation

    Declaration
    public const ushort CategoryAnimation = 6
    Field Value
    Type Description
    UInt16

    CategoryAudio

    Declaration
    public const ushort CategoryAudio = 8
    Field Value
    Type Description
    UInt16

    CategoryGI

    Declaration
    public const ushort CategoryGI = 13
    Field Value
    Type Description
    UInt16

    CategoryGUI

    Declaration
    public const ushort CategoryGUI = 4
    Field Value
    Type Description
    UInt16

    CategoryInput

    Declaration
    public const ushort CategoryInput = 30
    Field Value
    Type Description
    UInt16

    CategoryLoading

    Declaration
    public const ushort CategoryLoading = 15
    Field Value
    Type Description
    UInt16

    CategoryNetwork

    Declaration
    public const ushort CategoryNetwork = 14
    Field Value
    Type Description
    UInt16

    CategoryOther

    Declaration
    public const ushort CategoryOther = 16
    Field Value
    Type Description
    UInt16

    CategoryParticles

    Declaration
    public const ushort CategoryParticles = 12
    Field Value
    Type Description
    UInt16

    CategoryPhysics

    Declaration
    public const ushort CategoryPhysics = 5
    Field Value
    Type Description
    UInt16

    CategoryRender

    Declaration
    public const ushort CategoryRender = 0
    Field Value
    Type Description
    UInt16

    CategoryScripts

    Declaration
    public const ushort CategoryScripts = 1
    Field Value
    Type Description
    UInt16

    CategoryVideo

    Declaration
    public const ushort CategoryVideo = 11
    Field Value
    Type Description
    UInt16

    CategoryVR

    Declaration
    public const ushort CategoryVR = 22
    Field Value
    Type Description
    UInt16

    InternalCategoryAudioJob

    Declaration
    public const ushort InternalCategoryAudioJob = 9
    Field Value
    Type Description
    UInt16

    InternalCategoryAudioUpdateJob

    Declaration
    public const ushort InternalCategoryAudioUpdateJob = 10
    Field Value
    Type Description
    UInt16

    InternalCategoryBuildInterface

    Declaration
    public const ushort InternalCategoryBuildInterface = 29
    Field Value
    Type Description
    UInt16

    InternalCategoryBurstJobs

    Declaration
    public const ushort InternalCategoryBurstJobs = 3
    Field Value
    Type Description
    UInt16

    InternalCategoryDirector

    Declaration
    public const ushort InternalCategoryDirector = 21
    Field Value
    Type Description
    UInt16

    InternalCategoryFileIo

    Declaration
    public const ushort InternalCategoryFileIo = 25
    Field Value
    Type Description
    UInt16

    InternalCategoryGc

    Declaration
    public const ushort InternalCategoryGc = 17
    Field Value
    Type Description
    UInt16

    InternalCategoryInternal

    Declaration
    public const ushort InternalCategoryInternal = 24
    Field Value
    Type Description
    UInt16

    InternalCategoryManagedJobs

    Declaration
    public const ushort InternalCategoryManagedJobs = 2
    Field Value
    Type Description
    UInt16

    InternalCategoryOverhead

    Declaration
    public const ushort InternalCategoryOverhead = 19
    Field Value
    Type Description
    UInt16

    InternalCategoryPlayerloop

    Declaration
    public const ushort InternalCategoryPlayerloop = 20
    Field Value
    Type Description
    UInt16

    InternalCategoryUiSystemLayout

    Declaration
    public const ushort InternalCategoryUiSystemLayout = 26
    Field Value
    Type Description
    UInt16

    InternalCategoryUiSystemRender

    Declaration
    public const ushort InternalCategoryUiSystemRender = 27
    Field Value
    Type Description
    UInt16

    InternalCategoryVfx

    Declaration
    public const ushort InternalCategoryVfx = 28
    Field Value
    Type Description
    UInt16

    InternalCategoryVirtualTexturing

    Declaration
    public const ushort InternalCategoryVirtualTexturing = 31
    Field Value
    Type Description
    UInt16

    InternalCategoryVsync

    Declaration
    public const ushort InternalCategoryVsync = 18
    Field Value
    Type Description
    UInt16

    Methods

    BeginSample(IntPtr)

    Declaration
    public static void BeginSample(IntPtr markerPtr)
    Parameters
    Type Name Description
    IntPtr markerPtr

    BeginSampleWithMetadata(IntPtr, Int32, Void*)

    Declaration
    public static void BeginSampleWithMetadata(IntPtr markerPtr, int metadataCount, void *metadata)
    Parameters
    Type Name Description
    IntPtr markerPtr
    Int32 metadataCount
    Void* metadata

    CreateMarker(String, UInt16, MarkerFlags, Int32)

    Declaration
    public static IntPtr CreateMarker(string name, ushort categoryId, MarkerFlags flags, int metadataCount)
    Parameters
    Type Name Description
    String name
    UInt16 categoryId
    MarkerFlags flags
    Int32 metadataCount
    Returns
    Type Description
    IntPtr

    EndSample(IntPtr)

    Declaration
    public static void EndSample(IntPtr markerPtr)
    Parameters
    Type Name Description
    IntPtr markerPtr
    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