@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.
- package/dist/AquaApi.wasm +0 -0
- package/dist/aqua-parser.wasm +0 -0
- package/dist/core.d.ts +7 -2
- package/dist/core.js +22 -4
- package/dist/core.prod.js +1 -1
- package/dist/core.standalone.js +338 -320
- package/dist/core.standalone.prod.js +1 -1
- package/dist/webshark.d.ts +6 -0
- package/dist/webshark.js +1 -1
- package/dist/webshark.wasm +0 -0
- package/package.json +1 -1
package/dist/webshark.d.ts
CHANGED
|
@@ -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 {
|