Shader Directives
The following directive configures the discovery of MetaSL shaders.
shaders
Description | Directory to find MetaSL shaders |
Syntax | shaders directory |
Context | global |
Default | none |
A directory path that is used to find shader files (normally, files ending in .msl). There can be more than one shaders key; the specified paths are searched in sequence. It is not an error if the specified directory does not exist.