Vixen
02b45cc4
csharp
public sealed class PostEffectFactory

Builds the effect set's node kinds from a compositor document.

Read the guide page for this →

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)

Used by (4)

  • FrameDocumentTestsThirdPersonShooter.Frame.Tests
  • ThirdPersonShooterGameThirdPersonShooter
  • CompositorContentTestsVixen.Assets.Tests
  • PostEffectTestsVixen.Rendering.PostFx.Tests