OpenTTD Source 20250514-master-gecc3438519
|
Map zoom level to data. More...
#include <spriteloader.hpp>
Public Member Functions | |
constexpr T & | operator[] (const ZoomLevel &zoom) |
constexpr const T & | operator[] (const ZoomLevel &zoom) const |
T & | Root () |
const T & | Root () const |
Private Attributes | |
std::array< T, to_underlying(ZoomLevel::End)> | data {} |
Map zoom level to data.
Definition at line 33 of file spriteloader.hpp.
|
inlineconstexpr |
Definition at line 36 of file spriteloader.hpp.
|
inlineconstexpr |
Definition at line 37 of file spriteloader.hpp.
|
inline |
Definition at line 39 of file spriteloader.hpp.
|
inline |
Definition at line 40 of file spriteloader.hpp.
|
private |
Definition at line 34 of file spriteloader.hpp.