Class ComputeShaderSingleton | Barracuda | 0.7.1-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class ComputeShaderSingleton

    Inheritance
    Object
    ComputeShaderSingleton
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Barracuda
    Syntax
    public sealed class ComputeShaderSingleton

    Fields

    kernels

    Declaration
    public readonly ComputeShader[] kernels
    Field Value
    Type Description
    ComputeShader[]

    referenceKernels

    Declaration
    public readonly ComputeShader referenceKernels
    Field Value
    Type Description
    ComputeShader

    Properties

    Instance

    Declaration
    public static ComputeShaderSingleton Instance { get; }
    Property Value
    Type Description
    ComputeShaderSingleton

    supported

    Declaration
    public bool supported { get; }
    Property Value
    Type Description
    Boolean

    Methods

    LoadIf(Boolean, String)

    Declaration
    public static ComputeShader LoadIf(bool condition, string fileName)
    Parameters
    Type Name Description
    Boolean condition
    String fileName
    Returns
    Type Description
    ComputeShader

    LoadIf(Boolean, String, List<ComputeShader>)

    Declaration
    public static void LoadIf(bool condition, string fileName, List<ComputeShader> list)
    Parameters
    Type Name Description
    Boolean condition
    String fileName
    List<ComputeShader> list
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023