Skip to content

Commit a816698

Browse files
committed
Update README.md
1 parent 22e87f1 commit a816698

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ bevy-rust-gpu = { git = "https://github.com/Bevy-Rust-GPU/bevy-rust-gpu", tag =
4343
Next, implement a `Material` type to describe your material's bind group layout and pipeline specialization:
4444

4545
```rust
46+
#[derive(Debug, Default, Copy, Clone, AsBindGroup, TypeUuid)]
47+
#[uuid = "786779ff-e3ac-4b36-ae96-f4844f8e3064"]
4648
struct MyRustGpuMaterial {
4749
#[uniform(0)]
4850
color: Vec4,

0 commit comments

Comments
 (0)