csharp
public record class GraphSurfaceMapA texture a graph-authored surface samples, and the slot it reads it through.
Remarks
⚠ Both names are carried, though one generator wrote both. A convention could derive albedoIndex from albedo — the shader graph is what spells it that way — and a runtime that reads this file never ran the generator and has no way to know that. The engine's rule is that a name-to-name join is explicit wherever the two names belong to different things, because a guess there leaves the slot at zero, and zero is a valid index holding some other material's texture.
Fields and properties (2)
public string Texturepublic string Slot
Methods (2)
public GraphSurfaceMap(string Texture, string Slot)A texture a graph-authored surface samples, and the slot it reads it through.
public GraphSurfaceMap()For the binder, which builds a value and then fills it.
Used by (8)
- AssetMaterialSourceVixen.Engine.Renderer
- GraphSurfaceFeatureVixen.Rendering
- TypeRegistrationVixen.Rendering
- Vixen_Rendering_Materials_GraphSurfaceFeatureSerializerVixen.Rendering
- Vixen_Rendering_Materials_GraphSurfaceMapSerializerVixen.Rendering
- GraphMaterialTestsVixen.Editor.ShaderGraph.Tests
- MaterialGraphPropertyTestsVixen.Editor.AssetEditors.Tests
- ShaderGraphMaterialVixen.Editor.ShaderGraph