Project/01 - MonoGame/MonoGame.Framework/Graphics/GraphicsDevice.cs
/// <summary>
/// Draw geometry by indexing into the vertex buffer.
/// </summary>
/// <param name="primitiveType">The type of primitives in the index buffer.</param>
/// <param name="baseVertex">Used to offset the vertex range indexed from the vertex buffer.</param>
/// <param name="minVertexIndex">This is unused and remains here only for XNA API compatibility.</param>
/// <param name="numVertices">This is unused and remains here only for XNA API compatibility.</param>
/// <param name="startIndex">The index within the index buffer to start drawing from.</param>
/// <param name="primitiveCount">The number of primitives to render from the index buffer.</param>
/// <remarks>Note that minVertexIndex and numVertices are unused in MonoGame and will be ignored.</remarks>
Draw geometry by indexing into the vertex buffer.
Draw geometry by indexing into the vertex buffer .
[Obsolete("Use DrawIndexedPrimitives(PrimitiveType primitiveType, int baseVertex, int startIndex, int primitiveCount) instead. In future versions this method can be removed.")]
        public void DrawIndexedPrimitives(PrimitiveType primitiveType, int baseVertex, int minVertexIndex, int numVertices, int startIndex, int primitiveCount)
        {
            DrawIndexedPrimitives(primitiveType, baseVertex, startIndex, primitiveCount);
        }
[ Obsolete ( " " ) ] public void DrawIndexedPrimitives ( PrimitiveType primitiveType , int baseVertex , int minVertexIndex , int numVertices , int startIndex , int primitiveCount ) { DrawIndexedPrimitives ( primitiveType , baseVertex , startIndex , primitiveCount ) ; }
Draw geometry by indexing into the vertex buffer.
Draw geometry by indexing into the vertex buffer .
primitiveType
PrimitiveType
The type of primitives in the index buffer.
The type of primitives in the index buffer .
baseVertex
int
Used to offset the vertex range indexed from the vertex buffer.
Used to offset the vertex range indexed from the vertex buffer .
minVertexIndex
int
This is unused and remains here only for XNA API compatibility.
This is unused and remains here only for XNA API compatibility .
numVertices
int
This is unused and remains here only for XNA API compatibility.
This is unused and remains here only for XNA API compatibility .
startIndex
int
The index within the index buffer to start drawing from.
The index within the index buffer to start drawing from .
primitiveCount
int
The number of primitives to render from the index buffer.
The number of primitives to render from the index buffer .
remarks
Note that minVertexIndex and numVertices are unused in MonoGame and will be ignored.
Note that minVertexIndex and numVertices are unused in MonoGame and will be ignored .