Struct FractalTypeDescriptor
Struct that provides a definition for a FractalType implementation. Information in this struct is used during Shader generation and used to determine NoiseType and FractalType compatibilities.
Namespace: UnityEditor.Experimental.TerrainAPI
Syntax
public struct FractalTypeDescriptor
Fields
additionalIncludePaths
Additional include paths to be included in the generated Shader. You can add them to this list or hardcode them somewhere in the Shader itself.
Declaration
public List<string> additionalIncludePaths
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
inputStructDefinition
List of HlslInput structures defining the HLSL function parameter list for this FractalType
Declaration
public List<HlslInput> inputStructDefinition
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<HlslInput> |
name
The name to be used for the FractalType
Declaration
public string name
Field Value
Type | Description |
---|---|
System.String |
supportedDimensions
A flag definition the supported number of dimensions that this FractalType implements. This currently is unused.
Declaration
public NoiseDimensionFlags supportedDimensions
Field Value
Type | Description |
---|---|
NoiseDimensionFlags |
templatePath
The Asset path to the .noisehlsltemplate file to be used when generating shaders for this FractalType variant
Declaration
public string templatePath
Field Value
Type | Description |
---|---|
System.String |