directx12中vetex buffer、index buffer和constant buffer绑定piple line的时机时间:2023-03-09 01:42:20 类别 时机 函数 建Heap vetex buffer 在Draw函数中 ID3D12GraphicsCommandList::IASetVertexBuffer 否 index buffer 在Draw函数中 ID3D12GraphicsCommandList::IASetIndexBuffer 否 constant buffer 在Draw函数中 ID3D12GraphicsCommandList::SetGraphicsRootSignature 是