batching qn

Started by
1 comment, last by jollyjeffers 18 years ago
hi! if i got 2 vertex buffers, is there a way to have a draw call that uses both of them? thx! Edwin
Advertisement
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.
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 | MVP Profile | Developer Journal ]</small>

This topic is closed to new replies.

Advertisement