Skip to main content
gamedev.net
🔒 Locked

batching qn

Started by edwinnie Apr 3, 2006 at 3:54 AM 1 replies 500+ views
Original Post
edwinnie
edwinnie
hi! if i got 2 vertex buffers, is there a way to have a draw call that uses both of them? thx! Edwin
BornToCode
BornToCode
The Only Possible way i would think you could do something like that is by Instancing. Otherwise you will have to do two calls. One for each vertex buffers.
jollyjeffers
jollyjeffers
You could append them together and draw them as a single call, but other than that I think you're out of luck.

The input assembler can access data from multiple streams (stream = vertex buffer), but all elements in the composed stream must take the same format. It's designed to mix multiple buffers rather than append...

If you give us some more context/information to work with, we might be able to suggest something.

hth
Jack
<hr align="left" width="25%" />
Jack Hoxley <small>[</small><small> Forum FAQ | Revised FAQ |

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.