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 |
---|---|
List<HlslInput> |
name
The name of the NoiseType implementation
Declaration
public string name
Field Value
Type | Description |
---|---|
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 |
---|---|
String |
sourcePath
The file path of the HLSL file containing the implementation for this NoiseType
Declaration
public string sourcePath
Field Value
Type | Description |
---|---|
String |
supportedDimensions
Flags that represented the dimensions this NoiseType implementation supports
Declaration
public NoiseDimensionFlags supportedDimensions
Field Value
Type | Description |
---|---|
NoiseDimensionFlags |