Timeline for Using a Vertex Buffer and DrawUserIndexedPrimitives?
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 2, 2013 at 7:36 | vote | accept | MattMcg | ||
Aug 1, 2013 at 22:36 | comment | added | MattMcg | Ah thats perfect then. I had no idea SetData was the GPU part and assumed SetVertexBuffer was the expensive part. Thanks, that makes more sense. | |
Aug 1, 2013 at 22:24 | comment | added | Blau | For each draw call you have to set the right vertex buffer... you should think that the vertex buffer is in gpu memory ... you only pass vertex to gpu memory when you call SetData, so set up the vertexbuffer in the device is relatively cheap | |
Aug 1, 2013 at 21:57 | comment | added | MattMcg | How would I use two Vertex buffers at once? I'm fairly new to 3D. Would I still be calling SetVertexBuffer every frame? | |
Aug 1, 2013 at 21:43 | history | undeleted | Blau | ||
Aug 1, 2013 at 21:43 | history | edited | Blau | CC BY-SA 3.0 |
added 24 characters in body
|
Aug 1, 2013 at 21:39 | history | deleted | Blau | via Vote | |
Aug 1, 2013 at 21:38 | history | undeleted | Blau | ||
Aug 1, 2013 at 21:37 | history | deleted | Blau | via Vote | |
Aug 1, 2013 at 21:35 | history | answered | Blau | CC BY-SA 3.0 |