Reference·JavaScript · @bimworks/viewercommonJavaScript

Viewer3dEngineRule

Interface in @bimworks/viewercommon.

API catalogue · @bimworks/viewercommon · Interface

TypeScript#
interface Viewer3dEngineRule

One rule: when every field of match fits, the engine is the rule's. mobile compares as a boolean; the other fields are found inside the platform's value, ignoring case. A field the platform does not have never fits.

Example#

TypeScript#
{match: {vendor: "qualcomm", description: "adreno (tm) 6"}, engine: "webgl"}

Members#

Member Kind Description
engine Property
match Property

engine#

TypeScript#
engine: Viewer3dEngine

match#

TypeScript#
match: Partial<Viewer3dPlatformFacts>