5 #ifndef MERCATOR_FILL_SHADER_H
6 #define MERCATOR_FILL_SHADER_H
8 #include <Mercator/Shader.h>
32 #endif // MERCATOR_FILL_SHADER_H
const Segment & getSegment() const
Accessor for the terrain height segment this buffer is associated with.
Definition: Buffer.h:55
FillShader()
Constructor.
Definition: FillShader.cpp:12
const int getSize() const
Accessor for array size of this segment.
Definition: Segment.h:81
unsigned int getChannels() const
Accessor for the number of data values per height point.
Definition: Buffer.h:65
Class storing heightfield and other data for a single fixed size square area of terrain defined by fo...
Definition: Segment.h:36
Data store for terrain surface data.
Definition: Surface.h:22
virtual bool checkIntersect(const Segment &) const
Check whether this Shader has any effect on the given Segment.
Definition: FillShader.cpp:24
DataType * getData()
Accessor for a pointer to buffer containing data values.
Definition: Buffer.h:70
Shader that fills the surface.
Definition: FillShader.h:16
Base class for Shader objects which create surface data for use when rendering terrain.
Definition: Shader.h:29
virtual void shade(Surface &) const
Populate a Surface with data.
Definition: FillShader.cpp:29
std::map< std::string, float > Parameters
STL map of parameter values for a shader constructor.
Definition: Shader.h:63