438 B
438 B
D3D12CommandAllocator::IsReady
bool IsReady() const;
检查命令分配器是否准备就绪。
示例
D3D12CommandAllocator allocator;
if (allocator.Initialize(device)) {
if (allocator.IsReady()) {
// 分配器就绪可以使用
}
}
返回: 分配器是否准备就绪
复杂度: O(1)
相关文档
- D3D12CommandAllocator 总览 - 返回类总览