Macro re_renderer::include_file
source · macro_rules! include_file { ($path:expr $(,)?) => { ... }; }
Expand description
A macro to read the contents of a file on disk, and resolve #import clauses as required.
- On Wasm and/or release builds, this will behave like the standard
include_strmacro. - On native debug builds, this will actually load the specified path through
our
FileServer, and keep watching for changes in the background (both the root file and whatever direct and indirect dependencies it may have through #import clauses).