Add more options
This commit is contained in:
parent
d0b53678e2
commit
2481cfc3e6
14 changed files with 102 additions and 117 deletions
|
|
@ -1,12 +1,14 @@
|
|||
import { vec2 } from 'gl-matrix';
|
||||
import { Drawable } from '../../drawables/drawable';
|
||||
import { RuntimeSettings } from './runtime-settings';
|
||||
|
||||
export interface Renderer {
|
||||
readonly canvasSize: vec2;
|
||||
readonly viewAreaSize: vec2;
|
||||
readonly insights: any;
|
||||
|
||||
setViewArea(topLeft: vec2, size: vec2): void;
|
||||
setCursorPosition(position: vec2): void;
|
||||
setRuntimeSettings(overrides: Partial<RuntimeSettings>): void;
|
||||
addDrawable(drawable: Drawable): void;
|
||||
autoscaleQuality(deltaTime: DOMHighResTimeStamp): void;
|
||||
renderDrawables(): void;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue