You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,9 +25,9 @@ Currently this must occur before `RenderPlugin` is added (most often via `Defaul
25
25
26
26
For each `RustGpuMaterial` implementor, add a `RustGpuMaterialPlugin::<M>` to your app to setup rendering machinery and hot-reload / hot-rebuild support if the respective features are enabled (see below.)
27
27
28
-
When instantiating `RustGpu` materials, handles to the `Shader` representing your `rust-gpu` SPIR-V will be required.
29
-
These handles should be acquired via the `AssetServer::load_rust_gpu_shader` extension method, which is provided by the `LoadRustGpuShader` trait.
30
-
This will allow the plugin to automatically load the `.spv.json` metadata asset required for hot-reloading support.
28
+
When instantiating `RustGpu` materials, `RustGpuShader` handles will be required.
29
+
These are equivalent to `Handle<Shader>` with some extra hot-reloading machinery,
30
+
and can be acquired via the `AssetServer::load_rust_gpu_shader` extension method provided by the `LoadRustGpuShader` trait.
0 commit comments