disdamoe
c736467db4
suggested changes
2 years ago
ikopysov
e43a744b5a
Removed "pollster" from tutorial1-window readme.
...
It seems that in #345 pollster was removed from the example, but not from the code in the page.
This change removes it from the code in the tutorial, so it will work just by pasting it in the editor.
2 years ago
disdamoe
03e905cc4d
Fixed accidental indentation change
2 years ago
disdamoe
33bd66e368
docs for tutorials 1-9: typos, references to `main.rs` supposed to be to `lib.rs`, and readability changes
2 years ago
sotrh
d99a4f7d15
Merge pull request #346 from kneasle/indentation-fixes
...
Fix indentation
3 years ago
Ben Hansen
a595bccaf9
Merge branch 'master' of github.com:sotrh/learn-wgpu
3 years ago
Ben Hansen
8bbdb09c67
fixes #278
3 years ago
Ben Hansen
0cb0b273c3
fixes #345
3 years ago
Kneasle
964ad9307b
Fix indentation
...
In beginner chapter 9 'Model Loading', the `fn format_url(...)` line was
unnecessarily indented. This PR also makes some minor reformatting
(presumably caused by changes to `rustfmt`).
3 years ago
sotrh
b037cb7bc8
Merge pull request #340 from 8picoz/feature/tobj_version
...
fix tobj version
3 years ago
Ben Hansen
1b0ce54080
fixes #330
3 years ago
Ben Hansen
3541cdb76b
fixes #333
3 years ago
tata
e100c4052c
fix tobj version
3 years ago
Ben Hansen
ef6ec265d8
Merge branch 'master' into web2
3 years ago
Yifeng Wang
cdf0b152b1
fix typo
3 years ago
Ben Hansen
0a28699d00
web examples working with vuepress
3 years ago
Ben Hansen
c269f46a0e
testing some things
3 years ago
Ben Hansen
b8b8444030
fixing some readme files and migrating the lighting code
3 years ago
Ben Hansen
6324e485f1
tutorials 1-9 now work with wasm
3 years ago
Rokonio
2b9e09d19d
Fix a typo
3 years ago
sotrh
eed8f014c2
Merge pull request #309 from jeffawang/remove-block-note
...
tut6: remove sentence about block decorator
3 years ago
Marian Cichy
f17d27dabd
docs: surface: change frame.view to view
...
`frame.view` does not exist in the whole tutorial and is probably a remant
from older versions. The text is actually referring to `view`
3 years ago
Jeff Wang
ed632adec8
tut6: remove sentence about block decorator
3 years ago
Ben Hansen
3492bb703f
working on tutorial9
3 years ago
Ben Hansen
16d82909e3
adjusted indent on tutorial2
3 years ago
Ben Hansen
2bb9be1660
tutorials 2-8 now have working web examples
3 years ago
Ben Hansen
1e5a88fbee
fixes #289
3 years ago
Ben Hansen
a6f6a492e7
tutorial1 now has a web example
3 years ago
sotrh
2ee7e082fa
Merge pull request #305 from yutannihilation/doc/const-vertex_attr_array
...
Add one more advice about vertex_attr_array! macro
3 years ago
sotrh
ed202350b6
Added code example directly
...
I added this in case the link breaks.
3 years ago
sotrh
4b837c08de
Merge pull request #304 from yutannihilation/remove-padding-indices
...
Remove a padding in INDICES
3 years ago
Hiroaki Yutani
4368358033
Add one more advice about vertex_attr_array! macro
3 years ago
Hiroaki Yutani
c06e1365cb
Tweak description
3 years ago
Hiroaki Yutani
8c6c491b11
Remove padding in INDICES
3 years ago
sotrh
46e8e882d4
Merge pull request #302 from yutannihilation/remove-is-updown-pressed
...
Remove is_{up,down}_pressed
3 years ago
sotrh
3665859639
Merge pull request #301 from rhysd/fix-tutorial-7
...
Remove unused constant `NUM_INSTANCES`
3 years ago
Hiroaki Yutani
47d822865e
Update the description about WGSL
3 years ago
Hiroaki Yutani
72446bc9ee
Remove is_{up,down}_pressed
3 years ago
rhysd
bd3ad57387
fix typo
3 years ago
rhysd
853d44e257
remove unused constant `NUM_INSTANCES`
3 years ago
sotrh
e760f9f50c
Merge pull request #287 from rhysd/fix-typos
...
Fix some typos
3 years ago
sotrh
48c38de653
Merge pull request #290 from TonalidadeHidrica/fix-typo
...
Fix typos
3 years ago
sotrh
e33b8ab911
Merge pull request #292 from rhysd/old-field-name
...
Fix old field name
3 years ago
sotrh
8876f93c3d
Merge pull request #293 from rhysd/fix-tutorial-5
...
Fix `wgpu::SamplerBindingType` is now parameter of `wgpu::BindingType::Sampler`
3 years ago
sotrh
d5074ecb79
Merge pull request #298 from yutannihilation/doc/include_wgsl
...
Mention include_wgsl!
3 years ago
Hiroaki Yutani
2dcbfbe01e
Mention include_wgsl!
3 years ago
Hiroaki Yutani
6224fe670f
Link to the latest wgpu's docs
3 years ago
rhysd
c81dfd34ba
fix `wgpu::SamplerBindingType` is now parameter of `wgpu::BindingType::Sampler`
3 years ago
rhysd
5d0f4ec636
fix old field name
...
`rasterization_state` is an old field name of
`wgpu::RenderPipelineDescriptor`
3 years ago
TonalidadeHidrica
125353a710
Fix typo: know -> known
3 years ago
TonalidadeHidrica
083d8f0640
Fix typo: were -> where
3 years ago
rhysd
54121a5c54
fix some typos
3 years ago
Ben Hansen
c0843b3f92
fixes #285
3 years ago
Ben Hansen
611b299072
missed multiview in tutorial3
3 years ago
Ben Hansen
ef72161771
Merge branch 'master' of github.com:sotrh/learn-wgpu
3 years ago
Ben Hansen
4ae6c3f89f
added 0.12.md and examples now compile
3 years ago
Ben Hansen
2073b0fbc1
updated to 0.12
3 years ago
Niklas Eicker
064a0a5efd
Some small fixes for beginner tutorials 1 to 5
3 years ago
Marek Fajkus
f0b3e72740
suggest clarification
3 years ago
Marek Fajkus
88209a1650
few more
3 years ago
Marek Fajkus
0c9236000a
few more fixes
3 years ago
Marek Fajkus
75c9d21fa0
more fixes
3 years ago
Marek Fajkus
7cb3cc9ddc
improve wording in beginner/tutorial2-surface
3 years ago
Josh015
110743247f
Whoops
3 years ago
Josh015
a90a168280
Fixed flipped tex_coords in tutorial5-textures
3 years ago
sotrh
aa204f2178
Merge pull request #266 from nxsy/cgmath-prelude-import
...
Add cgmath prelude import in tutorial 7
3 years ago
sotrh
be7aa893d6
Merge pull request #267 from nxsy/tutorial9-rgba-as-reference
...
Provide explanation why rgba is no longer a reference
3 years ago
sotrh
fc9d31f87c
Merge pull request #268 from nxsy/tutorial9-import-trait
...
Explain why model::Vertex needs to be imported in tutorial 9
3 years ago
Neil Blakey-Milner
85fa2ccea9
Simplify the bind_group flow in tutorial 9
3 years ago
Neil Blakey-Milner
0821b6fd9a
Explain why model::Vertex needs to be imported in tutorial 9
3 years ago
Neil Blakey-Milner
02e99b66ab
Provide explanation why rgba is no longer a reference
3 years ago
Neil Blakey-Milner
f9cfd79d95
Add cgmath prelude import in tutorial 7
3 years ago
sotrh
b0d9ac3245
Merge pull request #261 from Paulo-21/patch-1
...
Update docs.rs link to 0.11.0
3 years ago
Arif Driessen
f0035b6b9b
Remove redundant 'NEW' comment from label
...
PipelineLayoutDescriptor already has its label set when we get to this point in the tutorial.
(It's set at docs/beginner/tutorial3-pipeline/README.md, line 154)
3 years ago
Arif Driessen
87c380517d
small typo
3 years ago
Pmimo
d9ef1e241e
Update docs.rs link to 0.11.0
3 years ago
sotrh
75948417e7
Merge pull request #257 from FrankenApps/shader-entrypoints
...
Name shader entry points differently.
3 years ago
sotrh
667d7c16d9
Merge pull request #259 from arifd/master
...
Rust resolver 2 default in 2021 edition
3 years ago
sotrh
d4f5429bbb
Merge pull request #256 from PhilipK/fix-typo-tutorial2
...
Fix typo in tutorial2-surface README.md
3 years ago
Arif Driessen
6042b6e821
Update README.md
3 years ago
Ferdinand Schäffler
bd46bdb243
Converted docs.
3 years ago
Philip Kristoffersen
f31af2d2cb
Fix typo in tutorial2-surface README.md
...
Add a missing "to"
3 years ago
Pmimo
d26d61e4be
Update link to 0.11 docs.rs
3 years ago
laalsaas
297923e578
fix typo kronos to khronos
3 years ago
Ben Hansen
e0e52584a6
fixed pong for 0.11
3 years ago
Ben Hansen
7cc67f5678
migrated to 0.11
3 years ago
sotrh
e15fc946ac
Merge pull request #242 from PAUL-BERNARD/master
...
Fix some typos
3 years ago
sotrh
b40fbb6121
Merge pull request #243 from chrisboyce/chrisboyce-tut2-fix
...
No "first()" method on Iterator
3 years ago
sotrh
ff43b83a89
Merge pull request #244 from SuperSamus/master
...
model.rs: added "_bind_group" where appropriate
3 years ago
Spencer Imbleau
172a65ad72
Fixed typo: BackendBit::Primary is from a previous version
3 years ago
Martino Fontana
11b24cebc5
model.rs: added "_bind_group" where appropriate
3 years ago
Chris Boyce
bb32dbdb52
No "first()" method on Iterator
...
As far as I can tell looking at the docs, there is no "first" method for the Iterator trait, but I believe "next" accomplishes getting the first item in this instance.
3 years ago
Paul BERNARD
1dad054540
typos
3 years ago
Fabian Kloiber
6546507acf
Fix wording
...
Remove duplicate "the" and shuffle some words around
3 years ago
Fabian Kloiber
85857948bf
Update field name `attachment`
...
In the section on `RenderPassColorAttachment` the text uses the old name `attachment` for the field which now is called `view`.
3 years ago
Fabian Kloiber
da913a90af
Update link to wgpu docs
...
Link to `wgpu::Limits` pointed to old version 0.7
3 years ago
Ben Hansen
778a7d907b
fixed #239
3 years ago
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.
3 years ago
sotrh
bba4376e34
Merge pull request #233 from rukai/env_logger
...
Add section on why env_logger is needed
3 years ago
sotrh
c013b28f59
Merge pull request #234 from chrisboyce/master
...
Fixed mask field name in text
3 years ago