Commit Graph

149 Commits

Author SHA1 Message Date
Kane Rogers
21e455c668
Update to reflect sorth's suggestions
- Add `diffuse_texture` to `texture::Texture` in `State` at the end of the tutorial.
2020-11-22 21:08:34 +11:00
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.
2020-11-20 19:44:10 +11:00
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.
2020-11-20 19:14:27 +11:00
Samuel Hurel
936082fafc Minor changes 2020-10-31 12:34:24 +01:00
sotrh
8f5215963a
Merge pull request #113 from pudnax/link_typo
Fixed the link to zip file
2020-10-21 17:09:21 -06:00
Alex Komissarov
c42e07bb7d
Clean probably missed stuff from '0.5 -> 0.6' 2020-10-21 01:52:11 +05:00
Alex Komissarov
e5a5d6d66c
Fixed the link to zip file 2020-10-21 01:34:06 +05:00
Ben Hansen
fb5c9fc8fe fixes #111 2020-10-19 15:05:28 -06:00
Ben Hansen
6f29ba738b fixes #108 2020-10-17 14:51:41 -06:00
sotrh
8e9ff17565
Merge pull request #103 from wozniak/patch-1
set_vertex_buffer doesn't expect a reference
2020-10-09 15:11:12 -06:00
sotrh
6fab63e809
Merge pull request #104 from kejor/tutorial5docs-missing-parameter-snippet
Add missing parameter on tutorial5 snippet
2020-10-09 15:10:47 -06:00
Kalle Huttunen
3396259576
Add note about the GLSL used 2020-10-09 21:35:34 +03:00
kejor
5572e36e0c
Adding missing parameter on tutorial5 snippet
Added parameter `&queue` to `texture::Texture::from_bytes` call.
2020-10-08 20:33:02 -05:00
matthew
64fa3c9017
more 2020-10-08 20:15:01 -04:00
matthew
6cb43e8e61
set_vertex_buffer doesn't expect a reference 2020-10-08 20:04:56 -04:00
Alan Kemp
909c2debfc DeviceExt is now in a util namespace 2020-10-08 22:20:10 +01:00
Rubick
5a45a9c5ce
Merge branch 'master' into master 2020-10-06 20:08:45 +08:00
sotrh
4377ca102f
Merge pull request #98 from kanerogers/patch-1
Add `use` statement for DeviceExt
2020-10-05 21:28:01 -06:00
sotrh
c0e8174dbf
Merge pull request #99 from fraserli/master
Fix typos
2020-10-05 21:02:34 -06:00
sotrh
cb06098bec
Merge pull request #100 from kunalarya/patch-1
Minor copy editing of instancing docs.
2020-10-05 21:01:00 -06:00
Alec Goncharow
836b38d827
Update README.md
minor typo fix, streen -> screen
2020-10-04 23:43:46 -04:00
Alec Goncharow
944a568eb9
Update README.md
655828f88f changed the name of the `vulkan` feature to `vulkan-portability`
2020-10-04 23:42:31 -04:00
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 :)
2020-10-04 11:42:05 -07:00
Fraser Li
071f4b3f4f
Fix typos 2020-10-04 20:25:46 +11:00
Kane Rogers
5f89b92651
Add use statement for DeviceExt
I tripped over this one while following along with the tutorial. I added a little link to extension traits as I'm aware the audience of this tutorial may not be familiar with them.

Please feel free to rewrite/throw out any of my copy as you see fit.  😄 

Thanks again for this phenomenal tutorial!
2020-10-04 19:30:16 +11:00
Rubick
97df7faea8
fix typo 2020-09-30 16:31:37 +08:00
okaneco
468a425f78 Fix typos and update Beginner tutorials 2, 3
Tutorial 2 - Swapchain
  - Update `get_next_texture` to `get_current_frame`
  - Fix typos
Tutorial 3 - Pipeline
  - Add updated fields to `PipelineLayout` creation
Fix typos in News
2020-09-28 12:17:49 -04:00
Ben Hansen
ad5cd8e12f fixed #93 2020-09-27 22:52:35 -06:00
Ben Hansen
09fe8b9f91 added link to gifs showcase in tutorial5 2020-09-25 15:57:57 -06:00
Ben Hansen
4acb2d60c1 missed ops in tutorial2 2020-09-23 15:56:34 -06:00
Ben Hansen
9d15abf7ee fixing issues in tutorial3 for #92 2020-09-23 15:38:01 -06:00
Ben Hansen
2ab37aa9b7 some fixes 2020-09-22 16:00:46 -06:00
lberrymage
fa418b2c60
Use std::iter::once for encoder queue submission
`std::iter::once` is more idiomatic for passing single-value iterators
than Some(value), and it's even intended for this case according to the
docs.
2020-09-19 22:17:36 -08:00
Ben Hansen
03b1b64e55 migrated tutorial10 2020-09-11 16:19:26 -06:00
Ben Hansen
a92dd32106 forgot a note about OUT_DIR 2020-09-11 16:11:11 -06:00
Ben Hansen
02921f7ffa migrated tutorial9 2020-09-11 16:05:09 -06:00
Ben Hansen
7274f37019 migrated tutorial8 2020-09-10 20:50:51 -06:00
Ben Hansen
f1d43b9829 env_logger::init() 2020-09-09 20:48:08 -06:00
Ben Hansen
5e4324d0ce env_logger 2020-09-08 00:42:52 -06:00
Ben Hansen
1e8a6ba0a5 migrated tutorial7 2020-09-05 16:45:52 -06:00
Ben Hansen
75d92c523c migrated tutorial6 2020-09-05 15:54:07 -06:00
Ben Hansen
6827fb5572 migrated tutorial5 2020-09-05 13:46:15 -06:00
Ben Hansen
e9e325459d using anyhow instead of failure 2020-08-29 15:22:06 -06:00
Ben Hansen
3f2607e663 forgot some stuff 2020-08-28 19:59:04 -06:00
Ben Hansen
0fbb71efb6 migrated tutorial4 2020-08-28 19:47:16 -06:00
Ben Hansen
08fa40dccc changed tutorial3 to use build script and migrated doc to 0.6 2020-08-24 13:34:37 -06:00
Ben Hansen
50a6a7d7e6 migrated tutorial2 2020-08-22 14:53:07 -06:00
Ben Hansen
b3b43dbef2 migrated tutorial1 docs 2020-08-20 13:27:51 -06:00
sotrh
5d1935aec4
Merge branch 'master' into vertex-use-macro 2020-08-20 13:06:54 -06:00
Ben Hansen
3c4f8f9134 Merge branch 'master' into rework-instancing 2020-08-12 16:10:01 -06:00