Skip to content

Commit

Permalink
Add raw_queue for d3d12 device
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaopengli89 authored and kvark committed Apr 16, 2022
1 parent 9743068 commit abdf1cd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions wgpu-hal/src/dx12/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit abdf1cd

Please sign in to comment.