/** * @import { GraphicsDevice } from '../../../platform/graphics/graphics-device.js' */ /** * The sharpening effect, using contrast adaptive sharpening (CAS). This can be used to increase the * sharpness of the rendered image, often to counteract the blurriness of the TAA effect, or of * rendering to a lower resolution render target. * * Applied to the scene image, after the fringing and ahead of the other effects. * * Every {@link CameraFrame} constructs and registers one, whose sharpness is set through * {@link CameraFrame#rendering}, and which is available as `cameraFrame.getEffect('cas')`. * * @category Graphics */ export class CasEffect extends CameraFrameEffect { /** * @param {GraphicsDevice} device - The graphics device. */ constructor(device: GraphicsDevice); /** * The sharpening intensity, 0-1 range. Defaults to 0, making it disabled. * * @type {number} */ sharpness: number; } import { CameraFrameEffect } from '../../render-passes/camera-frame-effect.js'; import type { GraphicsDevice } from '../../../platform/graphics/graphics-device.js';