      stage->pipeline->SetViewport(float(extent.x), float(extent.y));
      stage->pipeline->BuildPipeline();

      // Map bindings
      for (auto& textureBinding : stage->texture)
      {
        textureBinding.binding = stage->pipeline->GetBindingByName(textureBinding.name);