Tagged Questions
-2
votes
1answer
56 views
Does it matter where I initialize Directx11's shader constant buffer?
Should I initialize it before Map(), before Unmap() does it make no difference?
5
votes
1answer
559 views
Memory allocation strategy for the vertex buffers (DirectX 10/11)
I'm writing a CAD system. I have a 3D scene and there are many different objects (walls, doors, windows and so on). The user can add or delete objects.
The question is: How do I keep track of all the ...
4
votes
1answer
330 views
Per-vertex position/normal and per-index texture coordinate
In my game, I have a mesh with a vertex buffer and index buffer up and running. The vertex buffer stores a Vector3 for the position and a Vector2 for the UV coordinate for each vertex. The index ...