Skip to content

SDL3PostProcessPipeline.AddEffectFactory(Func) Method

Definition

Namespace: Brine2D.Rendering.SDL.PostProcessing

Register an effect factory that will be called when the pipeline is first used. This allows effects to be created after the GPU device is initialized.

public void AddEffectFactory(System.Func<Brine2D.Rendering.PostProcessing.IPostProcessEffect> factory);

Parameters

factory System.Func<IPostProcessEffect>