I found this for DX11: https://msdn.microsoft.com/en-us/library/windows/desktop/bb232912
I am not sure how to use this with Dx12. It doesn't complain about the HLSL and I use:
m_commandList->IASetVertexBuffers(0, 0, nullptr);
and it compiles and runs, but still can't see my triangle.
Rest of the code shown in the link I don't know how to use it for Dx12.
↧