/// <summary> /// /// </summary> private void Initialize() { if (!this.isInitialized) { this.viewportState = new ViewportState(); this.scissorTestState = new ScissorTestState(); this.isInitialized = true; } }
/// <summary> /// /// </summary> protected override void DoInitialize() { this.viewportState = new ViewportState(); this.scissorTestState = new ScissorTestState(); RendererBase renderer = this.Renderer; if (renderer != null) { renderer.Initialize(); } }