#pragma once #include "../utils/common.h" #include "View.h" class FoveatedSynthesis_Impl; class FoveatedSynthesis { public: FoveatedSynthesis(const std::string& dataDir, glm::vec2 depthRange, uint nSamples[], uint encodeDim, uint coordChns, sptr cam, const std::vector>& layerCams, bool stereo = false); void run(View& view, glm::vec2 foveaPos, bool showPerf = false, glm::vec2 foveaPosR = {}); GLuint getGlResultTexture(uint index); private: sptr _impl; };