Defines the base object on which an Input is based.

interface InputBase {
    type: string;
    onBeforeUpdate?: (() => void);
}

Hierarchy (view full)

Properties

type: string

InputBase type - could be 'f32', 'vec2f', etc.

onBeforeUpdate?: (() => void)

callback to run before updating the binding using this InputBase

Type declaration

    • (): void
    • callback to run before updating the binding using this InputBase

      Returns void