Commit Graph

513 Commits (ed34bbfbce2c25b5521c8bca8b0410fb4ce86590)
 

Author SHA1 Message Date
Kane Rogers 58618be013
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 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 aa773303df cargo fmt 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
Ben Hansen df1d2c412f applied change to main tutorials 4 years ago
Ben Hansen eee5c32f8f started #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
sotrh 38adad1421
Merge pull request #118 from IcanDivideBy0/minor_changes
Minor changes
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
sotrh 06e7818e7a
Merge pull request #115 from pudnax/light_layout_typo
Light layout typo
4 years ago
sotrh ce3c64aea7
Merge pull request #114 from pudnax/depth_typo
Clean probably missed stuff from '0.5 -> 0.6'
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
sotrh ac97d4ce1f
Merge pull request #105 from khuttun/patch-1
Add note about the GLSL used
4 years ago
Kalle Huttunen 3396259576
Add note about the GLSL used 4 years ago
kejor 5572e36e0c
Adding missing parameter on tutorial5 snippet
Added parameter `&queue` to `texture::Texture::from_bytes` call.
4 years ago
matthew 64fa3c9017
more 4 years ago
matthew 6cb43e8e61
set_vertex_buffer doesn't expect a reference 4 years ago
sotrh 51d3a9a0ac
Merge pull request #102 from alankemp/update_use_wgpu_DeviceExt
DeviceExt is now in a util namespace
4 years ago
Alan Kemp 909c2debfc DeviceExt is now in a util namespace 4 years ago
sotrh 5edf594fa1
Merge pull request #96 from Deadalusmask/master
fix typo
4 years ago
Rubick 5a45a9c5ce
Merge branch 'master' into master 4 years ago
sotrh 4377ca102f
Merge pull request #98 from kanerogers/patch-1
Add `use` statement for DeviceExt
4 years ago
sotrh c0e8174dbf
Merge pull request #99 from fraserli/master
Fix typos
4 years ago
sotrh cb06098bec
Merge pull request #100 from kunalarya/patch-1
Minor copy editing of instancing docs.
4 years ago
sotrh 7241db074f
Merge pull request #101 from AlecGoncharow/master
Update `vulkan` feature to `vulkan-portability` and fix small typo in swapchain
4 years ago
Alec Goncharow 836b38d827
Update README.md
minor typo fix, streen -> screen
4 years ago
Alec Goncharow 944a568eb9
Update README.md
655828f88f changed the name of the `vulkan` feature to `vulkan-portability`
4 years ago
kunalarya a7083eecee
Minor copy editing of instancing docs.
Thanks for writing this tutorial! It's been a very helpful resource! I made some very minor edits -- feel free to reject any of them :)
4 years ago
Fraser Li 071f4b3f4f
Fix typos 4 years ago