Version: 2021.2
LanguageEnglish
  • C#
Experimental: this API is experimental and might be changed or removed in the future.

FieldDescriptionEntries

class in UnityEditor.Profiling.Memory.Experimental

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

A class that houses Field Description entry data, returned by PackedMemorySnapshot.fieldDescriptions.

Properties

fieldDescriptionNameAn array of field names.
isStaticTrue if this field is static; otherwise false.
offsetAn array of offset values from the start of the class for the fields referenced by the fieldDescriptionName property.
typeIndexThe typeIndex into PackedMemorySnapshot.typeDescriptions of the type this field belongs to.

Public Methods

GetNumEntriesGets the number of field description entries.