• Get traits for generating code to readback data from a component.

    Parameters

    Returns {
        ReadbackTypedArray: Float32ArrayConstructor;
        shaderType: "f32";
    } | {
        ReadbackTypedArray: Uint32ArrayConstructor;
        shaderType: "u32";
    } | {
        ReadbackTypedArray: Int32ArrayConstructor;
        shaderType: "i32";
    }

    A dictionary containing the respective ReadbackTypedArray and shaderType.

Generated using TypeDoc