5 #ifndef MERCATOR_TILE_SHADER_H 6 #define MERCATOR_TILE_SHADER_H 8 #include <Mercator/Shader.h> 43 #endif // MERCATOR_TILE_SHADER_H virtual bool checkIntersect(const Segment &) const
Check whether this Shader has any effect on the given Segment.
Definition: TileShader.cpp:28
virtual void shade(Surface &) const
Populate a Surface with data.
Definition: TileShader.cpp:33
Data store for terrain surface data.
Definition: Surface.h:22
Shader agregating surface data.
Definition: TileShader.h:21
Class storing heightfield and other data for a single fixed size square area of terrain defined by fo...
Definition: Segment.h:36
Base class for Shader objects which create surface data for use when rendering terrain.
Definition: Shader.h:29
Shaderstore m_subShaders
Store of shaders which are agregated by this shader.
Definition: TileShader.h:27
void addShader(Shader *t, int id)
Add a shader to those agregated by the tile shader.
Definition: TileShader.h:33
std::map< int, Shader * > Shaderstore
STL map to store sparse array of Shader pointers.
Definition: TileShader.h:24