csharp
public sealed class EffectSourceProviderAdapts a source into a tier of the EffectSystem.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Separate from the sources themselves so that the device appears exactly once in the chain. Every source would otherwise need one, which would mean a bundle could not be opened, checked or diffed by a tool that has no graphics device — and inspecting what a build baked is precisely the thing you want to do when a shipping build reports a miss.
Fields and properties (2)
public IEffectSource SourceWhere the bytes come from.
public EffectLoader LoaderWhat turns them into an effect.
Methods (2)
public EffectSourceProvider(IEffectSource source, EffectLoader loader)Adapts a source into a tier of the EffectSystem.
public Effect? TryGet(EffectKey key)The effect for a key, or null when this provider does not have it.
Used by (4)
- AppGraphicsVixen.App.Hosting
- EffectCacheTestsVixen.Shaders.Tests
- EditorEffectsVixen.Editor.App
- ZeroRuntimeCompilationTestsVixen.ShaderCompiler.Tests