Interface ShadersPanelParams

interface ShadersPanelParams {
    container?: HTMLElement;
    inspector: ShaderInspector;
    storageKey?: string;
    visible?: boolean;
}

Properties

container?: HTMLElement

DOM container; defaults to document.body.

inspector: ShaderInspector

Snapshot of compiled shader sources to display. Doubles as the WeakMap key for ShadersPanel.openFor idempotence — one panel per inspector instance.

storageKey?: string

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

visible?: boolean

Show on construction (default true).