private void PlatformDrawPrimitives(PrimitiveType primitiveType, int vertexStart, int vertexCount) { BindVertexBuffer(false); _graphics.DrawArrays(PSSHelper.ToDrawMode(primitiveType), vertexStart, vertexCount); }
private void PlatformDrawIndexedPrimitives(PrimitiveType primitiveType, int baseVertex, int startIndex, int primitiveCount) { BindVertexBuffer(true); PlatformApplyState(true); _graphics.DrawArrays(PSSHelper.ToDrawMode(primitiveType), startIndex, GetElementCountArray(primitiveType, primitiveCount)); }