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