Skip to main content

@novorender/web_app / Core3DImportMap

Interface: Core3DImportMap

A map describing inlined resources, or urls where to fetch them.

Properties

baseUrl

readonly baseUrl: URL;

The base url to be applied to the other URLs.

See

https://developer.mozilla.org/en-US/docs/Web/API/URL/URL

Defined in

@novorender/core3d/imports/index.ts:56


loaderWorker?

readonly optional loaderWorker: string | Worker | URL;

Inlined loader worker, or URL to download.

Default Value

"./loaderWorker.js"

Defined in

@novorender/core3d/imports/index.ts:77


readonly optional logo: string | ArrayBuffer | URL;

Inlined Logo, or URL to download.

Default Value

"./logo.bin"

Defined in

@novorender/core3d/imports/index.ts:82


lutGGX?

readonly optional lutGGX: string | ImageBitmap | URL | Blob;

Inlined GGX lookup texture as Blob or ImageBitmap, or URL to download.

Default Value

"./lut_ggx.png"

Remarks

Blobs should have their type set to the proper MIME type, e.g. type: "image/png".

Defined in

@novorender/core3d/imports/index.ts:62


parserWasm?

readonly optional parserWasm: string | ArrayBuffer | URL;

Inlined WASM data, or URL to download.

Default Value

"./parser.wasm"

Defined in

@novorender/core3d/imports/index.ts:72


shaders?

readonly optional shaders: string | object | URL;

Inlined shaders, or URL to download.

Default Value

"./shaders.js"

Defined in

@novorender/core3d/imports/index.ts:87


wasmInstance?

readonly optional wasmInstance: string | URL | WasmInstance;

Inlined WASM instance, or URL to download.

Default Value

"./main.wasm"

Defined in

@novorender/core3d/imports/index.ts:67