Add raw_queue for d3d12 device

This commit is contained in:
xiaopengli89 2022-04-15 16:29:32 +08:00 committed by Dzmitry Malyshau
parent 9743068b43
commit abdf1cd741

View File

@ -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,