Interface IVariantStripperScope<TShader, TShaderVariant>
Interface to allow an IVariantStripper<TShader, TShaderVariant> to have a callback before and after the processing of variants
Namespace: UnityEditor.Rendering
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
public interface IVariantStripperScope<TShader, TShaderVariant> where TShader : Object
Type Parameters
| Name | Description |
|---|---|
| TShader | The shader Shader or ComputeShader |
| TShaderVariant | The type of variant for the given type of shader can either be ShaderSnippetData or string |
Methods
| Name | Description |
|---|---|
| AfterShaderStripping(TShader) | Callback that will be executed after parsing variants |
| BeforeShaderStripping(TShader) | Callback that will be executed before parsing variants |