Interface GPUMemoryPanelParams

interface GPUMemoryPanelParams {
    container?: HTMLElement;
    renderer: WebGLRenderer;
    storageKey?: string;
    visible?: boolean;
}

Properties

container?: HTMLElement

DOM container; defaults to document.body.

renderer: WebGLRenderer

Renderer whose memory usage + configs the panel surfaces. Doubles as the WeakMap key for GPUMemoryPanel.openFor idempotence — one panel per renderer.

storageKey?: string

localStorage key for persisting drag position + closed state. Defaults to "xkt-gpu-panel".

visible?: boolean

Show on construction (default true).