gpu-curtains
    Preparing search index...

    Interface Input

    An Input is an object used to pass data from the CPU to the GPU either via uniforms or storages.

    interface Input {
        type: string;
        onBeforeUpdate?: () => void;
        value: InputValue;
    }

    Hierarchy (View Summary)

    Index

    Properties

    type: string

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

    onBeforeUpdate?: () => void

    Callback to run before updating the binding using this InputBase.

    value: InputValue

    The Input value.