Class CSharpToHLSL | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class CSharpToHLSL

    Inheritance
    System.Object
    CSharpToHLSL
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ToString()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: UnityEditor.Experimental.Rendering
    Syntax
    public class CSharpToHLSL

    Methods

    GenerateAll()

    Declaration
    public static void GenerateAll()

    GenerateHLSL(Type, GenerateHLSL, out String)

    Declaration
    public static bool GenerateHLSL(Type type, GenerateHLSL attribute, out string shaderSource)
    Parameters
    Type Name Description
    System.Type type
    GenerateHLSL attribute
    System.String shaderSource
    Returns
    Type Description
    System.Boolean

    GenerateHLSL(Type, GenerateHLSL, out String, out List<String>)

    Declaration
    public static bool GenerateHLSL(Type type, GenerateHLSL attribute, out string shaderSource, out List<string> errors)
    Parameters
    Type Name Description
    System.Type type
    GenerateHLSL attribute
    System.String shaderSource
    System.Collections.Generic.List<System.String> errors
    Returns
    Type Description
    System.Boolean
    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