Contents

primvarMappings

Maps primvar names used in this graph to texture coordinate channels.

Declaration

final var primvarMappings: [String : ShaderGraph.TextureCoordinate]

Discussion

Primvar nodes reference geometry data by name. Use this dictionary to specify which ShaderGraph.TextureCoordinate channel each name resolves to at render time.