csharp
public enum MaterialDiagnosticIdWhat went wrong, or nearly went wrong, while compiling a material.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (8)
DuplicateFeatureTwo slots want the same feature, which would make them share its parameters.
TooManyFeaturesThe material has more features than the chain has slots.
NoFeaturesThe material has no features, so it is the default surface.
UnnamedShaderA feature names no shader at all, so there is nothing to compose into the slot.
UnpaintedLayerA layered material has more layers than its splat map has painted channels.
CoordinateFeatureOutOfOrderA feature that rewrites the coordinate is behind one that samples at it.
RenamedTextureMapA feature's map is called something other than the one name a host pairs.
TwoBaseSurfacesTwo base workflows are in one chain, so the later one writes over the earlier's albedo.
Used by (10)
- MaterialBaseSurfaceTestsVixen.Rendering.Tests
- MaterialCompilationContextVixen.Rendering
- MaterialCompilerVixen.Rendering
- MaterialCompilerTestsVixen.Rendering.Tests
- MaterialDiagnosticVixen.Rendering
- MaterialFeatureOrderTestsVixen.Rendering.Tests
- MaterialMapNamesVixen.Rendering
- TexturedMaterialLayersFeatureVixen.Rendering
- TexturedMaterialTestsVixen.Rendering.Tests
- GraphMaterialTestsVixen.Editor.ShaderGraph.Tests