We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f4edb1 commit 0ac2da4Copy full SHA for 0ac2da4
CHANGELOG.md
@@ -201,6 +201,7 @@ By @cwfitzgerald in [#8609](https://github.com/gfx-rs/wgpu/pull/8609).
201
#### Metal
202
203
- Add support for mesh shaders. By @SupaMaggie70Incorporated in [#8139](https://github.com/gfx-rs/wgpu/pull/8139)
204
+- Expose render layer. By @xiaopengli89 in [#8707](https://github.com/gfx-rs/wgpu/pull/8707)
205
206
#### Naga
207
wgpu-hal/src/metal/surface.rs
@@ -50,6 +50,10 @@ impl super::Surface {
50
Self::new(layer.to_owned())
51
}
52
53
+ pub fn render_layer(&self) -> &Mutex<metal::MetalLayer> {
54
+ &self.render_layer
55
+ }
56
+
57
/// Get or create a new `CAMetalLayer` associated with the given `NSView`
58
/// or `UIView`.
59
///
0 commit comments