public void Initialize() { if (_isInitialized) { DestroyResources(); } _textureBuffer.Initialize(); _depthBuffer.Initialize(); _renderTargetView = new RenderTargetView(DeviceManager.Device, _textureBuffer.Texture); _isInitialized = true; }