docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IVariantStripper<TShader, TShaderVariant>

    Interface to be implemented for a type of shader that it's variants can be stripped

    Namespace: UnityEditor.Rendering
    Assembly: Unity.RenderPipelines.Core.Editor.dll
    Syntax
    public interface IVariantStripper<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

    Properties

    Name Description
    active

    Returns if the stripper is active

    Methods

    Name Description
    CanRemoveVariant(TShader, TShaderVariant, ShaderCompilerData)

    Specifies if a TShader variant can be stripped

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)