Problem with DrawIndexedPrimitive
Here is the DrawIndexedPrimitive description given by the SDK documentation.
HRESULT DrawIndexedPrimitive(
D3DPRIMITIVETYPE Type,
INT BaseVertexIndex,
UINT MinIndex,
UINT NumVertices,
UINT StartIndex,
UINT PrimitiveCount
);
The SDK description is very brief with only 1 sentence of description.
Can anyone explain in greater details on what is BaseVertexIndex and MinIndex? I have no idea what values to pass in for these 2 parameters.
Don't worry, you aren't alone. I doubt there is a person alive that could understand those docs without help (or lots of trial and error). I'm surprised MS hasn't fixed them by now.
In the August SDK, there is a section titled "Rendering from Vertex and Index Buffers" that FINALLY explains how to use DIP. It's about damn time, I say.
neneboricua
neneboricua
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement