Skip to content

Commit ac64a57

Browse files
committed
Merge remote-tracking branch 'origin/chore/remove-bytemuck-from-renderling-shader' into chore/remove-bytemuck-from-renderling-shader
2 parents 53e71d5 + d592cc4 commit ac64a57

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

crates/crabslab/README.md

+11-10
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
11
<div align="center">
2-
<h1>
3-
<img src="crabslab.png" /><br />
4-
</h1>
5-
6-
<blockquote>
7-
Slabcraft for crabs.
8-
</blockquote>
2+
<img src="crabslab.png" alt="slabcraft for crabs" width="512" />
93
</div>
104

115
## what
12-
`crabslab` is a slab implementation focused on CPUs and GPUs.
6+
`crabslab` is a slab implementation focused on marshalling data from CPUs to GPUs.
137

148
## why
159
### Opinion
1610
Working with shaders is much easier using a slab.
1711

1812
## how
1913
`crabslab` includes:
20-
* a few traits - `Slab`, `GrowableSlab` and `SlabItem`
14+
* a few traits:
15+
- `Slab`
16+
- `GrowableSlab`
17+
- `SlabItem`
2118
* a derive macro for `SlabItem`
22-
* a few structs for working with various slabs - `Id` `Array` and `Offset`
19+
* a few structs for working with various slabs
20+
- `Id`
21+
- `Array`
22+
- `Offset`
2323
* a helper struct `CpuSlab`
2424
* a feature-gated helper for using slabs with `wgpu` - `WgpuBuffer`
25+
- [example](src/wgpu_slab.rs#L344)

0 commit comments

Comments
 (0)