@cornerstonejs/core
Version:
Cornerstone3D Core
17 lines (16 loc) • 631 B
TypeScript
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;