mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
Add raw_adapter method for dx12 hal adapter (#2714)
This commit is contained in:
@@ -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