Here is one example:
device.DrawUserPrimitives
Parameters:
1> Set primitive type as line list, it means the method is going to draw a line list.
2> VertexPositionColor array, it contains vertexes with colors.
3> offset
4> Primitive count, here is for line count.
No comments:
Post a Comment