Skip to content

Commit

Permalink
add instancing anchor
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Aug 9, 2023
1 parent becece7 commit e19b60e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions webgpu/lessons/webgpu-storage-buffers.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ The major differences between uniform buffers and storage buffers are:
We saw an example of writing to a storage buffer in the compute shader
example in [the first article](webgpu-fundamentals.html).

## <a id="a-instancing"></a>Instancing with Storage Buffers

Given the first 2 points above, lets take our last example and change it
to draw all 100 triangles in a single draw call. This is a use-case that
*might* fit storage buffers. I say might because again, WebGPU is similar
Expand Down

0 comments on commit e19b60e

Please sign in to comment.