Example #1
0
        public void ApplyOptions(DrawOptions drawOptions)
        {
            if (drawOptions.EqualsTo(_drawOptions))
            {
                return;
            }

            _currentMesh.Flush(_currentTexture, shader, _matrix, layer, renderQueue);
            _drawOptions.CopyFrom(drawOptions);
        }