Interface IVariantStripperSkipper<TShader, TShaderVariant>
Interface to allow an IVariantStripper<TShader, TShaderVariant> to skip a shader variant for processing
Namespace: UnityEditor.Rendering
Syntax
public interface IVariantStripperSkipper<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
SkipShader(TShader, TShaderVariant)
Returns if the
Declaration
bool SkipShader(TShader shader, TShaderVariant shaderVariant)
Parameters
Type | Name | Description |
---|---|---|
TShader | shader | The shader |
TShaderVariant | shaderVariant | The variant |
Returns
Type | Description |
---|---|
Boolean | true, if the shader can be skipped |