Struct NoiseTypeDescriptor | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct NoiseTypeDescriptor

    Struct used for defining a NoiseType implementation. Information in this struct is used in shader generation and for determining compatabilities with FractalType implementations.

    Namespace: UnityEditor.Experimental.TerrainAPI
    Syntax
    public struct NoiseTypeDescriptor

    Fields

    inputStructDefinition

    List of HlslInput structs defining the HLSL function parameter list for this NoiseType implementation. This is used in the noise shader generation.

    Declaration
    public List<HlslInput> inputStructDefinition
    Field Value
    Type Description
    System.Collections.Generic.List<HlslInput>

    name

    The name of the NoiseType implementation

    Declaration
    public string name
    Field Value
    Type Description
    System.String

    outputDir

    The path to the directory where the generated shader files for this NoiseType should be written to disk.

    Declaration
    public string outputDir
    Field Value
    Type Description
    System.String

    sourcePath

    The file path of the HLSL file containing the implementation for this NoiseType

    Declaration
    public string sourcePath
    Field Value
    Type Description
    System.String

    supportedDimensions

    Flags that represented the dimensions this NoiseType implementation supports

    Declaration
    public NoiseDimensionFlags supportedDimensions
    Field Value
    Type Description
    NoiseDimensionFlags
    In This Article
    • Fields
      • inputStructDefinition
      • name
      • outputDir
      • sourcePath
      • supportedDimensions
    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