Namespace: Microsoft.Xna.Framework.GraphicsAssembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
public void DrawUserPrimitives<T> ( PrimitiveType primitiveType, T[] vertexData, int vertexOffset, int primitiveCount ) where T : ValueType
One of the following conditions is true:
This method is intended for use when drawing dynamic geometry specified by the user. It supports only a single vertex stream. The effect of this call is to use the provided vertex data pointer and stride for vertex stream 0. It is invalid to have the declaration of the current vertex shader refer to vertex streams other than stream 0.
The vertex data passed to DrawUserPrimitives does not need to persist after the call. Access to the data is completed before returning from the call.