Interface EffectWrapperOptions
interface EffectWrapperOptions {
bindings?: EffectBindingLayout[];
blend?: GPUBlendState;
fragmentWGSL: string;
name?: string;
vertexWGSL?: string;
}
bindings?: EffectBindingLayout[];
blend?: GPUBlendState;
fragmentWGSL: string;
name?: string;
vertexWGSL?: string;
}
Configuration for
createEffectWrapper: the fullscreen fragment shader plus optional vertex shader, bindings, and blend state.