@miris-inc/core 0.0.8-9249a0d → 0.0.8-93d91b2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -81,6 +81,12 @@ export interface RenderState {
81
81
  // Off by default: those pixels show the clear colour.
82
82
  setSurfelLessTextureSplatsEnabled(enabled: boolean): void;
83
83
  setDebugAovMode(mode: number): void;
84
+ // GPU pass timing. Turning it on makes every pass write timestamps; a no-op on a device without
85
+ // timestamp-query. resolveTimeStamps goes after a frame's render; passTimingsMs starts a readback
86
+ // of them unless one is in flight and maps pass name to milliseconds from the last that landed.
87
+ setPassTimingEnabled(enabled: boolean): void;
88
+ resolveTimeStamps(): void;
89
+ passTimingsMs(): Record<string, number>;
84
90
  }
85
91
 
86
92
  export interface vec4 {