public void SetEffect(RenderingEffectSettings settings) { lock (this) { this.effect = settings.GetEffect(device); this.settings = settings; sceneManger.SetEffect(this.effect); status = Status.Rendering; Invalidate(); } }