• Member for 7 years, 5 months
  • Last seen more than a week ago
How does Direct3D know if a constant buffer is for the vertex or pixel shader?
6 votes

VSSetConstantBuffers stands for VertexShaderSetConstantBuffers. Hence you also got PSSetConstantBuffers for the pixel shader.

View answer
How to create a native windows menu / ribbon for a DirectX 11 app
Accepted answer
1 votes

For CoCreateInstance to work you need to prepare the call with either CoInitialize or CoInitializeEx function. CoInitialize function Initializes the COM library on the current thread and ...

View answer
How to design programatically a game map like Risk?
0 votes

I think you would have to manually define which zones are neighbouring each other - unless you can programmatically parse your map to figure this out automatically. For example with a class attribute ...

View answer