Commit Graph

248 Commits

Author SHA1 Message Date
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
73aed6c6bd rustfmt 2020-09-27 23:24:43 -06:00
Ben Hansen
786ce2410c fixed config and readded missing tutorial11 2020-09-27 23:12:21 -06:00
Ben Hansen
ad5cd8e12f fixed #93 2020-09-27 22:52:35 -06:00
Ben Hansen
9b02850917 started threading 2020-09-25 21:27:38 -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
sotrh
03c8ce0a59
Merge pull request #91 from lberrymage/iter-once
Use std::iter::once for encoder queue submission
2020-09-21 15:09:31 -06:00
Ben Hansen
f947ac79c8 fixed read_buffer typo 2020-09-21 12:16:12 -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
e065fd7e33 updated news for 0.6 2020-09-19 16:04:10 -06:00
Ben Hansen
cb5cfd074f fixed #86 2020-09-19 15:49:05 -06:00
Ben Hansen
801ee97038 migrated gifs 2020-09-16 00:25:40 -06:00
Ben Hansen
8d5de2d87c migrated tutorial11 2020-09-14 12:53:22 -06: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
Ben Hansen
3ef4df6fd9 migrated tutorial1 and removed instancing examples 2020-08-20 13:26:44 -06:00
sotrh
5d1935aec4
Merge branch 'master' into vertex-use-macro 2020-08-20 13:06:54 -06:00
sotrh
dc847b99e2
Merge pull request #83 from rofrol/patch-5
frame data our -> frame data out
2020-08-20 13:02:31 -06:00
sotrh
9779c46b0b
Merge pull request #82 from rofrol/patch-4
break our your -> break out your
2020-08-20 13:00:55 -06:00
Roman Frołow
f066e57d1a
its Pong after all -> it's Pong after all 2020-08-18 17:07:57 +02:00
Roman Frołow
377d6c9489
frame data our -> frame data out 2020-08-18 17:02:55 +02:00
Roman Frołow
1fb960ffb1
break our your -> break out your
Probably this was intended.
2020-08-18 17:01:16 +02:00
Ben Hansen
3c4f8f9134 Merge branch 'master' into rework-instancing 2020-08-12 16:10:01 -06:00
Ben Hansen
540b03aded Merge branch 'master' of github.com:sotrh/learn-wgpu 2020-08-12 16:09:04 -06:00
Ben Hansen
a5c6b5ad48 finished instancing rewrite 2020-08-12 16:04:50 -06:00
Ben Hansen
0cd250d5fe started instancing examples 2020-08-11 13:17:14 -06:00
Hiroaki Yutani
0b4580ee19 Add a comment about TextureFormat for PNG 2020-08-09 13:02:21 +09:00
Alex Butler
429fd81286
Minor typo fix "now" -> "know" 2020-08-03 16:52:17 +01:00
Alex Butler
a03a57bb60
Fix some easy-win lints 2020-08-03 11:44:46 +01:00
Alex Butler
541f83f228
Remove mut queue usage in t5 2020-08-03 11:38:25 +01:00
Jan Prudil
36b44e4799
Don't use std::mem for one invocation 2020-07-30 17:36:10 +02:00
Jan Prudil
1dd4d8c694
Use vertex_attr_array 2020-07-30 17:28:46 +02:00
Jan Prudil
e4138f7973
Use vertex_attr_array 2020-07-30 17:23:33 +02:00
Jan Prudil
086c1b23c8
Use vertex_attr_array 2020-07-30 17:13:26 +02:00
Jan Prudil
4fd19939cf
Use vertex_attr_array 2020-07-30 17:10:50 +02:00
sotrh
5e9555d4f3
Merge pull request #72 from Gryff/master
Suggestion: Indent event loop code snippet in swapchain tutorial
2020-07-28 12:11:31 -06:00
sotrh
89fb9f8cf5
Merge pull request #73 from khionu/patch-1
Remove misleading section
2020-07-28 12:10:45 -06:00
Shane Handley
e20bbd7bbf Fix typo related to trait for external type. 2020-07-28 23:26:31 +10:00
Khionu Sybiern
139d2cc04d
Update README.md
Keep `set_vertex_buffer` function to not mislead readers into replacing it instead of supplement it
2020-07-26 22:50:44 -05:00
Gryff
6ba776c01e Fix typo 2020-07-26 21:49:30 +01:00
Gryff
bf20825d0d Indent code snippet for event loop in swap chain tutorial 2020-07-26 21:48:37 +01:00
Ben Hansen
252ca8b909 forgot github link, etc 2020-07-24 15:47:04 -06:00
Ben Hansen
0ae192f440 fixed missing screenshot 2020-07-24 15:36:50 -06:00
Ben Hansen
d6d6995066 finished camera changes 2020-07-24 13:24:45 -06:00
Ben Hansen
69ec7ba20b Merge branch 'master' of github.com:sotrh/learn-wgpu 2020-07-21 19:35:21 -06:00
Ben Hansen
1a6194556e working on fps camera 2020-07-21 19:35:10 -06:00
Alex G Rice
19c8c4a1e3 Clarify what the wgpu-rs's vulkan feature does on Mac OS and other platforms.
Closes #62
2020-07-06 17:26:38 -06:00
Ben Hansen
dfd96093e2 fixed #64 2020-07-01 18:51:09 -06:00
Ben Hansen
2ee06192ed fixed #65 2020-07-01 18:23:06 -06:00
Ben Hansen
a1e5f474eb fixed #67 2020-07-01 18:17:31 -06:00
Ben Hansen
168f78224f Merge branch 'cleanup' 2020-07-01 18:02:00 -06:00
Toniman20
29191eb76d
Fixed typo in beginner tutorial textures. 2020-06-27 15:17:31 +02:00
Ben Hansen
1a850cc1b1 started performance research 2020-06-21 00:49:43 -06:00
sotrh
9159a09a41
Merge pull request #60 from cedric-h/patch-2
Add an explanation of what entry_point means
2020-06-18 13:30:39 -06:00
Cedric Hutchings
36363d73f4
Add an explanation of what entry_point means
... you have no idea how much trouble this caused me
2020-06-16 10:00:44 -04:00
Hiroaki Yutani
c80c674dd5 Move the comment 2020-06-16 09:26:27 +09:00
Hiroaki Yutani
3d9edd9b3a
Add some explanations on tutorial11 2020-06-14 17:19:32 +09:00
sotrh
2eaf6a7ff0
Merge pull request #58 from yutannihilation/doc/add-description-about-img-to_rgba
Add a description about to_rgba()
2020-06-09 21:20:10 -06:00
Ben Hansen
4063cc49de fixed #46 2020-06-09 21:18:45 -06:00
Hiroaki Yutani
760ff67cd8 Add a description about to_rgba() 2020-06-09 22:19:43 +09:00
sotrh
856624f190
Merge pull request #53 from yutannihilation/patch-3
Fix a missing namespace and pub keyword in tutorial8
2020-06-07 12:50:18 -06:00
sotrh
6b90b5f7ae
Merge pull request #54 from yutannihilation/patch-4
Fix a broken link and a missing argument in tutorial9
2020-06-07 12:49:49 -06:00
sotrh
ad767c90d6
Merge pull request #57 from yutannihilation/patch-5
Improve tutorial 10
2020-06-07 12:49:09 -06:00
Hiroaki Yutani
5e0ecd91cf
Improve tutorial 10 2020-06-08 00:15:30 +09:00
Hiroaki Yutani
55d47396a4
Fix a broken link and a missing argument in tutorial9 2020-06-07 17:07:43 +09:00
Hiroaki Yutani
2e1c9a0620
Fix a missing namespace and pub keyword in tutorial8 2020-06-07 14:48:20 +09:00
Hiroaki Yutani
08dc0ff221
Fix some typos in tutorial7-instancing 2020-06-07 12:59:28 +09:00
sotrh
f163d92107
Merge pull request #49 from cedric-h/patch-1
grammar fixes
2020-06-02 17:10:30 -06:00
Ben Hansen
8461147ca0 fixed #44 fixed $48 2020-06-01 13:01:12 -06:00
Cedric Hutchings
500d84058b
Merge branch 'master' into patch-1 2020-06-01 14:55:57 -04:00