pixels/examples/custom-shader
Jay Oster 5a96eea6ba
Handle all wgpu::SurfaceError variants (#348)
This fixes error handling for all `wgpu::SurfaceError` variants. It also adds more context to error messages printed by the examples.

Closes #346
2023-03-21 07:16:51 -07:00
..
shaders Use type inference in custom_shader WGSL (#334) 2023-01-28 11:00:51 -08:00
src Handle all wgpu::SurfaceError variants (#348) 2023-03-21 07:16:51 -07:00
Cargo.toml Handle all wgpu::SurfaceError variants (#348) 2023-03-21 07:16:51 -07:00
README.md Add custom shader example (#100) 2020-07-19 02:18:02 -07:00

Custom Shader Example

Custom Shader Example

Running

cargo run --release --package custom-shader

About

This example is based on minimal-winit, and extends it with a custom renderer that adds white noise to the screen.