docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Delegate ShaderStrippingWatcher.OnShaderStrippedCallbackHandler<TShader, TShaderVariant>

    Callback when a shader has been stripped

    Namespace: UnityEditor.Rendering
    Assembly: Unity.RenderPipelines.Core.Editor.dll
    Syntax
    public delegate void ShaderStrippingWatcher.OnShaderStrippedCallbackHandler<TShader, TShaderVariant>(TShader shader, TShaderVariant shaderVariant, uint variantsOut, double stripTimeMs) where TShader : Object
    Parameters
    Type Name Description
    TShader shader

    The shader

    TShaderVariant shaderVariant

    The variant

    uint variantsOut

    The output variants after the stripping process

    double stripTimeMs

    The total amount of time to strip the variants

    Type Parameters
    Name Description
    TShader

    The shader

    TShaderVariant

    The variant

    Extension Methods

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)