Interface IWebGPUShaderEffect
- Namespace
- SixLabors.ImageSharp.Drawing.Processing.Backends
- Assembly
- SixLabors.ImageSharp.Drawing.WebGPU.dll
Identifies a layer effect that supplies a native WebGPU implementation and a CPU fallback.
public interface IWebGPUShaderEffect
Remarks
Derive from WebGPUShaderLayerEffect or WebGPUBackdropShaderLayerEffect to implement this contract. Pass an instance to Precompile(IWebGPUShaderEffect) to compile its pipelines before first use.