blob: fc2730b8adfa542c7e8e001d5ac3854c6d98cac2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//! Command Allocator
use com::WeakPtr;
use winapi::um::d3d12;
pub type CommandAllocator = WeakPtr<d3d12::ID3D12CommandAllocator>;
impl CommandAllocator {
pub fn reset(&self) {
unsafe {
self.Reset();
}
}
}
|