mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 14:01:08 +01:00
git-subtree-dir: d3d12 git-subtree-mainline:ca7ac86ccdgit-subtree-split:661dcee3f9
15 lines
250 B
Rust
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();
|
|
}
|
|
}
|
|
}
|