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.
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? PresetThe project's quality preset — its RenderQuality.vxpreset, loaded.
Methods (4)
public GraphicsCompositorAsset Transform(GraphicsCompositorAsset document, CompositorBuilder builder)public static ResolvedQuality QualityOf(GraphicsCompositorAsset document, QualityTier fallback, RenderQualityAsset? project = null)What tier a document resolves to, before anything expands or builds it.
public static GraphicsCompositorAsset Transform(GraphicsCompositorAsset document, out IReadOnlyDictionary<object, string> notes)The expansion with a sentence about each thing it emitted — the explode tooling's door.
public SceneRenderer? Create(ISceneRendererAsset declared, CompositorBuilder builder)Builds the node for an asset, or null when this factory does not recognise it.
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