Arena.Mesh3D.EndRender C# (CSharp) Method

EndRender() protected method

protected EndRender ( GraphicsInterface gi ) : void
gi NewTOAPIA.GL.GraphicsInterface
return void
        protected override void EndRender(GraphicsInterface gi)
        {
            if (fUseColors && (null != Colors))
                gi.ClientFeatures.ColorArray.Disable();

            //if (fUseEdges && (null != Edges))
            //    gi.DisableClientState(ClientArrayType.EdgeFlagArray);

            if (fUseIndices && (null != Indices))
                gi.ClientFeatures.IndexArray.Disable();

            if (fUseNormals && (null != Normals))
                gi.ClientFeatures.NormalArray.Disable();

            if (fUseTexture && (null != TexCoords))
                gi.ClientFeatures.TextureCoordArray.Disable();

            if (fUseVertices && (null != Vertices))
                gi.ClientFeatures.VertexArray.Disable();
        }
    }