Example #1
0
        ///---------------------------------------------------------------------
        private void UpdateRendering()
        {
            if (!lineDataBackFront.IsDirty || !lineDataBackFront.IsDirty)
            {
                return;
            }

            lineDataBackFront.RefreshBuffers(lineThickness, borderThickness);
            lineDataFront.RefreshBuffers(lineThickness, borderThickness);

            lineDataBackFront.Clear();
            lineDataFront.Clear();
        }