(XDK D3D) Split up render chain code into separate file