Modules§
- big_
compute_ buffers - This example shows you a potential course for when your ‘data’ is too large for a single Buffer.
- boids
- bunnymark
- conservative_
raster - cooperative_
matrix - Cooperative Matrix Multiplication Example
- cube
- framework
- hello_
synchronization - hello_
triangle - hello_
windows - hello_
workgroups - This example assumes that you’ve seen hello-compute and or repeated-compute and thus have a general understanding of what’s going on here.
- mesh_
shader - mipmap
- msaa_
line - The parts of this example enabling MSAA are:
- multiple_
render_ targets - multiview
- Renders different content to different layers of an array texture using multiview, a feature commonly used for VR rendering.
- ray_
aabb_ compute - ray_
cube_ compute - ray_
cube_ fragment - ray_
cube_ normals - ray_
scene - ray_
shadows - ray_
traced_ triangle - render_
to_ texture - render_
with_ compute - This renders to the screen with compute shaders. Note that due to limitations in Firefox, the wait will cause FPS to be capped at 10 when running on webgpu on Firefox. It is therefore not recommended to use this code, at least until https://bugzilla.mozilla.org/show_bug.cgi?id=1870699 (and possibly further work) is resolved.
- repeated_
compute - See hello-compute example main.rs for more details as similar items here are not explained.
- shadow
- skybox
- srgb_
blend - stencil_
triangles - storage_
texture - This example demonstrates the basic usage of storage textures for the purpose of creating a digital image of the Mandelbrot set (https://en.wikipedia.org/wiki/Mandelbrot_set).
- texture_
arrays - timestamp_
queries - Sample demonstrating different kinds of gpu timestamp queries.
- uniform_
values - Points of interest for seeing uniforms in action:
- utils
- water