Commit Graph

248 Commits (91879d405bb04897bd612f7bbadf684b0dd939ee)

Author SHA1 Message Date
Ben Hansen 91879d405b code up to 7 migrated 4 years ago
Ben Hansen 47fd27669e migrated tutorials 1 and 2 4 years ago
Aleksey Halahan ad0515bdfb
Fix a type in the code example
Was missing the `slice` method
4 years ago
Ben Hansen 19c99e28d0 Merge branch 'master' of https://github.com/sotrh/learn-wgpu 4 years ago
Ben Hansen 1f9024691c shaderc 1.6 -> 0.7 4 years ago
Fisher Darling 5547528cf0
Fixed small typo in beginner/tutorial8-depth 4 years ago
Renato Caldas d44f216b14 Fix inconsistent position of the 'size' field in the beginner tutorials 4 years ago
Renato Caldas e61b939889 Remove stray field 'colour' from State 4 years ago
Renato Caldas 67635a5fad Fix typos in beginner tutorial 4 4 years ago
Ben Hansen a6883b59f9 Added patrons to the intro page 4 years ago
paq 6302a2372c
Fix syntax error in tutorial 6 4 years ago
DevJac 468807e8a3 Link to Cargo Book for more info about build scripts 4 years ago
Ben Hansen 733683cf6f removed camera research 4 years ago
Ben Hansen 99fd6523d7 travis build failing 4 years ago
Ben Hansen 8608460977 fixed #129 4 years ago
Ben Hansen c92d2a528e modified camera tutorial to use `DeviceEvent` 4 years ago
sotrh 7b1a81ccfe
Merge pull request #123 from kanerogers/patch-4
Clarify changes to State struct
4 years ago
sotrh 68e06ea4a4
Merge pull request #125 from dannyfritz/patch-1
Texture: BufferInitDescriptor fields.
4 years ago
Ben Hansen f1d35b6b38 finished cleanup 4 years ago
sotrh 039d840698
Merge pull request #124 from kanerogers/patch-6
Cleanup Textures tutorial
4 years ago
Danny Fritz 4cd5491921
Texture: BufferInitDescriptor fields. 4 years ago
Kane Rogers 21e455c668
Update to reflect sorth's suggestions
- Add `diffuse_texture` to `texture::Texture` in `State` at the end of the tutorial.
4 years ago
Ben Hansen 28c8637d73 finished compute exampute example 4 years ago
Kane Rogers 6b2a8c8dcc
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.
4 years ago
Kane Rogers fbe39fc0e4
Cleanup Textures tutorial
I have broadly made two sets of changes:

1. General prose cleanup (eg. correcting minor syntax errors, rewriting some sentences to make them more clear)
2. Code consistency (eg. not making use of the `texture` wrapper until it is defined at the end of the page.
4 years ago
Ben Hansen e462670b72 migrated docs for tutorial7 4 years ago
Ben Hansen c770e1860f fixed code for #116 4 years ago
Kane Rogers b93a57d9b3
Clarify changes to State struct
Not a big one, just being explicit where the fields need to be updated on the struct.
4 years ago
Ben Hansen aa8f9f269d fixed #119 4 years ago
Ben Hansen 0620f0b05d migrated ModelVertex to use bytemuck derive 4 years ago
Ben Hansen 9a221fb2c4 migrated Light struct to use bytemuck derive 4 years ago
Ben Hansen 0ccb80e7e3 updated Uniforms struct to use bytemuck derive 4 years ago
Ben Hansen 5abaa16ac1 updated bytemuck to use derive as per #109 4 years ago
Ben Hansen 8ad575f750 finished #121 4 years ago
sotrh fd8c3e169d
Merge pull request #107 from benmkw/master
add info about alignment
4 years ago
Benedikt Mandelkow f5ba33713a add code example 4 years ago
Samuel Hurel 936082fafc Minor changes 4 years ago
sotrh 31a6262d75 Rename Readme.md to README.md 4 years ago
Benedikt Mandelkow 14dec8ba59 add info about alignment 4 years ago
sotrh 8f5215963a
Merge pull request #113 from pudnax/link_typo
Fixed the link to zip file
4 years ago
sotrh 3e83cf5a17
Merge pull request #112 from pudnax/winit_0.23
Migration to winit 0.23
4 years ago
Alex Komissarov ae3f7e8e95
Wrong light_bind_group_layout 4 years ago
Alex Komissarov c42e07bb7d
Clean probably missed stuff from '0.5 -> 0.6' 4 years ago
Alex Komissarov e5a5d6d66c
Fixed the link to zip file 4 years ago
Alex Komissarov d38731e472
Migration to winit 0.23 4 years ago
Ben Hansen fb5c9fc8fe fixes #111 4 years ago
Ben Hansen 6f29ba738b fixes #108 4 years ago
sotrh 8e9ff17565
Merge pull request #103 from wozniak/patch-1
set_vertex_buffer doesn't expect a reference
4 years ago
sotrh 6fab63e809
Merge pull request #104 from kejor/tutorial5docs-missing-parameter-snippet
Add missing parameter on tutorial5 snippet
4 years ago
Kalle Huttunen 3396259576
Add note about the GLSL used 4 years ago