Exemplo n.º 1
0
        /// <summary>
        /// Draw geometry of an unknown size.
        /// </summary>
        /// <param name="primitiveType">Type of the primitive to draw.</param>
        public void DrawAuto(PrimitiveType primitiveType)
        {
            PrepareDraw(primitiveType);

            NativeDeviceContext.DrawAuto();

            FrameDrawCalls++;
        }