docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PixelShaderSingleton

    Represents the compute kernel cache for backends that use GPU pixel shaders.

    Inheritance
    object
    PixelShaderSingleton
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Unity.Sentis
    Assembly: solution.dll
    Syntax
    public sealed class PixelShaderSingleton

    Fields

    Name Description
    EnableDebug

    Whether kernel usage tracking is enabled.

    Properties

    Name Description
    Instance

    Initializes or returns the instance of PixelShaderSingleton.

    Methods

    Name Description
    GetUsedShaders()

    Returns used pixel shaders as a list.

    WarmupKernels(List<string>)

    Loads and compiles given pixel shaders without running them.

    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)