文档

Unity Engine

Unity Engine

ProfilerMarkerDataType

Options for the Profiler metadata type.
阅读时间1 分钟最后更新于 2 个月前

Definition

public enum ProfilerMarkerDataType : byte

Remarks

Used as a value of ProfilerMarkerData.Type field.

Fields

Value

Description

Blob8Indicates that ProfilerMarkerData.Ptr points to a raw byte array.
DoubleIndicates that ProfilerMarkerData.Ptr points to a value of type double.
FloatIndicates that ProfilerMarkerData.Ptr points to a value of type float.
GfxResourceIdIndicates that ProfilerMarkerData.Ptr points to a value of type ulong that represents a graphics resource.
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.
Int64Indicates that ProfilerMarkerData.Ptr points to a value of type long.
String16Indicates that ProfilerMarkerData.Ptr points to a char*.
UInt32Indicates that ProfilerMarkerData.Ptr points to a value of type uint.
UInt64Indicates that ProfilerMarkerData.Ptr points to a value of type ulong.