UNPKG

@cornerstonejs/core

Version:
17 lines (16 loc) 631 B
import type { TextureFormatSupport } from './textureSupport.js'; export declare const RENDERING_CAPABILITIES_PROBE_VERSION = 1; export interface RenderingCapabilities extends TextureFormatSupport { webgl: boolean; webgl2: boolean; maxTextureSize: number; renderer: string; softwareRasterizer: boolean; } export declare function detectRenderingCapabilities({ useCache, }?: { useCache?: boolean; }): RenderingCapabilities; export declare function getRenderingCapabilities(): RenderingCapabilities; export declare function resetRenderingCapabilities({ clearStorage, }?: { clearStorage?: boolean; }): void;