openMSX
ScalerFactory.hh
Go to the documentation of this file.
1#ifndef SCALERFACTORY_HH
2#define SCALERFACTORY_HH
3
4#include <concepts>
5#include <memory>
6
7namespace openmsx {
8
9class RenderSettings;
10template<std::unsigned_integral Pixel> class Scaler;
11template<std::unsigned_integral Pixel> class PixelOperations;
12
16template<std::unsigned_integral Pixel>
18{
19public:
23 [[nodiscard]] static std::unique_ptr<Scaler<Pixel>> createScaler(
24 const PixelOperations<Pixel>& pixelOps,
25 RenderSettings& renderSettings);
26};
27
28} // namespace openmsx
29
30#endif
Class containing all settings for renderers.
Abstract base class for scalers.
static std::unique_ptr< Scaler< Pixel > > createScaler(const PixelOperations< Pixel > &pixelOps, RenderSettings &renderSettings)
Instantiates a Scaler.
This file implemented 3 utility functions:
Definition: Autofire.cc:9