Crate wgpu_examples

Source

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
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
ray_cube_compute
ray_cube_fragment
ray_cube_normals
ray_scene
ray_shadows
ray_traced_triangle
render_to_texture
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