Original Post
In my engine, I try to share VB whenever I can, I group vertices by FVF, but I''d like to go further and group vertices by size
ex: 32,36,40 ... (and so on) bytes vertices
Now imagine you have a vb with two types of vertices (two differents FVF) but of the same size.
The SDK doc talks about "FVF-VB" and "non-FVF VB", you can choose one or another when creating your VB.
At rendering time when setting vertexShader (fixed function)
with pDevice->SetVertexShader(someFVF), is it possible to render vertices from a non-FVF VB ?
My english sucks a lot today cause I''m tired
, so If it''s not a clear question, don''t hesitate to be more precise.
Thanks