Struct ShaderGeneratorDescriptor | Terrain Tools | 3.0.2-preview.3
docs.unity.cn
    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 © 2020 Unity Technologies
    Generated by DocFX
    on 10 November 2020