Can streams be used this way?

Started by
1 comment, last by noatom 10 years, 7 months ago

I'm talking about dx 9 here.

Assume you have 2 vertex buffers,each containing 4 vertices.

You bind buffer 1 to stream 0,buffer 2 to stream 1.

Then you have an index buffer that contains indices that make use of a TOTAL OF 8 vertices.

Could you bind the index buffer,so it uses the indices on both stream 0 and stream 1?

If it works,then indice 0 means the first vertex in stream 0 or stream 1?

Advertisement

No, you can't do that. Both streams must have enough vertices for the highest index in the index buffer

ok,thanks

This topic is closed to new replies.

Advertisement