Skip to content

Commit 6e87f68

Browse files
N26: Learn Wgpu (#807)
Co-authored-by: Joe Clay <[email protected]>
1 parent 674451e commit 6e87f68

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

content/news/026/index.md

+13
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,19 @@ If you don't, you can still read [the slides][dan-olson-slides].
473473
[gdc-vault-video]: https://gdcvault.com/play/1027315
474474
[dan-olson-slides]: https://research.activision.com/publications/2021/09/the-rust-programming-language-for-game-tooling
475475

476+
### [Learn Wgpu][learn-wgpu] Updated: No More Swap Chains!
477+
478+
As part of the update to 0.10, the wgpu team removed the `SwapChain` from the
479+
API. The `Surface` will now be used to retrieve textures to render to wrapped
480+
in `SurfaceTexture`s. You configure the `Surface` in a similar way to how you
481+
would configure the `SwapChain`, except the struct is now called
482+
`SurfaceConfiguration` instead of `SwapChainDescriptor`.
483+
484+
If you want to know more, you can check [the tutorial's news page][learn-wgpu-news].
485+
486+
[learn-wgpu]: https://sotrh.github.io/learn-wgpu
487+
[learn-wgpu-news]: https://sotrh.github.io/learn-wgpu/news
488+
476489
## Tooling Updates
477490

478491
### [Borderlands 3 Save Editor][borderlands-save-github]

0 commit comments

Comments
 (0)