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

    Class ProfilerIndexEventSample

    Wrapper for that contains additional information about relationships with other profiler data entries. Pointers to other event samples are raw pointers for possibility of high-performance processing in profiler index; integrity is ensured during insertion and removal from index.

    Index
    • get canvasElement(): Canvas2DElement

      Canvas2D node that displays this event sample in a flamegraph.

      Returns Canvas2DElement

    • set canvasElement(value: Canvas2DElement): void

      Parameters

      • value: Canvas2DElement

      Returns void

    • Locates event node containing definitions and metadata for this event sample.

      Returns ProfilerIndexEvent

      Event node which was sampled by this event sample.

    • Returns profiler index to which this sample belongs.

      Returns ProfilerIndex

      Profiler index that created this event sample.

    • Returns frame id relative to first frame in profiler index.

      Returns number