PrimitiveTypeいろいろ

「男は黙ってナマポリゴン」で使用していたプリミティブタイプの他にどのような物があるのか説明をしたいと思います。
■PrimitiveType.PointList

graphics.GraphicsDevice.DrawUserPrimitives<VertexPositionColor>( 
    PrimitiveType.PointList,    // プリミティブタイプ
    vertices,                   // 頂点バッファ先
    0,                          //
    5 );                        // 頂点数

■PrimitiveType.LineList

graphics.GraphicsDevice.DrawUserPrimitives<VertexPositionColor>( 
    PrimitiveType.LineList,     // プリミティブタイプ
    vertices,                   // 頂点バッファ先
    0,                          //
    4 );                        // 頂点数 / 2

■PrimitiveType.LineStrip

graphics.GraphicsDevice.DrawUserPrimitives<VertexPositionColor>(
    PrimitiveType.LineStrip,    // プリミティブタイプ
    vertices,                   // 頂点バッファ先
    0,                          //
    5 );                        // 頂点数 - 1

■PrimitiveType.TriangleList

graphics.GraphicsDevice.DrawUserPrimitives<VertexPositionColor>(
    PrimitiveType.TriangleList, // プリミティブタイプ
    vertices,                   // 頂点バッファ先
    0,                          //
    3 );                        // 頂点数 / 3

■PrimitiveType.TriangleStrip

graphics.GraphicsDevice.DrawUserPrimitives<VertexPositionColor>(
    PrimitiveType.TriangleStrip,// プリミティブタイプ
    vertices,                   // 頂点バッファ先
    0,                          //
    4 );                        // 頂点数 - 2

■PrimitiveType.TriangleFan

graphics.GraphicsDevice.DrawUserPrimitives<VertexPositionColor>(
    PrimitiveType.TriangleFan,  // プリミティブタイプ
    vertices,                   // 頂点バッファ先
    0,                          //
    4 );                        // 頂点数 - 2