import '../../../globals.js';
// Copyright 2023-2024, University of Colorado Boulder
/**
 * Porter-duff compositing types
 *
 * @author Jonathan Olson <jonathan.olson@colorado.edu>
 */
import { alpenglow } from '../imports.js';
var RenderComposeType;
(function (RenderComposeType) {
    RenderComposeType[RenderComposeType["Over"] = 0] = "Over";
    RenderComposeType[RenderComposeType["In"] = 1] = "In";
    RenderComposeType[RenderComposeType["Out"] = 2] = "Out";
    RenderComposeType[RenderComposeType["Atop"] = 3] = "Atop";
    RenderComposeType[RenderComposeType["Xor"] = 4] = "Xor";
    RenderComposeType[RenderComposeType["Plus"] = 5] = "Plus";
    RenderComposeType[RenderComposeType["PlusLighter"] = 6] = "PlusLighter";
    // 3 bits in binary representation
})(RenderComposeType || (RenderComposeType = {}));
export default RenderComposeType;
alpenglow.register('RenderComposeType', RenderComposeType);
export const RENDER_COMPOSE_CONSTANTS = {
    ComposeOver: RenderComposeType.Over,
    ComposeIn: RenderComposeType.In,
    ComposeOut: RenderComposeType.Out,
    ComposeAtop: RenderComposeType.Atop,
    ComposeXor: RenderComposeType.Xor,
    ComposePlus: RenderComposeType.Plus,
    ComposePlusLighter: RenderComposeType.PlusLighter
};
//# sourceMappingURL=RenderComposeType.js.map