This demo is my adaptation of the first D3D example code from the ShaderX2 chapter titled "Real-Time Depth of Field Simulation".