465 B
465 B
D3D12CommandList::Initialize
初始化命令列表。
bool Initialize(ID3D12Device* device, CommandQueueType type = CommandQueueType::Direct, ID3D12CommandAllocator* allocator = nullptr);
参数:
device- DirectX 12 设备指针type- 命令队列类型,默认为 Directallocator- 可选的命令分配器
返回: bool - 初始化成功返回 true