Skip to content

Commit

Permalink
Renderer: Call ID (#665)
Browse files Browse the repository at this point in the history
* Renderer: Call ID

* Remove it
  • Loading branch information
Methuselah96 authored Nov 7, 2023
1 parent 932dc37 commit 2795dfc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 19 deletions.
16 changes: 0 additions & 16 deletions types/three/examples/jsm/renderers/common/Animation.d.ts

This file was deleted.

9 changes: 7 additions & 2 deletions types/three/examples/jsm/renderers/common/Info.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
import { Object3D } from '../../../../src/Three.js';

export default class Info {
autoRest: boolean;
autoReset: boolean;

render: { frame: number; drawCalls: number; triangles: number; points: number; lines: number };
frame: number;
calls: number;

render: { calls: number; drawCalls: number; triangles: number; points: number; lines: number };

compute: { calls: number };

memory: { geometries: number; textures: number };

Expand Down
2 changes: 1 addition & 1 deletion types/three/examples/jsm/renderers/common/Renderer.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default class Renderer {

render(scene: Scene, camera: Camera): Promise<void>;

setAnimationLoop(callback: ((time: DOMHighResTimeStamp) => void) | null): void;
setAnimationLoop(callback: ((time: DOMHighResTimeStamp) => void) | null): Promise<void>;

setPixelRatio(value?: number): void;

Expand Down

0 comments on commit 2795dfc

Please sign in to comment.