Compatibility

APIs for evaluating compatibility with the iTwin.js rendering system.

Enumerations

Name Description  
WebGLFeature Enumerates the required and optional WebGL features used by the RenderSystem.  
WebGLRenderCompatibilityStatus An enumeration that describes a general "compatibility rating" based on the contents of a WebGLRenderCompatibilityInfo.  

Global Functions

Name Description  
queryRenderCompatibility This function returns information about the client system's level of compatibility with the iTwin.js rendering system, describing the client system's support for both optional and required features.  

Interfaces

Name Description  
GraphicsDriverBugs Known bugs associated with specific graphics drivers for which iTwin.js can apply workarounds to produce correct visualization.  
WebGLRenderCompatibilityInfo Describes the level of compatibility of a client device/browser with the iTwin.js rendering system.  

Type Aliases

Name Description  
ContextCreator A function that creates and returns a WebGLContext given an HTMLCanvasElement, a boolean specifying whether to use WebGL2, and a WebGLContextAttributes object describing the desired context attributes.  
WebGLContext A type describing either a WebGL 1 or WebGL 2 rendering context.  

Last Updated: 14 November, 2024