Function Shader.watched
Initialize a new Shader compiled from the given filePath.
The constructed Shader will be marked for hotReload.
Add the teraflop System to your game's World to watch the Shader's source file for changes.
Parameters
| Name | Description |
|---|---|
| stage | The stage in the graphics pipeline in which this Shader performs. |
| filePath | Path to a file containing SPIR-V source bytecode. |
See Also
teraflop