mirror of https://github.com/sotrh/learn-wgpu
Additional changes to Texture
1. The fields ` diffuse_texture`, `diffuse_texture_view` and `diffuse_sampler` are not used on `State` in this tutorial and should therefore not be added, so as not to unnecessarily confuse the reader. 2. The `anyhow` crate must be added to `Cargo.toml` in order for `texture.rs` to work.pull/124/head
parent
6b2a8c8dcc
commit
58618be013