/** * @import { GraphicsDevice } from '../../../platform/graphics/graphics-device.js' */ /** * The fringing effect, a chromatic aberration phenomenon where the red, green, and blue color * channels diverge increasingly with greater distance from the center of the screen. * * Applied to the scene image, ahead of the other effects, so that they act on the separated * channels. * * Every {@link CameraFrame} constructs and registers one, available as {@link CameraFrame#fringing}. * * @category Graphics */ export class FringingEffect extends CameraFrameEffect { /** * @param {GraphicsDevice} device - The graphics device. */ constructor(device: GraphicsDevice); /** * The intensity of the fringing effect, 0-100 range. Defaults to 0, making it disabled. * * @type {number} */ intensity: number; } import { CameraFrameEffect } from '../../render-passes/camera-frame-effect.js'; import type { GraphicsDevice } from '../../../platform/graphics/graphics-device.js';