#include #if defined(_OPENMP) #include #endif #include "render_cpu.h" #include "common_cpu.h" template void RendererCpu::render_mesh(RenderInput input) { RenderMeshFunctor functor(input, this->shader, this->cam, this->buffer); iterate_omp_cpu(functor, this->cam.num_pixel(), n_threads); } template void RendererCpu::render_mesh_proj(const RenderInput input, const Camera proj, const float* pattern, float d_alpha, float d_beta) { RenderProjectorFunctor functor(input, this->shader, this->cam, proj, pattern, d_alpha, d_beta, this->buffer); iterate_omp_cpu(functor, this->cam.num_pixel(), this->n_threads); } template class RendererCpu;