import { EdlOptions, SsaoParameters, AntiAliasingMode } from '../../../../rendering'; import { DeviceDescriptor } from '../../../../utilities'; import { PropType } from '../../utilities/reflection'; import { Cognite3DViewerOptions } from './types'; type AntiAliasingHintOption = NonNullable>; type SsaoQualityHintOption = PropType; /** * Determines anti-aliasing mode based on the mode requested and the device in question. * For mobile and tablets MSAA is disabled. FXAA is supported on all devices. * @param modeHint Mode as provided in options to the viewer. * @param device Descriptor for current device. * @returns Actual anti-aliasing mode to initialize the renderer with. */ export declare function determineAntiAliasingMode(modeHint: AntiAliasingHintOption | undefined, device: DeviceDescriptor): { antiAliasing: AntiAliasingMode; multiSampleCount: number; }; /** * Determines SSAO mode based on the mode requested and the device in question. * For mobile and tablets SSAO is disabled. * @param qualityHint Mode as provided in options to the viewer. * @param device Descriptor for current device. * @returns Actual SSAO mode to initialize viewer with. */ export declare function determineSsaoRenderParameters(qualityHint: SsaoQualityHintOption, device: DeviceDescriptor): SsaoParameters; /** * Determines the default resolution threshold based on device . * @param rendererResolutionThreshold User provided resolution cap. * @param device Device type (mobile, tablet, desktop, etc.). * @param devicePixelRatio Device pixel ratio set on the renderer. */ export declare function determineResolutionCap(rendererResolutionThreshold: number | undefined, device: DeviceDescriptor, devicePixelRatio: number): number; /** * Create EDL options from input options. The radius is clamped to the maximum supported radius. * @param inputOptions */ export declare function createCompleteEdlOptions(inputOptions?: Partial | 'disabled'): EdlOptions; export {};