    sge::scenic::scene::prefer_cg_context const &_prefer_cg_context)
    : renderer_(_renderer),
      mesh_vertex_declaration_(
          renderer_.get().create_vertex_declaration(sge::renderer::vertex::declaration_parameters(
              sge::renderer::vf::dynamic::make_format<sge::scenic::vf::format>()))),
      texture_manager_(renderer_, _image_loader),
      shader_context_(renderer_),
      render_context_manager_(
          _prefer_cg_context.get()
              ? fcppt::unique_ptr_to_base<sge::scenic::render_context::manager_base>(
                    fcppt::make_unique_ptr<sge::scenic::render_context::cg::manager>(
                        fcppt::make_ref(shader_context_),
                        fcppt::make_cref(*mesh_vertex_declaration_)))