mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 23:04:07 +00:00
Add raw_queue for d3d12 device
This commit is contained in:
parent
9743068b43
commit
abdf1cd741
@ -290,6 +290,10 @@ impl super::Device {
|
||||
&self.raw
|
||||
}
|
||||
|
||||
pub fn raw_queue(&self) -> &native::CommandQueue {
|
||||
&self.present_queue
|
||||
}
|
||||
|
||||
pub unsafe fn texture_from_raw(
|
||||
resource: native::Resource,
|
||||
format: wgt::TextureFormat,
|
||||
|
Loading…
Reference in New Issue
Block a user