Vixen
dd8b0a81
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.

Also the door for !StandardFrame: the preset expands into this set's node kinds, so the assembly that owns the kinds owns the expansion, and registering this factory is the whole installation — the builder hands the document through ICompositorAssetTransformer before it reads a node of it.

Fields and properties (1)

  • public RenderQualityAsset? Preset

    The project's quality preset — its RenderQuality.vxpreset, loaded.

Methods (4)

Used by (20)

  • FrameDocumentTestsThirdPersonShooter.Frame.Tests
  • FrameDocumentTestsPbrShowcase.Frame.Tests
  • PbrShowcaseGamePbrShowcase
  • ThirdPersonShooterGameThirdPersonShooter
  • AppGraphicsVixen.App.Hosting
  • CompositorContentTestsVixen.Assets.Tests
  • PostEffectTestsVixen.Rendering.PostFx.Tests
  • RenderQualityTestsVixen.Rendering.PostFx.Tests
  • SmaaTestsVixen.Rendering.PostFx.Tests
  • StandardFrameTestsVixen.Rendering.PostFx.Tests
  • TerrainCasterTestsVixen.Rendering.Terrain.Tests
  • TerrainNodeTestsVixen.Rendering.Terrain.Tests
  • TerrainVelocityTestsVixen.Rendering.Terrain.Tests
  • TierSceneVixen.Graphics.Golden.Tests
  • VolumetricFogIntegrationTestsVixen.Rendering.PostFx.Tests
  • AuthoredFrameGameVixen.App.Tests
  • CompositorWriterTestsVixen.Editor.Assets.Tests
  • EditorWorldRendererVixen.Editor.App
  • FrameRunnerVixen.Cli
  • StandardFrameDocumentVixen.Editor.AssetEditors