Version: 2023.1
LanguageEnglish
  • C#

ProfilerMarkerDataType

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Options for the Profiler metadata type.

Used as a value of ProfilerMarkerData.Type field.

Properties

InstanceIdIndicates that ProfilerMarkerData.Ptr points to a value of type int that represents an instance ID of Unity Object.
Int32Indicates that ProfilerMarkerData.Ptr points to a value of type int.
UInt32Indicates that ProfilerMarkerData.Ptr points to a value of type uint.
Int64Indicates that ProfilerMarkerData.Ptr points to a value of type long.
UInt64Indicates that ProfilerMarkerData.Ptr points to a value of type ulong.
FloatIndicates that ProfilerMarkerData.Ptr points to a value of type float.
DoubleIndicates that ProfilerMarkerData.Ptr points to a value of type double.
String16Indicates that ProfilerMarkerData.Ptr points to a char*.
Blob8Indicates that ProfilerMarkerData.Ptr points to a raw byte array.
GfxResourceIdIndicates that ProfilerMarkerData.Ptr points to a value of type ulong that represents a graphics resource.