Files
wgpu/d3d12/src/command_allocator.rs
T
Erich Gubler 5663caa4a0 Add 'd3d12/' from commit '661dcee3f9b72c787b7aac33e4e492d9f887dc7b'
git-subtree-dir: d3d12
git-subtree-mainline: ca7ac86ccd
git-subtree-split: 661dcee3f9
2023-10-26 10:39:12 -04:00

15 lines
250 B
Rust

//! Command Allocator
use crate::com::ComPtr;
use winapi::um::d3d12;
pub type CommandAllocator = ComPtr<d3d12::ID3D12CommandAllocator>;
impl CommandAllocator {
pub fn reset(&self) {
unsafe {
self.Reset();
}
}
}