d3d12 22.0.0

Low level D3D12 API wrapper
Documentation
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();
        }
    }
}