Struct ShaderGeneratorDescriptor | Package Manager UI website
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
    System.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
    System.String

    shaderCategory

    The Shader Category for Shaders generated by the NoiseShaderGenerator

    Declaration
    public string shaderCategory
    Field Value
    Type Description
    System.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
    System.String
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX