#pragma once #include "Common.h" class Sampler { public: Sampler(glm::vec2 depthRange, uint samples) : _dispRange(1.0f / depthRange.x, 1.0f / depthRange.y), _samples(samples) {} void sampleOnRays(sptr> o_sphericalCoords, sptr> o_depths, sptr> rays, glm::vec3 rayCenter); private: glm::vec2 _dispRange; uint _samples; };