@itwin/core-frontend 4.8.0-dev.36 → 4.8.0-dev.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -1
- package/lib/cjs/AccuDraw.d.ts.map +1 -1
- package/lib/cjs/AccuDraw.js +1 -1
- package/lib/cjs/AccuDraw.js.map +1 -1
- package/lib/cjs/common/internal/Symbols.d.ts +2 -1
- package/lib/cjs/common/internal/Symbols.d.ts.map +1 -1
- package/lib/cjs/common/internal/Symbols.js +3 -2
- package/lib/cjs/common/internal/Symbols.js.map +1 -1
- package/lib/cjs/common/internal/render/DisplayParams.d.ts.map +1 -1
- package/lib/cjs/common/internal/render/DisplayParams.js +3 -6
- package/lib/cjs/common/internal/render/DisplayParams.js.map +1 -1
- package/lib/cjs/common/internal/render/GraphicDescriptionBuilderImpl.d.ts +6 -24
- package/lib/cjs/common/internal/render/GraphicDescriptionBuilderImpl.d.ts.map +1 -1
- package/lib/cjs/common/internal/render/GraphicDescriptionBuilderImpl.js +29 -47
- package/lib/cjs/common/internal/render/GraphicDescriptionBuilderImpl.js.map +1 -1
- package/lib/cjs/common/internal/render/GraphicDescriptionContextImpl.d.ts +104 -0
- package/lib/cjs/common/internal/render/GraphicDescriptionContextImpl.d.ts.map +1 -0
- package/lib/cjs/common/internal/render/GraphicDescriptionContextImpl.js +146 -0
- package/lib/cjs/common/internal/render/GraphicDescriptionContextImpl.js.map +1 -0
- package/lib/cjs/common/render/GraphicDescriptionBuilder.d.ts +3 -68
- package/lib/cjs/common/render/GraphicDescriptionBuilder.d.ts.map +1 -1
- package/lib/cjs/common/render/GraphicDescriptionBuilder.js +1 -10
- package/lib/cjs/common/render/GraphicDescriptionBuilder.js.map +1 -1
- package/lib/cjs/common/render/GraphicDescriptionContext.d.ts +85 -0
- package/lib/cjs/common/render/GraphicDescriptionContext.d.ts.map +1 -0
- package/lib/cjs/common/render/GraphicDescriptionContext.js +22 -0
- package/lib/cjs/common/render/GraphicDescriptionContext.js.map +1 -0
- package/lib/cjs/common.d.ts +1 -0
- package/lib/cjs/common.d.ts.map +1 -1
- package/lib/cjs/common.js +1 -0
- package/lib/cjs/common.js.map +1 -1
- package/lib/cjs/render/RenderSystem.d.ts +2 -1
- package/lib/cjs/render/RenderSystem.d.ts.map +1 -1
- package/lib/cjs/render/RenderSystem.js +40 -1
- package/lib/cjs/render/RenderSystem.js.map +1 -1
- package/lib/cjs/render/webgl/Material.d.ts +4 -0
- package/lib/cjs/render/webgl/Material.d.ts.map +1 -1
- package/lib/cjs/render/webgl/Material.js +5 -0
- package/lib/cjs/render/webgl/Material.js.map +1 -1
- package/lib/cjs/tile/DynamicIModelTile.js +1 -0
- package/lib/cjs/tile/DynamicIModelTile.js.map +1 -1
- package/lib/cjs/tile/ImdlGraphicsCreator.d.ts +2 -1
- package/lib/cjs/tile/ImdlGraphicsCreator.d.ts.map +1 -1
- package/lib/cjs/tile/ImdlGraphicsCreator.js +2 -1
- package/lib/cjs/tile/ImdlGraphicsCreator.js.map +1 -1
- package/lib/esm/AccuDraw.d.ts.map +1 -1
- package/lib/esm/AccuDraw.js +1 -1
- package/lib/esm/AccuDraw.js.map +1 -1
- package/lib/esm/common/internal/Symbols.d.ts +2 -1
- package/lib/esm/common/internal/Symbols.d.ts.map +1 -1
- package/lib/esm/common/internal/Symbols.js +2 -1
- package/lib/esm/common/internal/Symbols.js.map +1 -1
- package/lib/esm/common/internal/render/DisplayParams.d.ts.map +1 -1
- package/lib/esm/common/internal/render/DisplayParams.js +4 -7
- package/lib/esm/common/internal/render/DisplayParams.js.map +1 -1
- package/lib/esm/common/internal/render/GraphicDescriptionBuilderImpl.d.ts +6 -24
- package/lib/esm/common/internal/render/GraphicDescriptionBuilderImpl.d.ts.map +1 -1
- package/lib/esm/common/internal/render/GraphicDescriptionBuilderImpl.js +28 -45
- package/lib/esm/common/internal/render/GraphicDescriptionBuilderImpl.js.map +1 -1
- package/lib/esm/common/internal/render/GraphicDescriptionContextImpl.d.ts +104 -0
- package/lib/esm/common/internal/render/GraphicDescriptionContextImpl.d.ts.map +1 -0
- package/lib/esm/common/internal/render/GraphicDescriptionContextImpl.js +140 -0
- package/lib/esm/common/internal/render/GraphicDescriptionContextImpl.js.map +1 -0
- package/lib/esm/common/render/GraphicDescriptionBuilder.d.ts +3 -68
- package/lib/esm/common/render/GraphicDescriptionBuilder.d.ts.map +1 -1
- package/lib/esm/common/render/GraphicDescriptionBuilder.js +1 -10
- package/lib/esm/common/render/GraphicDescriptionBuilder.js.map +1 -1
- package/lib/esm/common/render/GraphicDescriptionContext.d.ts +85 -0
- package/lib/esm/common/render/GraphicDescriptionContext.d.ts.map +1 -0
- package/lib/esm/common/render/GraphicDescriptionContext.js +19 -0
- package/lib/esm/common/render/GraphicDescriptionContext.js.map +1 -0
- package/lib/esm/common.d.ts +1 -0
- package/lib/esm/common.d.ts.map +1 -1
- package/lib/esm/common.js +1 -0
- package/lib/esm/common.js.map +1 -1
- package/lib/esm/render/RenderSystem.d.ts +2 -1
- package/lib/esm/render/RenderSystem.d.ts.map +1 -1
- package/lib/esm/render/RenderSystem.js +43 -4
- package/lib/esm/render/RenderSystem.js.map +1 -1
- package/lib/esm/render/webgl/Material.d.ts +4 -0
- package/lib/esm/render/webgl/Material.d.ts.map +1 -1
- package/lib/esm/render/webgl/Material.js +5 -0
- package/lib/esm/render/webgl/Material.js.map +1 -1
- package/lib/esm/tile/DynamicIModelTile.js +1 -0
- package/lib/esm/tile/DynamicIModelTile.js.map +1 -1
- package/lib/esm/tile/ImdlGraphicsCreator.d.ts +2 -1
- package/lib/esm/tile/ImdlGraphicsCreator.d.ts.map +1 -1
- package/lib/esm/tile/ImdlGraphicsCreator.js +2 -1
- package/lib/esm/tile/ImdlGraphicsCreator.js.map +1 -1
- package/lib/public/scripts/parse-imdl-worker.js +1 -1
- package/lib/workers/webpack/parse-imdl-worker.js +1 -1
- package/package.json +18 -18
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*---------------------------------------------------------------------------------------------
|
|
3
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
4
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
5
|
+
*--------------------------------------------------------------------------------------------*/
|
|
6
|
+
/** @packageDocumentation
|
|
7
|
+
* @module Rendering
|
|
8
|
+
*/
|
|
9
|
+
var _a;
|
|
10
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
+
exports.WorkerGraphicDescriptionContextImpl = exports.WorkerMaterial = exports.WorkerTexture = void 0;
|
|
12
|
+
const core_bentley_1 = require("@itwin/core-bentley");
|
|
13
|
+
const Symbols_1 = require("../Symbols");
|
|
14
|
+
const core_common_1 = require("@itwin/core-common");
|
|
15
|
+
class WorkerTexture extends core_common_1.RenderTexture {
|
|
16
|
+
constructor(index, params) {
|
|
17
|
+
let type = core_common_1.RenderTexture.Type.Normal;
|
|
18
|
+
if (!(params instanceof core_common_1.Gradient.Symb) && undefined !== params.type) {
|
|
19
|
+
type = params.type;
|
|
20
|
+
}
|
|
21
|
+
super(type);
|
|
22
|
+
this.index = index;
|
|
23
|
+
if (params instanceof core_common_1.Gradient.Symb) {
|
|
24
|
+
this.source = { gradient: params };
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
const transparency = params.transparency;
|
|
28
|
+
if (params.source instanceof URL) {
|
|
29
|
+
this.source = { transparency, url: params.source.toString() };
|
|
30
|
+
}
|
|
31
|
+
else if (params.source instanceof core_common_1.ImageSource) {
|
|
32
|
+
this.source = { transparency, imageSource: params.source.data, format: params.source.format };
|
|
33
|
+
}
|
|
34
|
+
else {
|
|
35
|
+
this.source = { transparency, imageBuffer: params.source.data, format: params.source.format, width: params.source.width };
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
dispose() { }
|
|
40
|
+
get bytesUsed() { return 0; } // doesn't matter, nobody's calling this.
|
|
41
|
+
toProps(xfer) {
|
|
42
|
+
const source = this.source.gradient ? { ...this.source, gradient: this.source.gradient.toJSON() } : this.source;
|
|
43
|
+
const buffer = source.imageBuffer ?? source.imageSource;
|
|
44
|
+
if (buffer instanceof Uint8Array) {
|
|
45
|
+
xfer.add(buffer.buffer);
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
type: this.type,
|
|
49
|
+
source,
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
exports.WorkerTexture = WorkerTexture;
|
|
54
|
+
function materialColorToImdl(color) {
|
|
55
|
+
if (!(color instanceof core_common_1.ColorDef)) {
|
|
56
|
+
color = core_common_1.RgbColor.fromJSON(color).toColorDef();
|
|
57
|
+
}
|
|
58
|
+
return color?.toJSON();
|
|
59
|
+
}
|
|
60
|
+
class WorkerMaterial extends core_common_1.RenderMaterial {
|
|
61
|
+
constructor(params) {
|
|
62
|
+
let textureMapping;
|
|
63
|
+
if (params.textureMapping) {
|
|
64
|
+
textureMapping = new core_common_1.TextureMapping(params.textureMapping.texture, new core_common_1.TextureMapping.Params({
|
|
65
|
+
textureMat2x3: params.textureMapping.transform,
|
|
66
|
+
mapMode: params.textureMapping.mode,
|
|
67
|
+
textureWeight: params.textureMapping.weight,
|
|
68
|
+
worldMapping: params.textureMapping.worldMapping,
|
|
69
|
+
useConstantLod: params.textureMapping.useConstantLod,
|
|
70
|
+
constantLodProps: params.textureMapping.constantLodProps,
|
|
71
|
+
}));
|
|
72
|
+
textureMapping.normalMapParams = params.textureMapping.normalMapParams;
|
|
73
|
+
}
|
|
74
|
+
super({ textureMapping });
|
|
75
|
+
this.params = params;
|
|
76
|
+
}
|
|
77
|
+
toImdl() {
|
|
78
|
+
let diffuse;
|
|
79
|
+
if (this.params.diffuse) {
|
|
80
|
+
diffuse = {
|
|
81
|
+
weight: this.params.diffuse.weight,
|
|
82
|
+
color: materialColorToImdl(this.params.diffuse.color),
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
let specular;
|
|
86
|
+
if (this.params.specular) {
|
|
87
|
+
specular = {
|
|
88
|
+
weight: this.params.specular.weight,
|
|
89
|
+
exponent: this.params.specular.exponent,
|
|
90
|
+
color: materialColorToImdl(this.params.specular.color),
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
return {
|
|
94
|
+
isAtlas: false,
|
|
95
|
+
material: {
|
|
96
|
+
alpha: this.params.alpha,
|
|
97
|
+
diffuse,
|
|
98
|
+
specular,
|
|
99
|
+
},
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
exports.WorkerMaterial = WorkerMaterial;
|
|
104
|
+
class WorkerGraphicDescriptionContextImpl {
|
|
105
|
+
constructor(props) {
|
|
106
|
+
this[_a] = undefined;
|
|
107
|
+
this.textures = [];
|
|
108
|
+
this.materials = [];
|
|
109
|
+
const propsImpl = props;
|
|
110
|
+
if (typeof propsImpl.transientIds !== "object" || typeof propsImpl.constraints !== "object") {
|
|
111
|
+
throw new Error("Invalid WorkerGraphicDescriptionContextProps");
|
|
112
|
+
}
|
|
113
|
+
this.constraints = propsImpl.constraints;
|
|
114
|
+
this.transientIds = core_bentley_1.TransientIdSequence.fromJSON(propsImpl.transientIds);
|
|
115
|
+
}
|
|
116
|
+
createMaterial(params) {
|
|
117
|
+
const material = new WorkerMaterial(params);
|
|
118
|
+
this.materials.push(material);
|
|
119
|
+
return material;
|
|
120
|
+
}
|
|
121
|
+
createTexture(params) {
|
|
122
|
+
const texture = new WorkerTexture(this.textures.length, params);
|
|
123
|
+
this.textures.push(texture);
|
|
124
|
+
return texture;
|
|
125
|
+
}
|
|
126
|
+
createGradientTexture(gradient) {
|
|
127
|
+
const existing = this.textures.find((tx) => tx.source.gradient && tx.source.gradient.equals(gradient));
|
|
128
|
+
if (existing) {
|
|
129
|
+
return existing;
|
|
130
|
+
}
|
|
131
|
+
const texture = new WorkerTexture(this.textures.length, gradient);
|
|
132
|
+
this.textures.push(texture);
|
|
133
|
+
return texture;
|
|
134
|
+
}
|
|
135
|
+
toProps(transferables) {
|
|
136
|
+
// We don't yet have any transferable objects. In the future we expect to support transferring texture image data for textures created on the worker thread.
|
|
137
|
+
return {
|
|
138
|
+
[Symbols_1._implementationProhibited]: undefined,
|
|
139
|
+
transientIds: this.transientIds.toJSON(),
|
|
140
|
+
textures: this.textures.map((tx) => tx.toProps(transferables)),
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
exports.WorkerGraphicDescriptionContextImpl = WorkerGraphicDescriptionContextImpl;
|
|
145
|
+
_a = Symbols_1._implementationProhibited;
|
|
146
|
+
//# sourceMappingURL=GraphicDescriptionContextImpl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GraphicDescriptionContextImpl.js","sourceRoot":"","sources":["../../../../../src/common/internal/render/GraphicDescriptionContextImpl.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;;AAEH,sDAAoF;AACpF,wCAAuD;AAGvD,oDAAuN;AA+EvN,MAAa,aAAc,SAAQ,2BAAa;IAI9C,YAAmB,KAAa,EAAE,MAA2C;QAC3E,IAAI,IAAI,GAAG,2BAAa,CAAC,IAAI,CAAC,MAAM,CAAC;QACrC,IAAI,CAAC,CAAC,MAAM,YAAY,sBAAQ,CAAC,IAAI,CAAC,IAAI,SAAS,KAAK,MAAM,CAAC,IAAI,EAAE,CAAC;YACpE,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACrB,CAAC;QAED,KAAK,CAAC,IAAI,CAAC,CAAC;QAEZ,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,MAAM,YAAY,sBAAQ,CAAC,IAAI,EAAE,CAAC;YACpC,IAAI,CAAC,MAAM,GAAG,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC;QACrC,CAAC;aAAM,CAAC;YACN,MAAM,YAAY,GAAG,MAAM,CAAC,YAAY,CAAC;YACzC,IAAI,MAAM,CAAC,MAAM,YAAY,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C,MAA2B;QAC9C,MAAM,OAAO,GAAG,IAAI,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAChE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5B,OAAO,OAAO,CAAC;IACjB,CAAC;IAEM,qBAAqB,CAAC,QAAuB;QAClD,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,MAAM,CAAC,QAAQ,IAAI,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;QACvG,IAAI,QAAQ,EAAE,CAAC;YACb,OAAO,QAAQ,CAAC;QAClB,CAAC;QAED,MAAM,OAAO,GAAG,IAAI,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QAClE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5B,OAAO,OAAO,CAAC;IACjB,CAAC;IAEM,OAAO,CAAC,aAAgC;QAC7C,4JAA4J;QAC5J,OAAO;YACL,CAAC,mCAAyB,CAAC,EAAE,SAAS;YACtC,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE;YACxC,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;SAC/D,CAAC;IACJ,CAAC;CACF;AAhDD,kFAgDC;KA/CkB,mCAAyB","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Rendering\r\n */\r\n\r\nimport { TransientIdSequence, TransientIdSequenceProps } from \"@itwin/core-bentley\";\r\nimport { _implementationProhibited } from \"../Symbols\";\r\nimport { GraphicDescriptionContextProps, WorkerGraphicDescriptionContext, WorkerGraphicDescriptionContextProps, WorkerTextureParams } from \"../../render/GraphicDescriptionContext\";\r\nimport { MaterialParams } from \"../../render/MaterialParams\";\r\nimport { ColorDef, ColorDefProps, Gradient, ImageBufferFormat, ImageSource, ImageSourceFormat, RenderMaterial, RenderTexture, RgbColor, RgbColorProps, TextureMapping, TextureTransparency } from \"@itwin/core-common\";\r\nimport { ImdlModel } from \"../../imdl/ImdlModel\";\r\n\r\n/** As part of a [[WorkerGraphicDescriptionContext]], describes constraints imposed by the [[RenderSystem]] that a [[GraphicDescriptionBuilder]] needs to know about\r\n * when creating a [[GraphicDescription]].\r\n */\r\nexport interface GraphicDescriptionConstraints {\r\n /** @internal */\r\n readonly [_implementationProhibited]: unknown;\r\n /** The maximum dimension (width or height) permitted for a single WebGL texture. */\r\n readonly maxTextureSize: number;\r\n}\r\n\r\nexport interface WorkerGraphicDescriptionContextPropsImpl extends WorkerGraphicDescriptionContextProps {\r\n readonly constraints: GraphicDescriptionConstraints;\r\n readonly transientIds: TransientIdSequenceProps;\r\n}\r\n\r\nexport interface GraphicDescriptionContextPropsImpl extends GraphicDescriptionContextProps {\r\n readonly transientIds: TransientIdSequenceProps;\r\n readonly textures: WorkerTextureProps[];\r\n /** This is set to true the first time we use RenderSystem.createGraphicDescriptionContext on it.\r\n * That prevents us from remapping transient Ids to different transient Ids, recreating duplicate textures+materials, etc if\r\n * somebody tries to resolve the same props more than once.\r\n * We will throw if somebody tries to re-resolve a GraphicDescriptionContextPropsImpl.\r\n */\r\n resolved?: boolean;\r\n}\r\n\r\nexport interface TextureUrlProps {\r\n url: string;\r\n transparency?: TextureTransparency;\r\n gradient?: never;\r\n imageBuffer?: never;\r\n imageSource?: never;\r\n width?: never;\r\n format?: never;\r\n}\r\n\r\nexport interface TextureImageBufferProps {\r\n imageBuffer: Uint8Array;\r\n format: ImageBufferFormat;\r\n transparency?: TextureTransparency;\r\n width: number;\r\n gradient?: never;\r\n imageSource?: never;\r\n url?: never;\r\n}\r\n\r\nexport interface TextureImageSourceProps {\r\n imageSource: Uint8Array | string;\r\n format: ImageSourceFormat;\r\n transparency?: TextureTransparency;\r\n width?: never;\r\n url?: never;\r\n imageBuffer?: never;\r\n gradient?: never;\r\n}\r\n\r\nexport interface TextureGradientSource {\r\n gradient: Gradient.Symb;\r\n transparency?: never;\r\n format?: never;\r\n imageBuffer?: never;\r\n imageSource?: never;\r\n url?: never;\r\n width?: never;\r\n}\r\n\r\nexport type TextureGradientSourceProps = Omit<TextureGradientSource, \"gradient\"> & { gradient: Gradient.SymbProps };\r\nexport type TextureSource = TextureUrlProps | TextureImageBufferProps | TextureImageSourceProps | TextureGradientSource;\r\nexport type TextureSourceProps = TextureUrlProps | TextureImageBufferProps | TextureImageSourceProps | TextureGradientSourceProps;\r\n\r\nexport interface WorkerTextureProps {\r\n type: RenderTexture.Type;\r\n transparency?: TextureTransparency;\r\n source: TextureSourceProps;\r\n}\r\n\r\nexport class WorkerTexture extends RenderTexture {\r\n public readonly index: number;\r\n public readonly source: TextureSource;\r\n\r\n public constructor(index: number, params: WorkerTextureParams | Gradient.Symb) {\r\n let type = RenderTexture.Type.Normal;\r\n if (!(params instanceof Gradient.Symb) && undefined !== params.type) {\r\n type = params.type;\r\n }\r\n\r\n super(type);\r\n\r\n this.index = index;\r\n if (params instanceof Gradient.Symb) {\r\n this.source = { gradient: params };\r\n } else {\r\n const transparency = params.transparency;\r\n if (params.source instanceof URL) {\r\n this.source = { transparency, url: params.source.toString() };\r\n } else if (params.source instanceof ImageSource) {\r\n this.source = { transparency, imageSource: params.source.data, format: params.source.format };\r\n } else {\r\n this.source = { transparency, imageBuffer: params.source.data, format: params.source.format, width: params.source.width };\r\n }\r\n }\r\n }\r\n\r\n public override dispose() { }\r\n public override get bytesUsed() { return 0; } // doesn't matter, nobody's calling this.\r\n\r\n public toProps(xfer: Set<Transferable>): WorkerTextureProps {\r\n const source = this.source.gradient ? { ...this.source, gradient: this.source.gradient.toJSON() } : this.source;\r\n const buffer = source.imageBuffer ?? source.imageSource;\r\n if (buffer instanceof Uint8Array) {\r\n xfer.add(buffer.buffer);\r\n }\r\n\r\n return {\r\n type: this.type,\r\n source,\r\n };\r\n }\r\n}\r\n\r\nfunction materialColorToImdl(color: ColorDef | RgbColorProps | undefined): ColorDefProps | undefined {\r\n if (!(color instanceof ColorDef)) {\r\n color = RgbColor.fromJSON(color).toColorDef();\r\n }\r\n\r\n return color?.toJSON();\r\n}\r\n\r\nexport class WorkerMaterial extends RenderMaterial {\r\n public readonly params: MaterialParams;\r\n\r\n public constructor(params: MaterialParams) {\r\n let textureMapping;\r\n if (params.textureMapping) {\r\n textureMapping = new TextureMapping(params.textureMapping.texture, new TextureMapping.Params({\r\n textureMat2x3: params.textureMapping.transform,\r\n mapMode: params.textureMapping.mode,\r\n textureWeight: params.textureMapping.weight,\r\n worldMapping: params.textureMapping.worldMapping,\r\n useConstantLod: params.textureMapping.useConstantLod,\r\n constantLodProps: params.textureMapping.constantLodProps,\r\n }));\r\n textureMapping.normalMapParams = params.textureMapping.normalMapParams;\r\n }\r\n\r\n super({ textureMapping });\r\n\r\n this.params = params;\r\n }\r\n\r\n public toImdl(): ImdlModel.SurfaceMaterial {\r\n let diffuse;\r\n if (this.params.diffuse) {\r\n diffuse = {\r\n weight: this.params.diffuse.weight,\r\n color: materialColorToImdl(this.params.diffuse.color),\r\n };\r\n }\r\n\r\n let specular;\r\n if (this.params.specular) {\r\n specular = {\r\n weight: this.params.specular.weight,\r\n exponent: this.params.specular.exponent,\r\n color: materialColorToImdl(this.params.specular.color),\r\n };\r\n }\r\n\r\n return {\r\n isAtlas: false,\r\n material: {\r\n alpha: this.params.alpha,\r\n diffuse,\r\n specular,\r\n },\r\n };\r\n }\r\n}\r\n\r\nexport class WorkerGraphicDescriptionContextImpl implements WorkerGraphicDescriptionContext {\r\n public readonly [_implementationProhibited] = undefined;\r\n public readonly constraints: GraphicDescriptionConstraints;\r\n public readonly transientIds: TransientIdSequence;\r\n public readonly textures: WorkerTexture[] = [];\r\n public readonly materials: WorkerMaterial[] = [];\r\n\r\n public constructor(props: WorkerGraphicDescriptionContextProps) {\r\n const propsImpl = props as WorkerGraphicDescriptionContextPropsImpl;\r\n if (typeof propsImpl.transientIds !== \"object\" || typeof propsImpl.constraints !== \"object\") {\r\n throw new Error(\"Invalid WorkerGraphicDescriptionContextProps\");\r\n }\r\n\r\n this.constraints = propsImpl.constraints;\r\n this.transientIds = TransientIdSequence.fromJSON(propsImpl.transientIds);\r\n }\r\n\r\n public createMaterial(params: MaterialParams): RenderMaterial {\r\n const material = new WorkerMaterial(params);\r\n this.materials.push(material);\r\n return material;\r\n }\r\n\r\n public createTexture(params: WorkerTextureParams): RenderTexture {\r\n const texture = new WorkerTexture(this.textures.length, params);\r\n this.textures.push(texture);\r\n return texture;\r\n }\r\n\r\n public createGradientTexture(gradient: Gradient.Symb): RenderTexture {\r\n const existing = this.textures.find((tx) => tx.source.gradient && tx.source.gradient.equals(gradient));\r\n if (existing) {\r\n return existing;\r\n }\r\n\r\n const texture = new WorkerTexture(this.textures.length, gradient);\r\n this.textures.push(texture);\r\n return texture;\r\n }\r\n\r\n public toProps(transferables: Set<Transferable>): GraphicDescriptionContextPropsImpl {\r\n // We don't yet have any transferable objects. In the future we expect to support transferring texture image data for textures created on the worker thread.\r\n return {\r\n [_implementationProhibited]: undefined,\r\n transientIds: this.transientIds.toJSON(),\r\n textures: this.textures.map((tx) => tx.toProps(transferables)),\r\n };\r\n }\r\n}\r\n\r\n"]}
|
|
@@ -6,7 +6,7 @@ import { Point3d, Range3d, Transform } from "@itwin/core-geometry";
|
|
|
6
6
|
import { GraphicType } from "./GraphicType";
|
|
7
7
|
import { PickableGraphicOptions } from "./BatchOptions";
|
|
8
8
|
import { _implementationProhibited } from "../internal/Symbols";
|
|
9
|
-
import {
|
|
9
|
+
import { WorkerGraphicDescriptionContext } from "./GraphicDescriptionContext";
|
|
10
10
|
/** An opaque representation of a [[RenderGraphic]] created by a [[GraphicDescriptionBuilder]].
|
|
11
11
|
* Unlike `RenderGraphic`, a `GraphicDescription` does not allocate any WebGL resources like textures, vertex buffers, etc, so
|
|
12
12
|
* it can be created on and/or passed to and from a [Worker](https://developer.mozilla.org/en-US/docs/Web/API/Worker).
|
|
@@ -25,71 +25,6 @@ export declare namespace GraphicDescription {
|
|
|
25
25
|
*/
|
|
26
26
|
function collectTransferables(transferables: Set<Transferable>, description: GraphicDescription): void;
|
|
27
27
|
}
|
|
28
|
-
/** As part of a [[WorkerGraphicDescriptionContext]], describes constraints imposed by the [[RenderSystem]] that a [[GraphicDescriptionBuilder]] needs to know about
|
|
29
|
-
* when creating a [[GraphicDescription]].
|
|
30
|
-
* @beta
|
|
31
|
-
*/
|
|
32
|
-
export interface GraphicDescriptionConstraints {
|
|
33
|
-
/** @internal */
|
|
34
|
-
readonly [_implementationProhibited]: unknown;
|
|
35
|
-
/** The maximum dimension (width or height) permitted for a single WebGL texture. */
|
|
36
|
-
readonly maxTextureSize: number;
|
|
37
|
-
}
|
|
38
|
-
/** An opaque representation of a [[WorkerGraphicDescriptionContext]] that can be passed from the main thread to a [Worker](https://developer.mozilla.org/en-US/docs/Web/API/Worker).
|
|
39
|
-
* @see [[RenderSystem.createWorkerGraphicDescriptionContextProps]] to obtain an implementation of this type.
|
|
40
|
-
* @see [[WorkerGraphicDescriptionContext.fromProps]] to instantiate the context on a Worker from this representation.
|
|
41
|
-
* @beta
|
|
42
|
-
*/
|
|
43
|
-
export interface WorkerGraphicDescriptionContextProps {
|
|
44
|
-
/** @internal */
|
|
45
|
-
readonly [_implementationProhibited]: unknown;
|
|
46
|
-
}
|
|
47
|
-
/** Context allocated on a [Worker](https://developer.mozilla.org/en-US/docs/Web/API/Worker) to enable it to create [[GraphicDescription]]s.
|
|
48
|
-
* When the Worker returns one or more GraphicDescriptions to the main thread, it should also return this context as a [[GraphicDescriptionContextProps]].
|
|
49
|
-
* @see [[WorkerGraphicDescriptionContext.fromProps]] to instantiate this type.
|
|
50
|
-
* @beta
|
|
51
|
-
*/
|
|
52
|
-
export interface WorkerGraphicDescriptionContext {
|
|
53
|
-
/** @internal */
|
|
54
|
-
readonly [_implementationProhibited]: unknown;
|
|
55
|
-
/** Constraints obtained from the [[RenderSystem]] on the main thread. */
|
|
56
|
-
readonly constraints: GraphicDescriptionConstraints;
|
|
57
|
-
/** A "fork" of the iModel's transient Id sequence obtained from the main thread. New Ids generated by this sequence on the Worker will be
|
|
58
|
-
* merged into the original sequence by [[RenderSystem.resolveGraphicDescriptionContext]].
|
|
59
|
-
*/
|
|
60
|
-
readonly transientIds: TransientIdSequence;
|
|
61
|
-
/** Converts this context to a representation that can be passed back to the main thread.
|
|
62
|
-
* @param transferables A set of [transferable objects](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Transferable_objects) that
|
|
63
|
-
* can be efficiently copied to the main thread.
|
|
64
|
-
*/
|
|
65
|
-
toProps(transferables: Set<Transferable>): GraphicDescriptionContextProps;
|
|
66
|
-
}
|
|
67
|
-
/** @beta */
|
|
68
|
-
export declare namespace WorkerGraphicDescriptionContext {
|
|
69
|
-
/** Instantiate a context from its opaque representation. */
|
|
70
|
-
function fromProps(props: WorkerGraphicDescriptionContextProps): WorkerGraphicDescriptionContext;
|
|
71
|
-
}
|
|
72
|
-
/** Describes a [[GraphicDescriptionContext]] returned from a [Worker](https://developer.mozilla.org/en-US/docs/Web/API/Worker) to the main thread, holding resources like
|
|
73
|
-
* transient Ids, textures, and materials that were allocated on the Worker for use by [[GraphicDescription]]s.
|
|
74
|
-
* @see [[WorkerGraphicDescriptionContext.toProps]] to obtain an implementation of this type.
|
|
75
|
-
* @see [[RenderSystem.resolveGraphicDescriptionContext]] to instantiate the context from this representation.
|
|
76
|
-
* @beta
|
|
77
|
-
*/
|
|
78
|
-
export interface GraphicDescriptionContextProps {
|
|
79
|
-
/** @internal */
|
|
80
|
-
readonly [_implementationProhibited]: unknown;
|
|
81
|
-
}
|
|
82
|
-
/** Context holding resources like transient Ids, textures, and materials that were allocated on a [Worker](https://developer.mozilla.org/en-US/docs/Web/API/Worker) by a
|
|
83
|
-
* [[WorkerGraphicDescriptionContext]] for use in [[GraphicDescription]]s. This context must be supplied to [[RenderSystem.createGraphicFromDescription]] when converting a
|
|
84
|
-
* GraphicDescription to a [[RenderGraphic]].
|
|
85
|
-
* @see [[RenderSystem.resolveGraphicDescriptionContext]] to obtain an implementation of this type.
|
|
86
|
-
* @beta
|
|
87
|
-
*/
|
|
88
|
-
export interface GraphicDescriptionContext {
|
|
89
|
-
/** @internal */
|
|
90
|
-
readonly [_implementationProhibited]: unknown;
|
|
91
|
-
remapTransientLocalId(sourceLocalId: number): number;
|
|
92
|
-
}
|
|
93
28
|
/** Arguments supplied to [[GraphicDescriptionBuilderOptions.computeChordTolerance]] to help compute an appropriate level of detail for the [[GraphicDescription]].
|
|
94
29
|
* @beta
|
|
95
30
|
*/
|
|
@@ -119,8 +54,8 @@ export type GraphicDescriptionBuilderOptions = {
|
|
|
119
54
|
generateEdges?: boolean;
|
|
120
55
|
/** Computes the level of detail in meters for the graphics produced by the builder. */
|
|
121
56
|
computeChordTolerance: (args: ComputeGraphicDescriptionChordToleranceArgs) => number;
|
|
122
|
-
/**
|
|
123
|
-
|
|
57
|
+
/** Context in which the graphic description will be created, obtained from the [[RenderSystem]] on the main thread. */
|
|
58
|
+
context: WorkerGraphicDescriptionContext;
|
|
124
59
|
} & ({
|
|
125
60
|
/** If defined, specifies a point about which the graphic will rotate such that it always faces the viewer.
|
|
126
61
|
* This can be particular useful for planar regions to create a billboarding effect - e.g., to implement [[Marker]]-like WebGL decorations.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GraphicDescriptionBuilder.d.ts","sourceRoot":"","sources":["../../../../src/common/render/GraphicDescriptionBuilder.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"GraphicDescriptionBuilder.d.ts","sourceRoot":"","sources":["../../../../src/common/render/GraphicDescriptionBuilder.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,+BAA+B,EAAE,MAAM,6BAA6B,CAAC;AAE9E;;;;;GAKG;AACH,MAAM,WAAW,kBAAkB;IACjC,gBAAgB;IAChB,QAAQ,CAAC,CAAC,yBAAyB,CAAC,EAAE,OAAO,CAAC;CAC/C;AAED,YAAY;AACZ,yBAAiB,kBAAkB,CAAC;IAClC;;;OAGG;IACH,SAAgB,oBAAoB,CAAC,aAAa,EAAE,GAAG,CAAC,YAAY,CAAC,EAAE,WAAW,EAAE,kBAAkB,GAAG,IAAI,CAE5G;CACF;AAED;;GAEG;AACH,MAAM,WAAW,2CAA2C;IAC1D,mEAAmE;IACnE,OAAO,EAAE,yBAAyB,CAAC;IACnC,gGAAgG;IAChG,YAAY,EAAE,MAAM,OAAO,CAAC;CAC7B;AAED;;GAEG;AACH,MAAM,MAAM,gCAAgC,GAAG;IAC7C;;OAEG;IACH,IAAI,EAAE,WAAW,CAAC;IAClB;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,yHAAyH;IACzH,QAAQ,CAAC,EAAE,sBAAsB,CAAC;IAClC;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,uFAAuF;IACvF,qBAAqB,EAAE,CAAC,IAAI,EAAE,2CAA2C,KAAK,MAAM,CAAC;IACrF,uHAAuH;IACvH,OAAO,EAAE,+BAA+B,CAAC;CAC1C,GAAG,CAAC;IACH;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,gBAAgB;IAChB,SAAS,CAAC,EAAE,KAAK,CAAC;CACnB,CAGG,CAAC;AAEL;;;;;;;;GAQG;AACH,MAAM,WAAW,yBAA0B,SAAQ,gBAAgB;IACjE;;OAEG;IACH,MAAM,IAAI,kBAAkB,CAAC;CAC9B;AAED,YAAY;AACZ,yBAAiB,yBAAyB,CAAC;IACzC,4EAA4E;IAC5E,SAAgB,MAAM,CAAC,OAAO,EAAE,gCAAgC,GAAG,yBAAyB,CAE3F;CACF"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @module Rendering
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.GraphicDescriptionBuilder = exports.
|
|
10
|
+
exports.GraphicDescriptionBuilder = exports.GraphicDescription = void 0;
|
|
11
11
|
const GraphicDescriptionBuilderImpl_1 = require("../internal/render/GraphicDescriptionBuilderImpl");
|
|
12
12
|
const Symbols_1 = require("../internal/Symbols");
|
|
13
13
|
/** @beta */
|
|
@@ -23,15 +23,6 @@ var GraphicDescription;
|
|
|
23
23
|
GraphicDescription.collectTransferables = collectTransferables;
|
|
24
24
|
})(GraphicDescription || (exports.GraphicDescription = GraphicDescription = {}));
|
|
25
25
|
/** @beta */
|
|
26
|
-
var WorkerGraphicDescriptionContext;
|
|
27
|
-
(function (WorkerGraphicDescriptionContext) {
|
|
28
|
-
/** Instantiate a context from its opaque representation. */
|
|
29
|
-
function fromProps(props) {
|
|
30
|
-
return new GraphicDescriptionBuilderImpl_1.WorkerGraphicDescriptionContextImpl(props);
|
|
31
|
-
}
|
|
32
|
-
WorkerGraphicDescriptionContext.fromProps = fromProps;
|
|
33
|
-
})(WorkerGraphicDescriptionContext || (exports.WorkerGraphicDescriptionContext = WorkerGraphicDescriptionContext = {}));
|
|
34
|
-
/** @beta */
|
|
35
26
|
var GraphicDescriptionBuilder;
|
|
36
27
|
(function (GraphicDescriptionBuilder) {
|
|
37
28
|
/** Create a [[GraphicDescriptionBuilder]] using the specified `options`. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GraphicDescriptionBuilder.js","sourceRoot":"","sources":["../../../../src/common/render/GraphicDescriptionBuilder.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAGH,oGAA8K;AAI9K,iDAAgE;AAchE,YAAY;AACZ,IAAiB,kBAAkB,CAQlC;AARD,WAAiB,kBAAkB;IACjC;;;OAGG;IACH,SAAgB,oBAAoB,CAAC,aAAgC,EAAE,WAA+B;QACpG,OAAO,IAAA,sEAAsC,EAAC,aAAa,EAAE,WAAW,CAAC,CAAC;IAC5E,CAAC;IAFe,uCAAoB,uBAEnC,CAAA;AACH,CAAC,EARgB,kBAAkB,kCAAlB,kBAAkB,QAQlC;AA4CD,YAAY;AACZ,IAAiB,+BAA+B,CAK/C;AALD,WAAiB,+BAA+B;IAC9C,4DAA4D;IAC5D,SAAgB,SAAS,CAAC,KAA2C;QACnE,OAAO,IAAI,mEAAmC,CAAC,KAAK,CAAC,CAAC;IACxD,CAAC;IAFe,yCAAS,YAExB,CAAA;AACH,CAAC,EALgB,+BAA+B,+CAA/B,+BAA+B,QAK/C;AAuFD,YAAY;AACZ,IAAiB,yBAAyB,CAKzC;AALD,WAAiB,yBAAyB;IACxC,4EAA4E;IAC5E,SAAgB,MAAM,CAAC,OAAyC;QAC9D,OAAO,IAAI,6DAA6B,CAAC,OAAO,CAAC,CAAC;IACpD,CAAC;IAFe,gCAAM,SAErB,CAAA;AACH,CAAC,EALgB,yBAAyB,yCAAzB,yBAAyB,QAKzC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Rendering\r\n */\r\n\r\nimport { GraphicAssembler } from \"./GraphicAssembler\";\r\nimport { collectGraphicDescriptionTransferables, GraphicDescriptionBuilderImpl, WorkerGraphicDescriptionContextImpl } from \"../internal/render/GraphicDescriptionBuilderImpl\";\r\nimport { Point3d, Range3d, Transform } from \"@itwin/core-geometry\";\r\nimport { GraphicType } from \"./GraphicType\";\r\nimport { PickableGraphicOptions } from \"./BatchOptions\";\r\nimport { _implementationProhibited } from \"../internal/Symbols\";\r\nimport { TransientIdSequence } from \"@itwin/core-bentley\";\r\n\r\n/** An opaque representation of a [[RenderGraphic]] created by a [[GraphicDescriptionBuilder]].\r\n * Unlike `RenderGraphic`, a `GraphicDescription` does not allocate any WebGL resources like textures, vertex buffers, etc, so\r\n * it can be created on and/or passed to and from a [Worker](https://developer.mozilla.org/en-US/docs/Web/API/Worker).\r\n * @see [[RenderSystem.createGraphicFromDescription]] to convert it to a [[RenderGraphic]].\r\n * @beta\r\n */\r\nexport interface GraphicDescription {\r\n /** @internal */\r\n readonly [_implementationProhibited]: unknown;\r\n}\r\n\r\n/** @beta */\r\nexport namespace GraphicDescription {\r\n /** Adds to `transferables` all of the [Transferable objects](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Transferable_objects) like\r\n * `ArrayBuffer`s that are included in `description`. This makes copying a [[GraphicDescription]] to and from a [Worker](https://developer.mozilla.org/en-US/docs/Web/API/Worker)\r\n * much more efficient.\r\n */\r\n export function collectTransferables(transferables: Set<Transferable>, description: GraphicDescription): void {\r\n return collectGraphicDescriptionTransferables(transferables, description);\r\n }\r\n}\r\n\r\n/** As part of a [[WorkerGraphicDescriptionContext]], describes constraints imposed by the [[RenderSystem]] that a [[GraphicDescriptionBuilder]] needs to know about\r\n * when creating a [[GraphicDescription]].\r\n * @beta\r\n */\r\nexport interface GraphicDescriptionConstraints {\r\n /** @internal */\r\n readonly [_implementationProhibited]: unknown;\r\n /** The maximum dimension (width or height) permitted for a single WebGL texture. */\r\n readonly maxTextureSize: number;\r\n}\r\n\r\n/** An opaque representation of a [[WorkerGraphicDescriptionContext]] that can be passed from the main thread to a [Worker](https://developer.mozilla.org/en-US/docs/Web/API/Worker).\r\n * @see [[RenderSystem.createWorkerGraphicDescriptionContextProps]] to obtain an implementation of this type.\r\n * @see [[WorkerGraphicDescriptionContext.fromProps]] to instantiate the context on a Worker from this representation.\r\n * @beta\r\n */\r\nexport interface WorkerGraphicDescriptionContextProps {\r\n /** @internal */\r\n readonly [_implementationProhibited]: unknown;\r\n}\r\n\r\n/** Context allocated on a [Worker](https://developer.mozilla.org/en-US/docs/Web/API/Worker) to enable it to create [[GraphicDescription]]s.\r\n * When the Worker returns one or more GraphicDescriptions to the main thread, it should also return this context as a [[GraphicDescriptionContextProps]].\r\n * @see [[WorkerGraphicDescriptionContext.fromProps]] to instantiate this type.\r\n * @beta\r\n */\r\nexport interface WorkerGraphicDescriptionContext {\r\n /** @internal */\r\n readonly [_implementationProhibited]: unknown;\r\n /** Constraints obtained from the [[RenderSystem]] on the main thread. */\r\n readonly constraints: GraphicDescriptionConstraints;\r\n /** A \"fork\" of the iModel's transient Id sequence obtained from the main thread. New Ids generated by this sequence on the Worker will be\r\n * merged into the original sequence by [[RenderSystem.resolveGraphicDescriptionContext]].\r\n */\r\n readonly transientIds: TransientIdSequence;\r\n /** Converts this context to a representation that can be passed back to the main thread.\r\n * @param transferables A set of [transferable objects](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Transferable_objects) that\r\n * can be efficiently copied to the main thread.\r\n */\r\n toProps(transferables: Set<Transferable>): GraphicDescriptionContextProps;\r\n}\r\n\r\n/** @beta */\r\nexport namespace WorkerGraphicDescriptionContext {\r\n /** Instantiate a context from its opaque representation. */\r\n export function fromProps(props: WorkerGraphicDescriptionContextProps): WorkerGraphicDescriptionContext {\r\n return new WorkerGraphicDescriptionContextImpl(props);\r\n }\r\n}\r\n\r\n/** Describes a [[GraphicDescriptionContext]] returned from a [Worker](https://developer.mozilla.org/en-US/docs/Web/API/Worker) to the main thread, holding resources like\r\n * transient Ids, textures, and materials that were allocated on the Worker for use by [[GraphicDescription]]s.\r\n * @see [[WorkerGraphicDescriptionContext.toProps]] to obtain an implementation of this type.\r\n * @see [[RenderSystem.resolveGraphicDescriptionContext]] to instantiate the context from this representation.\r\n * @beta\r\n */\r\nexport interface GraphicDescriptionContextProps {\r\n /** @internal */\r\n readonly [_implementationProhibited]: unknown;\r\n}\r\n\r\n/** Context holding resources like transient Ids, textures, and materials that were allocated on a [Worker](https://developer.mozilla.org/en-US/docs/Web/API/Worker) by a\r\n * [[WorkerGraphicDescriptionContext]] for use in [[GraphicDescription]]s. This context must be supplied to [[RenderSystem.createGraphicFromDescription]] when converting a\r\n * GraphicDescription to a [[RenderGraphic]].\r\n * @see [[RenderSystem.resolveGraphicDescriptionContext]] to obtain an implementation of this type.\r\n * @beta\r\n */\r\nexport interface GraphicDescriptionContext {\r\n /** @internal */\r\n readonly [_implementationProhibited]: unknown;\r\n remapTransientLocalId(sourceLocalId: number): number;\r\n}\r\n\r\n/** Arguments supplied to [[GraphicDescriptionBuilderOptions.computeChordTolerance]] to help compute an appropriate level of detail for the [[GraphicDescription]].\r\n * @beta\r\n */\r\nexport interface ComputeGraphicDescriptionChordToleranceArgs {\r\n /** The builder that is constructing the [[GraphicDescription]]. */\r\n builder: GraphicDescriptionBuilder;\r\n /** A function that computes a bounding box enclosing all of the geometry in the [[builder]]. */\r\n computeRange: () => Range3d;\r\n}\r\n\r\n/** Options supplied to [[GraphicDescriptionBuilder.create]].\r\n * @beta\r\n */\r\nexport type GraphicDescriptionBuilderOptions = {\r\n /** The type of graphic to create. This influences the default values of some other options like [[generateEdges]] and\r\n * properties like [[GraphicDescriptionBuilder.wantNormals]].\r\n */\r\n type: GraphicType;\r\n /** The local-to-world transform in which the builder's geoemtry is to be defined.\r\n * Default: an identity transform.\r\n */\r\n placement?: Transform;\r\n /** If the graphic is to contain one or more [Feature]($common)s, specifies the initial pickable Id and other options. */\r\n pickable?: PickableGraphicOptions;\r\n /** Specifies whether edges are generated for surfaces.\r\n * By default, edges are only produced if [[type]] is [[GraphicType.Scene]].\r\n */\r\n generateEdges?: boolean;\r\n /** Computes the level of detail in meters for the graphics produced by the builder. */\r\n computeChordTolerance: (args: ComputeGraphicDescriptionChordToleranceArgs) => number;\r\n /** Limits defined by the [[RenderSystem]] on the main thread, obtained from [[WorkerGraphicDescriptionContext.constraints]]. */\r\n constraints: GraphicDescriptionConstraints;\r\n} & ({\r\n /** If defined, specifies a point about which the graphic will rotate such that it always faces the viewer.\r\n * This can be particular useful for planar regions to create a billboarding effect - e.g., to implement [[Marker]]-like WebGL decorations.\r\n * The graphic's [[placement]] transform is not applied to the point.\r\n * @note This has no effect for graphics displayed in a 2d view.\r\n */\r\n viewIndependentOrigin?: Point3d;\r\n /** @internal */\r\n instances?: never;\r\n}/* ) | {\r\n instances?: InstancedGraphicParams;\r\n viewIndependentOrigin?: never;\r\n}*/);\r\n\r\n/** An equivalent of a [[GraphicBuilder]] that is designed for use on a [Worker](https://developer.mozilla.org/en-US/docs/Web/API/Worker).\r\n * Unlike [[GraphicBuilder.finish]], which produces a [[RenderGraphic]], [[GraphicDescriptionBuilder.finish]] produces a [[GraphicDescription]].\r\n * The `GraphicDescription` can be returned from the Worker to the main thread, where [[RenderSystem.createGraphicFromDescription]] can be used\r\n * to quickly convert it to a `RenderGraphic`.\r\n * Produce graphics using `GraphicDescriptionBuilder` on a Worker instead of using `GraphicBuilder` when you have graphics that may take a non-trivial\r\n * amount of time to create, to avoid blocking the main JavaScript event loop.\r\n * @see [[GraphicDescriptionBuilder.create]] to instantiate this type.\r\n * @beta\r\n */\r\nexport interface GraphicDescriptionBuilder extends GraphicAssembler {\r\n /** Processes the accumulated symbology and geometry to produce a description of a renderable graphic.\r\n * This function should only be called once; after the [[GraphicDescription]] has been extracted, the [[GraphicDescriptionBuilder]] should no longer be used.\r\n */\r\n finish(): GraphicDescription;\r\n}\r\n\r\n/** @beta */\r\nexport namespace GraphicDescriptionBuilder {\r\n /** Create a [[GraphicDescriptionBuilder]] using the specified `options`. */\r\n export function create(options: GraphicDescriptionBuilderOptions): GraphicDescriptionBuilder {\r\n return new GraphicDescriptionBuilderImpl(options);\r\n }\r\n}\r\n"]}
|
|
1
|
+
{"version":3,"file":"GraphicDescriptionBuilder.js","sourceRoot":"","sources":["../../../../src/common/render/GraphicDescriptionBuilder.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAGH,oGAAyI;AAIzI,iDAAgE;AAchE,YAAY;AACZ,IAAiB,kBAAkB,CAQlC;AARD,WAAiB,kBAAkB;IACjC;;;OAGG;IACH,SAAgB,oBAAoB,CAAC,aAAgC,EAAE,WAA+B;QACpG,OAAO,IAAA,sEAAsC,EAAC,aAAa,EAAE,WAAW,CAAC,CAAC;IAC5E,CAAC;IAFe,uCAAoB,uBAEnC,CAAA;AACH,CAAC,EARgB,kBAAkB,kCAAlB,kBAAkB,QAQlC;AAgED,YAAY;AACZ,IAAiB,yBAAyB,CAKzC;AALD,WAAiB,yBAAyB;IACxC,4EAA4E;IAC5E,SAAgB,MAAM,CAAC,OAAyC;QAC9D,OAAO,IAAI,6DAA6B,CAAC,OAAO,CAAC,CAAC;IACpD,CAAC;IAFe,gCAAM,SAErB,CAAA;AACH,CAAC,EALgB,yBAAyB,yCAAzB,yBAAyB,QAKzC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Rendering\r\n */\r\n\r\nimport { GraphicAssembler } from \"./GraphicAssembler\";\r\nimport { collectGraphicDescriptionTransferables, GraphicDescriptionBuilderImpl } from \"../internal/render/GraphicDescriptionBuilderImpl\";\r\nimport { Point3d, Range3d, Transform } from \"@itwin/core-geometry\";\r\nimport { GraphicType } from \"./GraphicType\";\r\nimport { PickableGraphicOptions } from \"./BatchOptions\";\r\nimport { _implementationProhibited } from \"../internal/Symbols\";\r\nimport { WorkerGraphicDescriptionContext } from \"./GraphicDescriptionContext\";\r\n\r\n/** An opaque representation of a [[RenderGraphic]] created by a [[GraphicDescriptionBuilder]].\r\n * Unlike `RenderGraphic`, a `GraphicDescription` does not allocate any WebGL resources like textures, vertex buffers, etc, so\r\n * it can be created on and/or passed to and from a [Worker](https://developer.mozilla.org/en-US/docs/Web/API/Worker).\r\n * @see [[RenderSystem.createGraphicFromDescription]] to convert it to a [[RenderGraphic]].\r\n * @beta\r\n */\r\nexport interface GraphicDescription {\r\n /** @internal */\r\n readonly [_implementationProhibited]: unknown;\r\n}\r\n\r\n/** @beta */\r\nexport namespace GraphicDescription {\r\n /** Adds to `transferables` all of the [Transferable objects](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Transferable_objects) like\r\n * `ArrayBuffer`s that are included in `description`. This makes copying a [[GraphicDescription]] to and from a [Worker](https://developer.mozilla.org/en-US/docs/Web/API/Worker)\r\n * much more efficient.\r\n */\r\n export function collectTransferables(transferables: Set<Transferable>, description: GraphicDescription): void {\r\n return collectGraphicDescriptionTransferables(transferables, description);\r\n }\r\n}\r\n\r\n/** Arguments supplied to [[GraphicDescriptionBuilderOptions.computeChordTolerance]] to help compute an appropriate level of detail for the [[GraphicDescription]].\r\n * @beta\r\n */\r\nexport interface ComputeGraphicDescriptionChordToleranceArgs {\r\n /** The builder that is constructing the [[GraphicDescription]]. */\r\n builder: GraphicDescriptionBuilder;\r\n /** A function that computes a bounding box enclosing all of the geometry in the [[builder]]. */\r\n computeRange: () => Range3d;\r\n}\r\n\r\n/** Options supplied to [[GraphicDescriptionBuilder.create]].\r\n * @beta\r\n */\r\nexport type GraphicDescriptionBuilderOptions = {\r\n /** The type of graphic to create. This influences the default values of some other options like [[generateEdges]] and\r\n * properties like [[GraphicDescriptionBuilder.wantNormals]].\r\n */\r\n type: GraphicType;\r\n /** The local-to-world transform in which the builder's geoemtry is to be defined.\r\n * Default: an identity transform.\r\n */\r\n placement?: Transform;\r\n /** If the graphic is to contain one or more [Feature]($common)s, specifies the initial pickable Id and other options. */\r\n pickable?: PickableGraphicOptions;\r\n /** Specifies whether edges are generated for surfaces.\r\n * By default, edges are only produced if [[type]] is [[GraphicType.Scene]].\r\n */\r\n generateEdges?: boolean;\r\n /** Computes the level of detail in meters for the graphics produced by the builder. */\r\n computeChordTolerance: (args: ComputeGraphicDescriptionChordToleranceArgs) => number;\r\n /** Context in which the graphic description will be created, obtained from the [[RenderSystem]] on the main thread. */\r\n context: WorkerGraphicDescriptionContext;\r\n} & ({\r\n /** If defined, specifies a point about which the graphic will rotate such that it always faces the viewer.\r\n * This can be particular useful for planar regions to create a billboarding effect - e.g., to implement [[Marker]]-like WebGL decorations.\r\n * The graphic's [[placement]] transform is not applied to the point.\r\n * @note This has no effect for graphics displayed in a 2d view.\r\n */\r\n viewIndependentOrigin?: Point3d;\r\n /** @internal */\r\n instances?: never;\r\n}/* ) | {\r\n instances?: InstancedGraphicParams;\r\n viewIndependentOrigin?: never;\r\n}*/);\r\n\r\n/** An equivalent of a [[GraphicBuilder]] that is designed for use on a [Worker](https://developer.mozilla.org/en-US/docs/Web/API/Worker).\r\n * Unlike [[GraphicBuilder.finish]], which produces a [[RenderGraphic]], [[GraphicDescriptionBuilder.finish]] produces a [[GraphicDescription]].\r\n * The `GraphicDescription` can be returned from the Worker to the main thread, where [[RenderSystem.createGraphicFromDescription]] can be used\r\n * to quickly convert it to a `RenderGraphic`.\r\n * Produce graphics using `GraphicDescriptionBuilder` on a Worker instead of using `GraphicBuilder` when you have graphics that may take a non-trivial\r\n * amount of time to create, to avoid blocking the main JavaScript event loop.\r\n * @see [[GraphicDescriptionBuilder.create]] to instantiate this type.\r\n * @beta\r\n */\r\nexport interface GraphicDescriptionBuilder extends GraphicAssembler {\r\n /** Processes the accumulated symbology and geometry to produce a description of a renderable graphic.\r\n * This function should only be called once; after the [[GraphicDescription]] has been extracted, the [[GraphicDescriptionBuilder]] should no longer be used.\r\n */\r\n finish(): GraphicDescription;\r\n}\r\n\r\n/** @beta */\r\nexport namespace GraphicDescriptionBuilder {\r\n /** Create a [[GraphicDescriptionBuilder]] using the specified `options`. */\r\n export function create(options: GraphicDescriptionBuilderOptions): GraphicDescriptionBuilder {\r\n return new GraphicDescriptionBuilderImpl(options);\r\n }\r\n}\r\n"]}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module Rendering
|
|
3
|
+
*/
|
|
4
|
+
import { TransientIdSequence } from "@itwin/core-bentley";
|
|
5
|
+
import { _implementationProhibited, _textures } from "../internal/Symbols";
|
|
6
|
+
import { Gradient, ImageBuffer, ImageSource, RenderMaterial, RenderTexture, TextureTransparency } from "@itwin/core-common";
|
|
7
|
+
import { MaterialParams } from "./MaterialParams";
|
|
8
|
+
/** Parameters describing a [[RenderTexture]] to be created on a Worker by [[WorkerGraphicDescriptionContext.createTexture]].
|
|
9
|
+
* @beta
|
|
10
|
+
*/
|
|
11
|
+
export interface WorkerTextureParams {
|
|
12
|
+
/** The type of texture to create. */
|
|
13
|
+
type?: RenderTexture.Type;
|
|
14
|
+
/** Describes the image used by the texture. */
|
|
15
|
+
source: ImageBuffer | ImageSource | URL;
|
|
16
|
+
/** Describes the transparency of the image. If this information can be supplied, it can improve performance. Otherwise,
|
|
17
|
+
* an attempt will be made to infer it.
|
|
18
|
+
*/
|
|
19
|
+
transparency?: TextureTransparency;
|
|
20
|
+
}
|
|
21
|
+
/** An opaque representation of a [[WorkerGraphicDescriptionContext]] that can be passed from the main thread to a [Worker](https://developer.mozilla.org/en-US/docs/Web/API/Worker).
|
|
22
|
+
* @see [[RenderSystem.createWorkerGraphicDescriptionContextProps]] to obtain an implementation of this type.
|
|
23
|
+
* @see [[WorkerGraphicDescriptionContext.fromProps]] to instantiate the context on a Worker from this representation.
|
|
24
|
+
* @beta
|
|
25
|
+
*/
|
|
26
|
+
export interface WorkerGraphicDescriptionContextProps {
|
|
27
|
+
/** @internal */
|
|
28
|
+
readonly [_implementationProhibited]: unknown;
|
|
29
|
+
}
|
|
30
|
+
/** Context allocated on a [Worker](https://developer.mozilla.org/en-US/docs/Web/API/Worker) to enable it to create [[GraphicDescription]]s.
|
|
31
|
+
* When the Worker returns one or more GraphicDescriptions to the main thread, it should also return this context as a [[GraphicDescriptionContextProps]].
|
|
32
|
+
* @see [[WorkerGraphicDescriptionContext.fromProps]] to instantiate this type.
|
|
33
|
+
* @beta
|
|
34
|
+
*/
|
|
35
|
+
export interface WorkerGraphicDescriptionContext {
|
|
36
|
+
/** @internal */
|
|
37
|
+
readonly [_implementationProhibited]: unknown;
|
|
38
|
+
/** A "fork" of the iModel's transient Id sequence obtained from the main thread. New Ids generated by this sequence on the Worker will be
|
|
39
|
+
* merged into the original sequence by [[RenderSystem.resolveGraphicDescriptionContext]].
|
|
40
|
+
*/
|
|
41
|
+
readonly transientIds: TransientIdSequence;
|
|
42
|
+
/** Converts this context to a representation that can be passed back to the main thread.
|
|
43
|
+
* @param transferables A set of [transferable objects](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Transferable_objects) that
|
|
44
|
+
* can be efficiently copied to the main thread.
|
|
45
|
+
*/
|
|
46
|
+
toProps(transferables: Set<Transferable>): GraphicDescriptionContextProps;
|
|
47
|
+
/** Create a RenderMaterial. */
|
|
48
|
+
createMaterial(params: MaterialParams): RenderMaterial;
|
|
49
|
+
/** Create a texture. */
|
|
50
|
+
createTexture(params: WorkerTextureParams): RenderTexture;
|
|
51
|
+
/** Create a texture from a gradient. If a texture was previously created using the same gradient settings, it will be reused. */
|
|
52
|
+
createGradientTexture(gradient: Gradient.Symb): RenderTexture;
|
|
53
|
+
}
|
|
54
|
+
/** @beta */
|
|
55
|
+
export declare namespace WorkerGraphicDescriptionContext {
|
|
56
|
+
/** Instantiate a context from its opaque representation. */
|
|
57
|
+
function fromProps(props: WorkerGraphicDescriptionContextProps): WorkerGraphicDescriptionContext;
|
|
58
|
+
}
|
|
59
|
+
/** Describes a [[GraphicDescriptionContext]] returned from a [Worker](https://developer.mozilla.org/en-US/docs/Web/API/Worker) to the main thread, holding resources like
|
|
60
|
+
* transient Ids, textures, and materials that were allocated on the Worker for use by [[GraphicDescription]]s.
|
|
61
|
+
* @see [[WorkerGraphicDescriptionContext.toProps]] to obtain an implementation of this type.
|
|
62
|
+
* @see [[RenderSystem.resolveGraphicDescriptionContext]] to instantiate the context from this representation.
|
|
63
|
+
* @beta
|
|
64
|
+
*/
|
|
65
|
+
export interface GraphicDescriptionContextProps {
|
|
66
|
+
/** @internal */
|
|
67
|
+
readonly [_implementationProhibited]: unknown;
|
|
68
|
+
}
|
|
69
|
+
/** Context holding resources like transient Ids, textures, and materials that were allocated on a [Worker](https://developer.mozilla.org/en-US/docs/Web/API/Worker) by a
|
|
70
|
+
* [[WorkerGraphicDescriptionContext]] for use in [[GraphicDescription]]s. This context must be supplied to [[RenderSystem.createGraphicFromDescription]] when converting a
|
|
71
|
+
* GraphicDescription to a [[RenderGraphic]].
|
|
72
|
+
* @see [[RenderSystem.resolveGraphicDescriptionContext]] to obtain an implementation of this type.
|
|
73
|
+
* @beta
|
|
74
|
+
*/
|
|
75
|
+
export interface GraphicDescriptionContext {
|
|
76
|
+
/** @internal */
|
|
77
|
+
readonly [_implementationProhibited]: unknown;
|
|
78
|
+
/** A function that remaps the local Id portion of an [Id64String]($bentley) allocated by [[WorkerGraphicDescriptionContext.transientIds]], to that of the corresponding
|
|
79
|
+
* Id allocated by [[IModelConnection.transientIds]].
|
|
80
|
+
*/
|
|
81
|
+
remapTransientLocalId(sourceLocalId: number): number;
|
|
82
|
+
/** @internal */
|
|
83
|
+
[_textures]: Map<string, RenderTexture>;
|
|
84
|
+
}
|
|
85
|
+
//# sourceMappingURL=GraphicDescriptionContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GraphicDescriptionContext.d.ts","sourceRoot":"","sources":["../../../../src/common/render/GraphicDescriptionContext.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,yBAAyB,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAE3E,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC5H,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,qCAAqC;IACrC,IAAI,CAAC,EAAE,aAAa,CAAC,IAAI,CAAC;IAC1B,+CAA+C;IAC/C,MAAM,EAAE,WAAW,GAAG,WAAW,GAAG,GAAG,CAAC;IACxC;;OAEG;IACH,YAAY,CAAC,EAAE,mBAAmB,CAAC;CACpC;AAED;;;;GAIG;AACH,MAAM,WAAW,oCAAoC;IACnD,gBAAgB;IAChB,QAAQ,CAAC,CAAC,yBAAyB,CAAC,EAAE,OAAO,CAAC;CAC/C;AAED;;;;GAIG;AACH,MAAM,WAAW,+BAA+B;IAC9C,gBAAgB;IAChB,QAAQ,CAAC,CAAC,yBAAyB,CAAC,EAAE,OAAO,CAAC;IAC9C;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,mBAAmB,CAAC;IAC3C;;;OAGG;IACH,OAAO,CAAC,aAAa,EAAE,GAAG,CAAC,YAAY,CAAC,GAAG,8BAA8B,CAAC;IAE1E,+BAA+B;IAC/B,cAAc,CAAC,MAAM,EAAE,cAAc,GAAG,cAAc,CAAC;IACvD,wBAAwB;IACxB,aAAa,CAAC,MAAM,EAAE,mBAAmB,GAAG,aAAa,CAAC;IAC1D,iIAAiI;IACjI,qBAAqB,CAAC,QAAQ,EAAE,QAAQ,CAAC,IAAI,GAAG,aAAa,CAAC;CAC/D;AAED,YAAY;AACZ,yBAAiB,+BAA+B,CAAC;IAC/C,4DAA4D;IAC5D,SAAgB,SAAS,CAAC,KAAK,EAAE,oCAAoC,GAAG,+BAA+B,CAEtG;CACF;AAED;;;;;GAKG;AACH,MAAM,WAAW,8BAA8B;IAC7C,gBAAgB;IAChB,QAAQ,CAAC,CAAC,yBAAyB,CAAC,EAAE,OAAO,CAAC;CAC/C;AAED;;;;;GAKG;AACH,MAAM,WAAW,yBAAyB;IACxC,gBAAgB;IAChB,QAAQ,CAAC,CAAC,yBAAyB,CAAC,EAAE,OAAO,CAAC;IAC9C;;OAEG;IACH,qBAAqB,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,CAAC;IACrD,gBAAgB;IAChB,CAAC,SAAS,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;CACzC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*---------------------------------------------------------------------------------------------
|
|
3
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
4
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
5
|
+
*--------------------------------------------------------------------------------------------*/
|
|
6
|
+
/** @packageDocumentation
|
|
7
|
+
* @module Rendering
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.WorkerGraphicDescriptionContext = void 0;
|
|
11
|
+
const Symbols_1 = require("../internal/Symbols");
|
|
12
|
+
const GraphicDescriptionContextImpl_1 = require("../internal/render/GraphicDescriptionContextImpl");
|
|
13
|
+
/** @beta */
|
|
14
|
+
var WorkerGraphicDescriptionContext;
|
|
15
|
+
(function (WorkerGraphicDescriptionContext) {
|
|
16
|
+
/** Instantiate a context from its opaque representation. */
|
|
17
|
+
function fromProps(props) {
|
|
18
|
+
return new GraphicDescriptionContextImpl_1.WorkerGraphicDescriptionContextImpl(props);
|
|
19
|
+
}
|
|
20
|
+
WorkerGraphicDescriptionContext.fromProps = fromProps;
|
|
21
|
+
})(WorkerGraphicDescriptionContext || (exports.WorkerGraphicDescriptionContext = WorkerGraphicDescriptionContext = {}));
|
|
22
|
+
//# sourceMappingURL=GraphicDescriptionContext.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GraphicDescriptionContext.js","sourceRoot":"","sources":["../../../../src/common/render/GraphicDescriptionContext.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAGH,iDAA2E;AAC3E,oGAAuG;AAsDvG,YAAY;AACZ,IAAiB,+BAA+B,CAK/C;AALD,WAAiB,+BAA+B;IAC9C,4DAA4D;IAC5D,SAAgB,SAAS,CAAC,KAA2C;QACnE,OAAO,IAAI,mEAAmC,CAAC,KAAK,CAAC,CAAC;IACxD,CAAC;IAFe,yCAAS,YAExB,CAAA;AACH,CAAC,EALgB,+BAA+B,+CAA/B,+BAA+B,QAK/C","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Rendering\r\n */\r\n\r\nimport { TransientIdSequence } from \"@itwin/core-bentley\";\r\nimport { _implementationProhibited, _textures } from \"../internal/Symbols\";\r\nimport { WorkerGraphicDescriptionContextImpl } from \"../internal/render/GraphicDescriptionContextImpl\";\r\nimport { Gradient, ImageBuffer, ImageSource, RenderMaterial, RenderTexture, TextureTransparency } from \"@itwin/core-common\";\r\nimport { MaterialParams } from \"./MaterialParams\";\r\n\r\n/** Parameters describing a [[RenderTexture]] to be created on a Worker by [[WorkerGraphicDescriptionContext.createTexture]].\r\n * @beta\r\n */\r\nexport interface WorkerTextureParams {\r\n /** The type of texture to create. */\r\n type?: RenderTexture.Type;\r\n /** Describes the image used by the texture. */\r\n source: ImageBuffer | ImageSource | URL;\r\n /** Describes the transparency of the image. If this information can be supplied, it can improve performance. Otherwise,\r\n * an attempt will be made to infer it.\r\n */\r\n transparency?: TextureTransparency;\r\n}\r\n\r\n/** An opaque representation of a [[WorkerGraphicDescriptionContext]] that can be passed from the main thread to a [Worker](https://developer.mozilla.org/en-US/docs/Web/API/Worker).\r\n * @see [[RenderSystem.createWorkerGraphicDescriptionContextProps]] to obtain an implementation of this type.\r\n * @see [[WorkerGraphicDescriptionContext.fromProps]] to instantiate the context on a Worker from this representation.\r\n * @beta\r\n */\r\nexport interface WorkerGraphicDescriptionContextProps {\r\n /** @internal */\r\n readonly [_implementationProhibited]: unknown;\r\n}\r\n\r\n/** Context allocated on a [Worker](https://developer.mozilla.org/en-US/docs/Web/API/Worker) to enable it to create [[GraphicDescription]]s.\r\n * When the Worker returns one or more GraphicDescriptions to the main thread, it should also return this context as a [[GraphicDescriptionContextProps]].\r\n * @see [[WorkerGraphicDescriptionContext.fromProps]] to instantiate this type.\r\n * @beta\r\n */\r\nexport interface WorkerGraphicDescriptionContext {\r\n /** @internal */\r\n readonly [_implementationProhibited]: unknown;\r\n /** A \"fork\" of the iModel's transient Id sequence obtained from the main thread. New Ids generated by this sequence on the Worker will be\r\n * merged into the original sequence by [[RenderSystem.resolveGraphicDescriptionContext]].\r\n */\r\n readonly transientIds: TransientIdSequence;\r\n /** Converts this context to a representation that can be passed back to the main thread.\r\n * @param transferables A set of [transferable objects](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Transferable_objects) that\r\n * can be efficiently copied to the main thread.\r\n */\r\n toProps(transferables: Set<Transferable>): GraphicDescriptionContextProps;\r\n\r\n /** Create a RenderMaterial. */\r\n createMaterial(params: MaterialParams): RenderMaterial;\r\n /** Create a texture. */\r\n createTexture(params: WorkerTextureParams): RenderTexture;\r\n /** Create a texture from a gradient. If a texture was previously created using the same gradient settings, it will be reused. */\r\n createGradientTexture(gradient: Gradient.Symb): RenderTexture;\r\n}\r\n\r\n/** @beta */\r\nexport namespace WorkerGraphicDescriptionContext {\r\n /** Instantiate a context from its opaque representation. */\r\n export function fromProps(props: WorkerGraphicDescriptionContextProps): WorkerGraphicDescriptionContext {\r\n return new WorkerGraphicDescriptionContextImpl(props);\r\n }\r\n}\r\n\r\n/** Describes a [[GraphicDescriptionContext]] returned from a [Worker](https://developer.mozilla.org/en-US/docs/Web/API/Worker) to the main thread, holding resources like\r\n * transient Ids, textures, and materials that were allocated on the Worker for use by [[GraphicDescription]]s.\r\n * @see [[WorkerGraphicDescriptionContext.toProps]] to obtain an implementation of this type.\r\n * @see [[RenderSystem.resolveGraphicDescriptionContext]] to instantiate the context from this representation.\r\n * @beta\r\n */\r\nexport interface GraphicDescriptionContextProps {\r\n /** @internal */\r\n readonly [_implementationProhibited]: unknown;\r\n}\r\n\r\n/** Context holding resources like transient Ids, textures, and materials that were allocated on a [Worker](https://developer.mozilla.org/en-US/docs/Web/API/Worker) by a\r\n * [[WorkerGraphicDescriptionContext]] for use in [[GraphicDescription]]s. This context must be supplied to [[RenderSystem.createGraphicFromDescription]] when converting a\r\n * GraphicDescription to a [[RenderGraphic]].\r\n * @see [[RenderSystem.resolveGraphicDescriptionContext]] to obtain an implementation of this type.\r\n * @beta\r\n */\r\nexport interface GraphicDescriptionContext {\r\n /** @internal */\r\n readonly [_implementationProhibited]: unknown;\r\n /** A function that remaps the local Id portion of an [Id64String]($bentley) allocated by [[WorkerGraphicDescriptionContext.transientIds]], to that of the corresponding\r\n * Id allocated by [[IModelConnection.transientIds]].\r\n */\r\n remapTransientLocalId(sourceLocalId: number): number;\r\n /** @internal */\r\n [_textures]: Map<string, RenderTexture>;\r\n}\r\n\r\n"]}
|
package/lib/cjs/common.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export * from "./common/ImageUtil";
|
|
|
3
3
|
export * from "./common/render/BatchOptions";
|
|
4
4
|
export * from "./common/render/GraphicAssembler";
|
|
5
5
|
export * from "./common/render/GraphicDescriptionBuilder";
|
|
6
|
+
export * from "./common/render/GraphicDescriptionContext";
|
|
6
7
|
export * from "./common/render/GraphicPrimitive";
|
|
7
8
|
export * from "./common/render/GraphicType";
|
|
8
9
|
export * from "./common/render/InstancedGraphicParams";
|
package/lib/cjs/common.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/common.ts"],"names":[],"mappings":"AAOA,cAAc,iCAAiC,CAAC;AAChD,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC;AACjD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,kCAAkC,CAAC;AACjD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wCAAwC,CAAC;AACvD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/common.ts"],"names":[],"mappings":"AAOA,cAAc,iCAAiC,CAAC;AAChD,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC;AACjD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,kCAAkC,CAAC;AACjD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wCAAwC,CAAC;AACvD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC"}
|
package/lib/cjs/common.js
CHANGED
|
@@ -24,6 +24,7 @@ __exportStar(require("./common/ImageUtil"), exports);
|
|
|
24
24
|
__exportStar(require("./common/render/BatchOptions"), exports);
|
|
25
25
|
__exportStar(require("./common/render/GraphicAssembler"), exports);
|
|
26
26
|
__exportStar(require("./common/render/GraphicDescriptionBuilder"), exports);
|
|
27
|
+
__exportStar(require("./common/render/GraphicDescriptionContext"), exports);
|
|
27
28
|
__exportStar(require("./common/render/GraphicPrimitive"), exports);
|
|
28
29
|
__exportStar(require("./common/render/GraphicType"), exports);
|
|
29
30
|
__exportStar(require("./common/render/InstancedGraphicParams"), exports);
|
package/lib/cjs/common.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../src/common.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;;;;;;;;;;;;;;;;AAE/F,8EAA8E;AAE9E,kEAAgD;AAChD,qDAAmC;AACnC,+DAA6C;AAC7C,mEAAiD;AACjD,4EAA0D;AAC1D,mEAAiD;AACjD,8DAA4C;AAC5C,yEAAuD;AACvD,iEAA+C;AAC/C,gEAA8C;AAC9C,oDAAkC;AAClC,uDAAqC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n\r\n// barrel for non-internal APIs in ./common. Re-exported from core-frontend.ts\r\n\r\nexport * from \"./common/FrontendLoggerCategory\";\r\nexport * from \"./common/ImageUtil\";\r\nexport * from \"./common/render/BatchOptions\";\r\nexport * from \"./common/render/GraphicAssembler\";\r\nexport * from \"./common/render/GraphicDescriptionBuilder\";\r\nexport * from \"./common/render/GraphicPrimitive\";\r\nexport * from \"./common/render/GraphicType\";\r\nexport * from \"./common/render/InstancedGraphicParams\";\r\nexport * from \"./common/render/MaterialParams\";\r\nexport * from \"./common/render/TextureParams\";\r\nexport * from \"./common/ViewRect\";\r\nexport * from \"./common/WorkerProxy\";\r\n"]}
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../src/common.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;;;;;;;;;;;;;;;;AAE/F,8EAA8E;AAE9E,kEAAgD;AAChD,qDAAmC;AACnC,+DAA6C;AAC7C,mEAAiD;AACjD,4EAA0D;AAC1D,4EAA0D;AAC1D,mEAAiD;AACjD,8DAA4C;AAC5C,yEAAuD;AACvD,iEAA+C;AAC/C,gEAA8C;AAC9C,oDAAkC;AAClC,uDAAqC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n\r\n// barrel for non-internal APIs in ./common. Re-exported from core-frontend.ts\r\n\r\nexport * from \"./common/FrontendLoggerCategory\";\r\nexport * from \"./common/ImageUtil\";\r\nexport * from \"./common/render/BatchOptions\";\r\nexport * from \"./common/render/GraphicAssembler\";\r\nexport * from \"./common/render/GraphicDescriptionBuilder\";\r\nexport * from \"./common/render/GraphicDescriptionContext\";\r\nexport * from \"./common/render/GraphicPrimitive\";\r\nexport * from \"./common/render/GraphicType\";\r\nexport * from \"./common/render/InstancedGraphicParams\";\r\nexport * from \"./common/render/MaterialParams\";\r\nexport * from \"./common/render/TextureParams\";\r\nexport * from \"./common/ViewRect\";\r\nexport * from \"./common/WorkerProxy\";\r\n"]}
|
|
@@ -31,7 +31,8 @@ import { CreateTextureArgs, CreateTextureFromSourceArgs } from "./CreateTextureA
|
|
|
31
31
|
import { ScreenSpaceEffectBuilder, ScreenSpaceEffectBuilderParams } from "./ScreenSpaceEffectBuilder";
|
|
32
32
|
import { GraphicType } from "../common/render/GraphicType";
|
|
33
33
|
import { BatchOptions } from "../common/render/BatchOptions";
|
|
34
|
-
import { GraphicDescription
|
|
34
|
+
import { GraphicDescription } from "../common/render/GraphicDescriptionBuilder";
|
|
35
|
+
import { GraphicDescriptionContext, GraphicDescriptionContextProps, WorkerGraphicDescriptionContextProps } from "../common/render/GraphicDescriptionContext";
|
|
35
36
|
/** An opaque representation of a texture draped on geometry within a [[Viewport]].
|
|
36
37
|
* @internal
|
|
37
38
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RenderSystem.d.ts","sourceRoot":"","sources":["../../../src/render/RenderSystem.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAA4B,UAAU,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACxF,OAAO,EACL,QAAQ,EAAc,mBAAmB,EAA6C,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAqB,WAAW,EAAE,iBAAiB,EACpH,kBAAkB,EAAE,cAAc,EAAE,aAAa,EAAE,WAAW,EAClH,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAW,OAAO,EAAE,OAAO,EAAW,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC5H,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAEhE,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAgC,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAEzG,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,EAA2B,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AACzG,OAAO,EAAwB,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAChG,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,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