I'm new to direct X and needs some help. I have a few questions based around some code I wrote to draw triangles to make up multiple quads.
Here is the code for the render and some inits on direct X
I was wondering if anyone can tell me:
1. If I turn off culling mode it draws my 4 triangles (2 quads). Why does this work only if culling mode is off? Am I doing something wrong?
2. If I load a texture will I be able to draw the texture properly? I mean will the texture be handled correctly by the triangles?
3. Is this the right way to draw quads? Should I call draw using trianglelist based on a vertexBuffer that has all my vertexes I need or something else? In the end I would like to use the quads as sprites for a 2d game.