iridescence
Loading...
Searching...
No Matches
glk::ElevationMap Class Reference

Elevation map. More...

#include <elevation_map.hpp>

Inheritance diagram for glk::ElevationMap:
Collaboration diagram for glk::ElevationMap:

Public Member Functions

 ElevationMap (const ElevationMapBuilder &builder, const MeshRenderingOptions &options=MeshRenderingOptions())
 Constructor.
 ~ElevationMap ()
 Destructor.
void draw (glk::GLSLShader &shader) const
 Draw the elevation map.
Public Member Functions inherited from glk::Drawable
virtual ~Drawable ()

Additional Inherited Members

Public Types inherited from glk::Drawable
using Ptr = std::shared_ptr<Drawable>
using ConstPtr = std::shared_ptr<const Drawable>

Detailed Description

Elevation map.

Constructor & Destructor Documentation

◆ ElevationMap()

glk::ElevationMap::ElevationMap ( const ElevationMapBuilder & builder,
const MeshRenderingOptions & options = MeshRenderingOptions() )

Constructor.

Parameters
builderBuilder containing the elevation map data
optionsRendering options

◆ ~ElevationMap()

glk::ElevationMap::~ElevationMap ( )

Destructor.

Member Function Documentation

◆ draw()

void glk::ElevationMap::draw ( glk::GLSLShader & shader) const
virtual

Draw the elevation map.

Reimplemented from glk::Drawable.


The documentation for this class was generated from the following file: