ShaderBuilderParams: {
    cases: Case[];
    constEvaluationMode?: ConstEvaluationMode;
    inputSource: InputSource;
    parameterTypes: Type[];
    resultType: Type;
}

The structured arguments for a ShaderBuilder function

Type declaration

  • cases: Case[]

    list of test cases that fit within the binding limits of the device

  • Optional constEvaluationMode?: ConstEvaluationMode

    the optional evaluation mode when 'inputSource' is 'const'

  • inputSource: InputSource

    the source of the input values

  • parameterTypes: Type[]

    the list of expression parameter types

  • resultType: Type

    the return type for the expression overload

Generated using TypeDoc