mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-24 16:31:11 +01:00
Add raw_adapter method for dx12 hal adapter (#2714)
This commit is contained in:
1 parent
9e3cd08e59
commit
46420212d7
1 file changed
+4
@@ -41,6 +41,10 @@ impl super::Adapter {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn raw_adapter(&self) -> &native::DxgiAdapter {
|
||||
&self.raw
|
||||
}
|
||||
|
||||
#[allow(trivial_casts)]
|
||||
pub(super) fn expose(
|
||||
adapter: native::DxgiAdapter,
|
||||
|
||||
Reference in new issue
Block a user