Version: 2021.3
언어: 한국어
Experimental: this API is experimental and might be changed or removed in the future.

TypeDescriptionEntries

class in UnityEditor.Profiling.Memory.Experimental

매뉴얼로 전환

설명

A class that houses type description entries, returned from PackedMemorySnapshot.typeDescriptions.

변수

assemblyName of the assembly this type was loaded from.
baseOrElementTypeIndexThe base type for this type, pointed to by an index into PackedMemorySnapshot.typeDescriptions.
fieldIndicesAn array containing indices pointing to descriptions of all fields of this type, accessible from PackedMemorySnapshot.fieldDescriptions.
flagsFlags set for this type description, that define whether this type is an array or a value type, and the array rank of the type.
sizeSize in bytes of an instance of this type. If this type is an array type, this describes the amount of bytes a single element in the array will take up.
staticFieldBytesThe actual contents of the bytes that store this types static fields, at the point of time when the snapshot was taken.
typeDescriptionNameThe name of this type.
typeIndexThe type index of this type. This index is an index into the PackedMemorySnapshot.typeDescriptions array.
typeInfoAddressThe address in memory that contains the description of this type inside the virtual machine. This can be used to match managed objects in the heap to their corresponding TypeDescription, as the first pointer of a managed object points to its type description.

Public 함수

GetNumEntriesThe number of type description entries.