Direct3D 11 한 프레임 흐름
Windows 창에 Direct3D 11 장면을 표시하기 위해 장치 생성부터 상태 연결, Draw, Present까지 거치는 최소 프레임 흐름을 정리합니다.
create Device + immediate Context + Swap Chain
-> get Back Buffer and create RTV
-> create buffers, shaders, layouts, states
-> bind render target + viewport + pipeline inputs
-> ClearRenderTargetView / ClearDepthStencilView
-> Draw or DrawIndexed
-> IDXGISwapChain::Present