An OrthoGPUProducer layer that simply fills tiles with a constant color. More...
#include <EmptyOrthoLayer.h>
Public Member Functions | |
EmptyOrthoLayer (vec4f color) | |
Creates a new EmptyOrthoLayer. | |
virtual | ~EmptyOrthoLayer () |
Deletes this EmptyOrthoLayer. | |
Protected Member Functions | |
EmptyOrthoLayer () | |
Creates an uninitialized EmptyOrthoLayer. | |
void | init (vec4f color) |
Initializes this EmptyOrthoLayer. | |
Private Attributes | |
vec4f | color |
The color to be used to fill the produced tiles. |
An OrthoGPUProducer layer that simply fills tiles with a constant color.
This layer is useful when the OrthoGPUProducer is used without an OrthoCPUProducer. It can provide a background color for other layers.
proland::EmptyOrthoLayer::EmptyOrthoLayer | ( | vec4f | color | ) |
Creates a new EmptyOrthoLayer.
color | the color to be used to fill the produced tiles. |
virtual proland::EmptyOrthoLayer::~EmptyOrthoLayer | ( | ) | [virtual] |
Deletes this EmptyOrthoLayer.
proland::EmptyOrthoLayer::EmptyOrthoLayer | ( | ) | [protected] |
Creates an uninitialized EmptyOrthoLayer.
void proland::EmptyOrthoLayer::init | ( | vec4f | color | ) | [protected] |
Initializes this EmptyOrthoLayer.
color | the color to be used to fill the produced tiles. |
vec4f proland::EmptyOrthoLayer::color [private] |
The color to be used to fill the produced tiles.