MCPcopy Index your code
hub / github.com/ChartGPU/ChartGPU / RenderSchedulerInternalState

Interface RenderSchedulerInternalState

src/core/RenderScheduler.ts:50–66  ·  view source on GitHub ↗

* Internal mutable state for the render scheduler. * Stored separately from the public state interface.

Source from the content-addressed store, hash-verified

48 * Stored separately from the public state interface.
49 */
50interface RenderSchedulerInternalState {
51 rafId: number | null;
52 callback: RenderCallback | null;
53 lastFrameTime: number;
54 dirty: boolean;
55 frameHandler: ((time: number) => void) | null;
56
57 // Performance tracking
58 frameTimestamps: Float64Array;
59 frameTimestampIndex: number;
60 frameTimestampCount: number;
61 totalFrames: number;
62 totalDroppedFrames: number;
63 consecutiveDroppedFrames: number;
64 lastDropTimestamp: number;
65 startTime: number;
66}
67
68/**
69 * Map to store internal mutable state for each scheduler state instance.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected