类别 | 时机 | 函数 | 建Heap |
vetex buffer | 在Draw函数中 | ID3D12GraphicsCommandList::IASetVertexBuffer | 否 |
index buffer | 在Draw函数中 | ID3D12GraphicsCommandList::IASetIndexBuffer | 否 |
constant buffer | 在程序初始化时 | ID3D12Device::CreateConstantBufferView | 是 |
directx12中vetex buffer、index buffer和constant buffer绑定piple line的时机
原文:http://www.cnblogs.com/ptolemaeus/p/6012224.html