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
+10-3Lines changed: 10 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,8 +50,9 @@ struct MyRustGpuMaterial {
50
50
color:Vec4,
51
51
}
52
52
53
-
// The vertex and fragment shaders specified here can be used as a fallback
54
-
// when entrypoints are unavailable (see the documentation of bevy_rust_gpu::prelude::RustGpuSettings),
53
+
// The vertex and fragment shaders specified here can be used
54
+
// as a fallback when entrypoints are unavailable
55
+
// (see the documentation of bevy_rust_gpu::prelude::RustGpuSettings),
55
56
// but are otherwise deferred to ShaderRef::Default, so can be left unimplemented.
56
57
implMaterialforMyRustGpuMaterial {}
57
58
```
@@ -93,13 +94,19 @@ Next, add `RustGpuPlugin` to your bevy app to configure the backend.
93
94
app.add_plugins(DefaultPlugins);
94
95
```
95
96
96
-
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.)
97
+
For each `RustGpuMaterial` implementor, add a `RustGpuMaterialPlugin::<M>` to your app to setup backend rendering machinery.
98
+
This will also configure hot-reloading and hot-rebuilding if the corresponding features are enabled.
0 commit comments