/** * A class containing a the values that affect the appearance of * an ImageryLayer. * * This is used in the ModelImagery to detect changes in * the imagery settings: The ModelImagery stores one * instance per imagery layer. During the update * call, it checks whether any of the settings was changed. * If this is the case, the draw commands of the model are reset. * * @private */ class ImageryConfiguration { constructor(imageryLayer) { this.show = imageryLayer.show; this.alpha = imageryLayer.alpha; this.brightness = imageryLayer.brightness; this.contrast = imageryLayer.contrast; this.hue = imageryLayer.hue; this.saturation = imageryLayer.saturation; this.gamma = imageryLayer.gamma; this.colorToAlpha = imageryLayer.colorToAlpha; } } export default ImageryConfiguration;