API

Interface EffectWrapperOptions

Configuration for createEffectWrapper: the fullscreen fragment shader plus optional vertex shader, bindings, and blend state.

interface EffectWrapperOptions {
    bindings?: EffectBindingLayout[];
    blend?: GPUBlendState;
    fragmentWGSL: string;
    name?: string;
    vertexWGSL?: string;
}
Index
bindings?: EffectBindingLayout[]
blend?: GPUBlendState
fragmentWGSL: string
name?: string
vertexWGSL?: string