public void Render() { CLReEntity r = rentities; for (; r != null; r = r.next) { r.Render(); } this.Clear(); }
public void Render(ColorLinesNG skiaView, SKCanvas canvas) { CLReEntity r = rentities; int renderSpecialBgTexture = 0; for (; r != null; r = r.Next) { r.Render(this.images, skiaView, canvas); if (Device.Idiom != TargetIdiom.Desktop || renderSpecialBgTexture != 0 || this.specialBgTextureIds == null || this.specialBgTextureIds.Length < 2) { continue; } if (r.TextureId == this.specialBgTextureIds[0]) { renderSpecialBgTexture = 1; } else if (r.TextureId == this.specialBgTextureIds[1]) { renderSpecialBgTexture = 2; } } if (renderSpecialBgTexture == 1) { CLReQueue.RenderFadingCircle(canvas, skiaView); } else if (renderSpecialBgTexture == 2) { CLReQueue.RenderFades(canvas, skiaView, false); CLReQueue.RenderFades(canvas, skiaView, true); CLReQueue.RenderFadingCircle(canvas, skiaView); } CLReViewEntity v = ventities; for (; v != null; v = v.Next) { v.Render(this.mainLayout, skiaView); } CLReViewEntity vre = ventitiesToRelease; for (; vre != null; vre = vre.Next) { vre.Release(this.mainLayout); } }