538 B
538 B
D3D12CommandAllocator::D3D12CommandAllocator
D3D12CommandAllocator();
默认构造函数,创建一个未初始化的命令分配器实例。创建后需要调用 Initialize 进行初始化。
示例
D3D12CommandAllocator allocator;
// 此时 allocator 未初始化,需要调用 Initialize
allocator.Initialize(device);
相关文档
- D3D12CommandAllocator 总览 - 返回类总览
- D3D12CommandAllocator::Initialize - 初始化分配器