public void ApplyOptions(DrawOptions drawOptions) { if (drawOptions.EqualsTo(_drawOptions)) { return; } _currentMesh.Flush(_currentTexture, shader, _matrix, layer, renderQueue); _drawOptions.CopyFrom(drawOptions); }