RSX Code Reference
    Preparing search index...
    • rsx
    • ProfilerDatabaseIdentifier

    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.

    Index
    _item: number
    _provider: number
    • 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: number): void

      Parameters

      • value: number

      Returns void

    • get provider(): number

      Identifier of that created the object identified by this identifier.

      Returns number

    • set provider(value: number): void

      Parameters

      • value: number

      Returns void