Defines the base object on which an Input is based.

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

Hierarchy (View Summary)

Properties

type: string

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

onBeforeUpdate?: () => void

Callback to run before updating the binding using this InputBase.