예제 #1
0
        public void Initialize()
        {
            if (_isInitialized)
            {
                DestroyResources();
            }

            _textureBuffer.Initialize();
            _depthBuffer.Initialize();
            _renderTargetView = new RenderTargetView(DeviceManager.Device, _textureBuffer.Texture);
            _isInitialized    = true;
        }