csharp
public sealed class PostEffectFactoryBuilds the effect set's node kinds from a compositor document.
Remarks
What a host registers on a CompositorBuilder so a document can name !Bloom or !Tonemap. The builder cannot know these types — this project is downstream of it, and a switch case here would be a cycle — so the knowledge travels the only direction it can.
One factory for the whole set rather than one per effect, because what it does is a switch over asset types and a list of single-case factories would be the same switch spread over seven files.
Methods (1)
public SceneRenderer? Create(ISceneRendererAsset declared, CompositorBuilder builder)Builds the node for an asset, or null when this factory does not recognise it.
Used by (4)
- FrameDocumentTestsThirdPersonShooter.Frame.Tests
- ThirdPersonShooterGameThirdPersonShooter
- CompositorContentTestsVixen.Assets.Tests
- PostEffectTestsVixen.Rendering.PostFx.Tests