cloudy-raytracer/renderer/renderer.h

22 lines
367 B
C
Raw Normal View History

2022-11-05 22:08:16 +01:00
#ifndef RENDERER_H
#define RENDERER_H
#include "common/texture.h"
// Forward declarations
class Camera;
class Scene;
class Renderer {
public:
// Constructor / Destructor
Renderer() = default;
virtual ~Renderer() = default;
// Render functions
virtual Texture renderImage(Scene const &scene, Camera const &camera, int width, int height) = 0;
};
#endif