Cogs.Core
ColorRasterSource.h
1#pragma once
2#include "BaseRasterSource.h"
3
4#include "Foundation/Collections/SmallVector.h"
5
6#include <glm/glm.hpp>
7
8namespace Cogs::Core::TerrainProvider {
9
10
12 {
13 virtual ~ColorConfig() {}
15 };
16
17
19 {
20 public:
21 ColorRasterSource(Context* context) : BaseRasterSource(context) {}
23
24 bool init(const ColorConfig& conf, std::unique_ptr<ICache>&& icache);
25 void getConfig(ColorConfig& conf) const;
26
27 protected:
28 void requestTile(Request* req) final;
29
31 };
32
33}
A Context instance contains all the services, systems and runtime components needed to use Cogs.
Definition: Context.h:83