import '../../../globals.js';
// Copyright 2023-2024, University of Colorado Boulder
/**
 * Three-channel blending of colors
 *
 * @author Jonathan Olson <jonathan.olson@colorado.edu>
 */
import { alpenglow } from '../imports.js';
var RenderBlendType;
(function (RenderBlendType) {
    RenderBlendType[RenderBlendType["Normal"] = 0] = "Normal";
    RenderBlendType[RenderBlendType["Multiply"] = 1] = "Multiply";
    RenderBlendType[RenderBlendType["Screen"] = 2] = "Screen";
    RenderBlendType[RenderBlendType["Overlay"] = 3] = "Overlay";
    RenderBlendType[RenderBlendType["Darken"] = 4] = "Darken";
    RenderBlendType[RenderBlendType["Lighten"] = 5] = "Lighten";
    RenderBlendType[RenderBlendType["ColorDodge"] = 6] = "ColorDodge";
    RenderBlendType[RenderBlendType["ColorBurn"] = 7] = "ColorBurn";
    RenderBlendType[RenderBlendType["HardLight"] = 8] = "HardLight";
    RenderBlendType[RenderBlendType["SoftLight"] = 9] = "SoftLight";
    RenderBlendType[RenderBlendType["Difference"] = 10] = "Difference";
    RenderBlendType[RenderBlendType["Exclusion"] = 11] = "Exclusion";
    RenderBlendType[RenderBlendType["Hue"] = 12] = "Hue";
    RenderBlendType[RenderBlendType["Saturation"] = 13] = "Saturation";
    RenderBlendType[RenderBlendType["Color"] = 14] = "Color";
    RenderBlendType[RenderBlendType["Luminosity"] = 15] = "Luminosity";
    // 4 bits in binary representation
})(RenderBlendType || (RenderBlendType = {}));
export default RenderBlendType;
alpenglow.register('RenderBlendType', RenderBlendType);
export const RENDER_BLEND_CONSTANTS = {
    BlendNormal: RenderBlendType.Normal,
    BlendMultiply: RenderBlendType.Multiply,
    BlendScreen: RenderBlendType.Screen,
    BlendOverlay: RenderBlendType.Overlay,
    BlendDarken: RenderBlendType.Darken,
    BlendLighten: RenderBlendType.Lighten,
    BlendColorDodge: RenderBlendType.ColorDodge,
    BlendColorBurn: RenderBlendType.ColorBurn,
    BlendHardLight: RenderBlendType.HardLight,
    BlendSoftLight: RenderBlendType.SoftLight,
    BlendDifference: RenderBlendType.Difference,
    BlendExclusion: RenderBlendType.Exclusion,
    BlendHue: RenderBlendType.Hue,
    BlendSaturation: RenderBlendType.Saturation,
    BlendColor: RenderBlendType.Color,
    BlendLuminosity: RenderBlendType.Luminosity
};
//# sourceMappingURL=RenderBlendType.js.map