Struct ShaderGeneratorDescriptor | Terrain Tools | 3.0.2-preview.3
docs.unity3d.com
    Show / Hide Table of Contents

    Struct ShaderGeneratorDescriptor

    Struct defining the description for a NoiseShaderGenerator

    Namespace: UnityEditor.Experimental.TerrainAPI
    Syntax
    public struct ShaderGeneratorDescriptor

    Fields

    name

    The name of the NoiseShaderGenerator

    Declaration
    public string name
    Field Value
    Type Description
    String

    outputDir

    The path specifying where the Shaders generated by the NoiseShaderGenerator should be written to disk

    Declaration
    public string outputDir
    Field Value
    Type Description
    String

    shaderCategory

    The Shader Category for Shaders generated by the NoiseShaderGenerator

    Declaration
    public string shaderCategory
    Field Value
    Type Description
    String

    templatePath

    The path to the ".noisehlsltemplate" file to be used in the NoiseShaderGenerator's Shader generation.

    Declaration
    public string templatePath
    Field Value
    Type Description
    String
    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