Shared suites run against real Radient in Node and a browser, without a GPU. The separate browser bootstrap suite uses a real WebGPU device. The model and generator tests separately check declarations and metadata. All CPU API suites have matching Java cases and shared inputs/assets; see the integration coverage mapping for the intentional language-specific checks and fixture loading.
| Suite | Executed API |
|---|---|
| exports_tests.mjs | Standalone invalid IDs, automatically discovered interface IDs, constant isolation, and the active morph-target limit; named typedefs are checked by generation tests |
| data_blob_tests.mjs | Owning factories; size, scoped reads/writes, resize, QueryInterface and disposal |
| scene_tests.mjs | Engine/scene/writer creation and resource configuration; hierarchy, names, flags, visibility, transforms, revisions and commit |
| components_tests.mjs | Camera/light getters/setters; component presence and removal |
| mesh_tests.mjs | Asset manager access/description; asset identity/type/status; mesh creation/description; cube/sphere helpers; vertex-size helpers; scene mesh and renderer getters/setters |
| texture_tests.mjs | LoadTexture from encoded bytes and supplied mips; texture description; load status, validation and blob lifetime |
| material_tests.mjs | Standard definitions, all parameter reflection/lookup methods, material creation/definition/version/texture access, surface queries, scene material bindings |
| material_edit_tests.mjs | Material parameter reads, reusable writers, SetParameter/SetTexture/Commit, surface writers and standard texture-parameter helper |
| skinning_tests.mjs | Skeleton/skin creation and descriptions; every pose and pose-writer method, native-sized matrix outputs, scene skin component |
| morph_tests.mjs | Blob-backed target creation/reflection; every weights method; mesh weight factory; scene morph component and removal |
| animation_tests.mjs | Clip creation/reflection, binding creation/evaluation, every registry method, scene/material/pose/morph destinations, quaternion helpers |
| import_tests.mjs | Scene loading and clip reflection; importer creation, ImportScene, InstantiateScene, ProcessPendingImports; GLTF/OBJ files, relative MTL dependencies and imported animation |
| renderer_tests.mjs | Renderer/view creation and descriptions, render-target size, all view setters, retained scene/target snapshots, frame calls without a GPU |
| browser/bootstrap_tests.mjs | Browser-only WebGPU device attachment with custom resource capacities, canvas target creation, frame submission, resize, shutdown, and failed-initialization cleanup |
Native callbacks, externally supplied thread pools, importer implementations, custom component storage, and native Diligent GPU/backend objects are not exposed. The browser adapter supplies device/context/swap-chain access and calls asset-manager Stop() during disposal. CPU-only engines use normal engine disposal.
Direct-write animation destination scopes expose native addresses and are not exported. Use clip bindings and Evaluate(); native destinations are obtained through QueryInterface and their direct-write scopes are used internally.