Class ProfilerDatabaseIdentifier

Later aliased as ProfilerDatabase::Identifier. Serves to identify data entries in ProfilingDatabase. Usage of such identifiers allows us to create relationships between instances that are not created yet - maybe they will be synchronized from script code at the end of frame. It also provides capabilities similar to weak pointers - we can remove old and obsolete data without worrying about hanging references.

Constructors

Properties

Accessors

Methods

Constructors

Properties

_item: number
_provider: number

Accessors

  • get item(): number
  • Id that is unique for the type of object identified by this identifier and for the provider that created it.

    Returns number

  • set item(value): void
  • Parameters

    • value: number

    Returns void

  • get provider(): number
  • Identifier of that created the object identified by this identifier.

    Returns number

  • set provider(value): void
  • Parameters

    • value: number

    Returns void

Methods