[GSOC] Implement rendering for Direct3D Retained Mode