import { PostProcessingEffect } from "../PostProcessingEffect.js";
/**
 * [EffectWrapper](https://engine.needle.tools/docs/api/EffectWrapper) wraps a custom postprocessing effect to integrate it with the Needle Engine post-processing pipeline.
 *
 * @category Effects
 * @group Components
 */
export class EffectWrapper extends PostProcessingEffect {
    effect;
    constructor(effect) {
        super();
        this.effect = effect;
    }
    get typeName() {
        return this.effect.constructor.name;
    }
    onCreateEffect() {
        return this.effect;
    }
}
//# sourceMappingURL=EffectWrapper.js.map