@novorender/web_app / Core3DImports
Interface: Core3DImports
Core3D bundler/build resource imports.
Remarks
In order to adapt to any build/bundler system and inlining preferences, we declare all non-javascript imported resources here. These must be created by some external function that is specific to your build/bundler environment.
Properties
loaderWorker
readonly loaderWorker: Worker;
The scene load/parse worker.
Remarks
This worker root can be found in core3d/modules/octree/worker/index.ts
.
See
Defined in
@novorender/core3d/imports/index.ts:35
logo
readonly logo: ArrayBuffer;
The watermark logo data.
Remarks
This file can be found in core3d/modules/watermark/logo.bin
.
Defined in
@novorender/core3d/imports/index.ts:40
lutGGX
readonly lutGGX: TextureImageSource;
The GGX shader lookup image.
Remarks
This image can be found in core3d/lut_ggx.png
.
See
Defined in
@novorender/core3d/imports/index.ts:17
parserWasm
readonly parserWasm: ArrayBuffer;
The web assembly instance.
Remarks
This web assembly can be found in @novorender/wasm-parser/wasm_parser_bg.wasm
.
See
Loading and running WebAssembly code
Defined in
@novorender/core3d/imports/index.ts:29
shaders
readonly shaders: object;
GLSL shader imports.
background
background: object;
background.render
readonly render: object;
background.render.fragmentShader
readonly fragmentShader: string = fragmentShader;
background.render.vertexShader
readonly vertexShader: string = vertexShader;
benchmark
benchmark: object;
benchmark.fillrate
readonly fillrate: object;
benchmark.fillrate.fragmentShader
readonly fragmentShader: string = fillrate_frag;
benchmark.fillrate.vertexShader
readonly vertexShader: string = fillrate_vert;
benchmark.pointrate
readonly pointrate: object;
benchmark.pointrate.fragmentShader
readonly fragmentShader: string = pointrate_frag;
benchmark.pointrate.vertexShader
readonly vertexShader: string = pointrate_vert;
clipping
clipping: object;
clipping.render
readonly render: object;
clipping.render.fragmentShader
readonly fragmentShader: string = fragmentShader;
clipping.render.vertexShader
readonly vertexShader: string = vertexShader;
common
common: any;
cube
cube: object;
cube.intersect
readonly intersect: object;
cube.intersect.vertexShader
readonly vertexShader: string = intersect_vert;
cube.line
readonly line: object;
cube.line.fragmentShader
readonly fragmentShader: string = line_frag;
cube.line.vertexShader
readonly vertexShader: string = line_vert;
cube.render
readonly render: object;
cube.render.fragmentShader
readonly fragmentShader: string = render_frag;
cube.render.vertexShader
readonly vertexShader: string = render_vert;
dynamic
dynamic: object;
dynamic.render
readonly render: object;
dynamic.render.fragmentShader
readonly fragmentShader: string = fragmentShader;
dynamic.render.vertexShader
readonly vertexShader: string = vertexShader;
grid
grid: object;
grid.render
readonly render: object;
grid.render.fragmentShader
readonly fragmentShader: string = fragmentShader;
grid.render.vertexShader
readonly vertexShader: string = vertexShader;
octree
octree: object;
octree.debug
readonly debug: object;
octree.debug.fragmentShader
readonly fragmentShader: string = debug_frag;
octree.debug.vertexShader
readonly vertexShader: string = debug_vert;
octree.line
readonly line: object;
octree.line.fragmentShader
readonly fragmentShader: string = line_frag;
octree.line.vertexShader
readonly vertexShader: string = line_vert;
octree.point
readonly point: object;
octree.point.fragmentShader
readonly fragmentShader: string = point_frag;
octree.point.vertexShader
readonly vertexShader: string = point_vert;
octree.render
readonly render: object;
octree.render.fragmentShader
readonly fragmentShader: string = render_frag;
octree.render.vertexShader
readonly vertexShader: string = render_vert;
tonemap
tonemap: object;
tonemap.render
readonly render: object;
tonemap.render.fragmentShader
readonly fragmentShader: string = fragmentShader;
tonemap.render.vertexShader
readonly vertexShader: string = vertexShader;
toon
toon: object;
toon.render
readonly render: object;
toon.render.fragmentShader
readonly fragmentShader: string = fragmentShader;
toon.render.vertexShader
readonly vertexShader: string = vertexShader;
watermark
watermark: object;
watermark.render
readonly render: object;
watermark.render.fragmentShader
readonly fragmentShader: string = fragmentShader;
watermark.render.vertexShader
readonly vertexShader: string = vertexShader;
Remarks
The shaders can be found in core3d/imports/shaders.ts
.
Defined in
@novorender/core3d/imports/index.ts:45
wasmInstance
readonly wasmInstance: WasmInstance;
The web assembly instance.
Remarks
This web assembly can be found in core3d/wasm/main.wasm
.
See
Loading and running WebAssembly code