PrimitiveTypeいろいろ
「男は黙ってナマポリゴン」で使用していたプリミティブタイプの他にどのような物があるのか説明をしたいと思います。
■PrimitiveType.PointList
graphics.GraphicsDevice.DrawUserPrimitives<VertexPositionColor>( PrimitiveType.PointList, // プリミティブタイプ vertices, // 頂点バッファ先 0, // 5 ); // 頂点数
graphics.GraphicsDevice.DrawUserPrimitives<VertexPositionColor>( PrimitiveType.LineList, // プリミティブタイプ vertices, // 頂点バッファ先 0, // 4 ); // 頂点数 / 2
graphics.GraphicsDevice.DrawUserPrimitives<VertexPositionColor>( PrimitiveType.LineStrip, // プリミティブタイプ vertices, // 頂点バッファ先 0, // 5 ); // 頂点数 - 1
graphics.GraphicsDevice.DrawUserPrimitives<VertexPositionColor>( PrimitiveType.TriangleList, // プリミティブタイプ vertices, // 頂点バッファ先 0, // 3 ); // 頂点数 / 3
graphics.GraphicsDevice.DrawUserPrimitives<VertexPositionColor>( PrimitiveType.TriangleStrip,// プリミティブタイプ vertices, // 頂点バッファ先 0, // 4 ); // 頂点数 - 2
graphics.GraphicsDevice.DrawUserPrimitives<VertexPositionColor>( PrimitiveType.TriangleFan, // プリミティブタイプ vertices, // 頂点バッファ先 0, // 4 ); // 頂点数 - 2