summaryrefslogtreecommitdiffstats
path: root/third_party/rust/d3d12/src/command_allocator.rs
blob: b50ec00d4a62d54bbd7d6c1c654a8e7f72af8e12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! 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();
        }
    }
}