This topic is now archived and is closed to further replies.


Parameter for DrawUserPrimitives in C#

Recommended Posts

public void DrawUserPrimitives( PrimitiveType primitiveType, int primitiveCount, object vertexStreamZeroData ); suppose here is an array of vertices in system memory. someverticestruct[] vertices = ... I don''t know how to set the last parameter in DrawUserPrimitives, vertexStreamZeroData = ?

Share this post

Link to post
Share on other sites