Commit Graph

65 Commits

Author SHA1 Message Date
sotrh
75948417e7
Merge pull request #257 from FrankenApps/shader-entrypoints
Name shader entry points differently.
2021-11-05 11:22:03 -06:00
Ferdinand Schäffler
bd46bdb243 Converted docs. 2021-10-27 13:17:40 +02:00
Pmimo
d26d61e4be
Update link to 0.11 docs.rs 2021-10-26 00:53:11 +02:00
Ben Hansen
7cc67f5678 migrated to 0.11 2021-10-08 18:40:29 -06:00
Kuroki Keiichiro
29a084b1b1 Update an explaining comment for its code
The code has been updated for wgpu-0.10 (`wgpu::TextureUsage::SAMPLED`
-> `wgpu::TextureUsages::TEXTURE_BINDING`), but its comment was not
updated at the same time.
2021-09-19 15:19:15 +09:00
Adrian Hornung
6654cae15b Fixed issue with code example was not ported to 0.10.x 2021-09-17 18:27:32 +02:00
Ben Hansen
5ddd876d4f Merge branch '0.10' 2021-09-11 15:35:21 -06:00
Ben Hansen
358ecb55af migrate tutorial5 docs 2021-09-11 10:42:13 -06:00
Ben Hansen
c0754f9dd3 migrated tutorial5 2021-09-11 10:37:05 -06:00
Ben Hansen
57d7eb763f migrated tutorial4 2021-09-11 10:19:15 -06:00
Ben Hansen
0f618a2ff8 migrated tutorial3 2021-09-11 10:10:18 -06:00
Ben Hansen
822f2d6191 started 0.10 2021-08-28 16:11:33 -06:00
Onirik79
cd5c440cc1
minor typo 2021-08-28 17:05:46 +02:00
Martino Fontana
2941cf7cd9 Updated dependencies where I can just change the number (not "tobj" and "gif") ("compute" can't start a trace) (didn't touch "pong" and "imgui-demo") 2021-08-04 16:25:23 +02:00
Martino Fontana
2c811f43a4 Truncated excessive float precision 2021-08-04 14:58:23 +02:00
Ben Hansen
12c7ba6de8 fixed #182 2021-07-20 17:48:23 -06:00
Ben Hansen
87c6fa9971 fixed #158 2021-07-20 17:25:47 -06:00
Joshua Barretto
12ba9bed0c Switched to pollster 2021-07-14 13:26:05 +01:00
Ben Hansen
0813fd03a4 Merge branch 'master' into 0.9 2021-06-28 09:24:39 -06:00
Rokonio
0f63cee02e
Update README.md
When the vertex class is updated, the `bytemuck`s trait were missing
2021-06-26 14:47:59 +02:00
Ben Hansen
b5ce220c2b upgraded to 0.9 2021-06-19 16:31:49 -06:00
Aevyrie
5cd42e231c
Missing qualifier 2021-06-06 10:32:38 -07:00
Aevyrie
c9003caa9f
ImageDataLayout change 2021-06-06 01:40:12 -07:00
Ben Hansen
2dd8d7bf82 fixes #176 2021-05-24 14:45:15 -06:00
Ben Hansen
f1c7536668 migrated tutorial 4 and 5 2021-05-18 20:38:15 -06:00
Ben Hansen
8e6e6e7092 fixed #174 2021-05-17 21:15:25 -06:00
Ben Hansen
46eb5eb139 code now builds on 0.8 2021-05-01 15:55:26 -06:00
sotrh
d8a861b515
Merge branch 'master' into cgmath-0.18 2021-04-18 19:36:12 -06:00
Hiroaki Yutani
24f565ee58 Update winit to 0.24 2021-04-16 00:28:55 +09:00
Hiroaki Yutani
7293547212 Bump cgmath version 2021-04-11 16:38:53 +09:00
Sergii Penner
597c37b8b1
Fix typo
Fixed typo 'upc close' -> 'up close'.
2021-04-02 20:10:18 -06:00
Hiroaki Yutani
b09302f23e Remove & from set_vertex_buffer() 2021-03-21 23:01:00 +09:00
Linden Krouse
f6f6fa29c4
Fixed some spelling and grammar errors 2021-03-08 17:28:27 -05:00
Ben Hansen
e3592e2809 migrated docs for tutorials 4-9 2021-02-18 21:30:18 -07:00
Ben Hansen
e7318530d4 migrated docs for tutorials 1-3 and cargo fmt 2021-02-18 20:56:47 -07:00
Ben Hansen
b4dd4654e4 intermediate tutorial code migrated 2021-02-13 01:30:42 -07:00
Ben Hansen
91879d405b code up to 7 migrated 2021-02-11 23:29:40 -07:00
Renato Caldas
e61b939889 Remove stray field 'colour' from State 2021-01-15 19:12:44 +00:00
sotrh
68e06ea4a4
Merge pull request #125 from dannyfritz/patch-1
Texture: BufferInitDescriptor fields.
2020-11-23 23:36:09 -07:00
Danny Fritz
4cd5491921
Texture: BufferInitDescriptor fields. 2020-11-22 08:43:15 -07:00
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
Ben Hansen
fb5c9fc8fe fixes #111 2020-10-19 15:05:28 -06: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
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
6827fb5572 migrated tutorial5 2020-09-05 13:46:15 -06:00
sotrh
5d1935aec4
Merge branch 'master' into vertex-use-macro 2020-08-20 13:06:54 -06:00