IRenderEngine
How a pixel gets its color: the seam between an engine and the rest of the render pipeline (rendering-revamp §RVA-2).
| Inherited By | construct::pathtrace::PathTracedEngine and construct::rendering::RasterEngine |
In the namespace construct::rendering. Declared in src/libs/libconstruct/construct/rendering/IRenderEngine.hpp.
Detailed description
One instance lives on one thread and one QRhi for its whole life. The host owns the frame: it begins it, calls advance() with the frame's command buffer, runs the frame pipeline on frame(), and ends it. The raster engine and the path tracer implement this; a new engine is a new class behind it (§RVA-9).