@onerjs/core 8.32.4 → 8.32.5

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.
Files changed (40) hide show
  1. package/Engines/Extensions/engine.computeShader.d.ts +2 -3
  2. package/Engines/Extensions/engine.computeShader.js.map +1 -1
  3. package/Engines/ICanvas.d.ts +3 -3
  4. package/Engines/ICanvas.js.map +1 -1
  5. package/Engines/webgpuEngine.js +2 -2
  6. package/Engines/webgpuEngine.js.map +1 -1
  7. package/FrameGraph/Node/Blocks/Rendering/baseObjectRendererBlock.d.ts +3 -0
  8. package/FrameGraph/Node/Blocks/Rendering/baseObjectRendererBlock.js +29 -14
  9. package/FrameGraph/Node/Blocks/Rendering/baseObjectRendererBlock.js.map +1 -1
  10. package/FrameGraph/Node/Blocks/Rendering/geometryRendererBlock.d.ts +12 -41
  11. package/FrameGraph/Node/Blocks/Rendering/geometryRendererBlock.js +106 -184
  12. package/FrameGraph/Node/Blocks/Rendering/geometryRendererBlock.js.map +1 -1
  13. package/FrameGraph/Passes/renderPass.js +3 -1
  14. package/FrameGraph/Passes/renderPass.js.map +1 -1
  15. package/FrameGraph/Tasks/Rendering/geometryRendererTask.d.ts +17 -58
  16. package/FrameGraph/Tasks/Rendering/geometryRendererTask.js +112 -122
  17. package/FrameGraph/Tasks/Rendering/geometryRendererTask.js.map +1 -1
  18. package/FrameGraph/Tasks/Rendering/objectRendererTask.d.ts +11 -0
  19. package/FrameGraph/Tasks/Rendering/objectRendererTask.js +62 -26
  20. package/FrameGraph/Tasks/Rendering/objectRendererTask.js.map +1 -1
  21. package/FrameGraph/Tasks/Texture/clearTextureTask.js +18 -8
  22. package/FrameGraph/Tasks/Texture/clearTextureTask.js.map +1 -1
  23. package/FrameGraph/frameGraphContext.js +2 -2
  24. package/FrameGraph/frameGraphContext.js.map +1 -1
  25. package/FrameGraph/frameGraphRenderContext.js +3 -3
  26. package/FrameGraph/frameGraphRenderContext.js.map +1 -1
  27. package/FrameGraph/frameGraphTask.js +2 -2
  28. package/FrameGraph/frameGraphTask.js.map +1 -1
  29. package/FrameGraph/frameGraphUtils.d.ts +2 -2
  30. package/FrameGraph/frameGraphUtils.js +6 -6
  31. package/FrameGraph/frameGraphUtils.js.map +1 -1
  32. package/Inputs/scene.inputManager.js +2 -0
  33. package/Inputs/scene.inputManager.js.map +1 -1
  34. package/Materials/materialHelper.geometryrendering.d.ts +5 -1
  35. package/Materials/materialHelper.geometryrendering.js +11 -2
  36. package/Materials/materialHelper.geometryrendering.js.map +1 -1
  37. package/Rendering/objectRenderer.d.ts +6 -2
  38. package/Rendering/objectRenderer.js +69 -63
  39. package/Rendering/objectRenderer.js.map +1 -1
  40. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { __decorate } from "../../../../tslib.es6.js";
2
- import { NodeRenderGraphBlock } from "../../nodeRenderGraphBlock.js";
2
+ import { NodeRenderGraphBaseObjectRendererBlock } from "./baseObjectRendererBlock.js";
3
3
  import { RegisterClass } from "../../../../Misc/typeStore.js";
4
4
  import { NodeRenderGraphBlockConnectionPointTypes } from "../../Types/nodeRenderGraphTypes.js";
5
5
  import { editableInPropertyPage } from "../../../../Decorators/nodeDecorator.js";
@@ -8,7 +8,7 @@ import { FrameGraphGeometryRendererTask } from "../../../Tasks/Rendering/geometr
8
8
  /**
9
9
  * Block that render geometry of objects to a multi render target
10
10
  */
11
- export class NodeRenderGraphGeometryRendererBlock extends NodeRenderGraphBlock {
11
+ export class NodeRenderGraphGeometryRendererBlock extends NodeRenderGraphBaseObjectRendererBlock {
12
12
  /**
13
13
  * Gets the frame graph task associated with this block
14
14
  */
@@ -58,12 +58,7 @@ export class NodeRenderGraphGeometryRendererBlock extends NodeRenderGraphBlock {
58
58
  // Linear velocity
59
59
  this.linearVelocityFormat = 5;
60
60
  this.linearVelocityType = 2;
61
- this._additionalConstructionParameters = [doNotChangeAspectRatio, enableClusteredLights];
62
- this.registerInput("depth", NodeRenderGraphBlockConnectionPointTypes.AutoDetect, true);
63
- this.registerInput("camera", NodeRenderGraphBlockConnectionPointTypes.Camera);
64
- this.registerInput("objects", NodeRenderGraphBlockConnectionPointTypes.ObjectList);
65
- this._addDependenciesInput();
66
- this.registerOutput("outputDepth", NodeRenderGraphBlockConnectionPointTypes.BasedOnInput);
61
+ this.getInputByName("target").isOptional = true;
67
62
  this.registerOutput("geomViewDepth", NodeRenderGraphBlockConnectionPointTypes.TextureViewDepth);
68
63
  this.registerOutput("geomNormViewDepth", NodeRenderGraphBlockConnectionPointTypes.TextureNormalizedViewDepth);
69
64
  this.registerOutput("geomScreenDepth", NodeRenderGraphBlockConnectionPointTypes.TextureScreenDepth);
@@ -75,72 +70,56 @@ export class NodeRenderGraphGeometryRendererBlock extends NodeRenderGraphBlock {
75
70
  this.registerOutput("geomReflectivity", NodeRenderGraphBlockConnectionPointTypes.TextureReflectivity);
76
71
  this.registerOutput("geomVelocity", NodeRenderGraphBlockConnectionPointTypes.TextureVelocity);
77
72
  this.registerOutput("geomLinearVelocity", NodeRenderGraphBlockConnectionPointTypes.TextureLinearVelocity);
78
- this.depth.addExcludedConnectionPointFromAllowedTypes(NodeRenderGraphBlockConnectionPointTypes.TextureDepthStencilAttachment | NodeRenderGraphBlockConnectionPointTypes.TextureBackBufferDepthStencilAttachment);
79
- this.outputDepth._typeConnectionSource = this.depth;
80
73
  this._frameGraphTask = new FrameGraphGeometryRendererTask(this.name, frameGraph, scene, { doNotChangeAspectRatio, enableClusteredLights });
81
74
  }
82
- /** Indicates if depth testing must be enabled or disabled */
83
- get depthTest() {
84
- return this._frameGraphTask.depthTest;
85
- }
86
- set depthTest(value) {
87
- this._frameGraphTask.depthTest = value;
88
- }
89
- /** Indicates if depth writing must be enabled or disabled */
90
- get depthWrite() {
91
- return this._frameGraphTask.depthWrite;
92
- }
93
- set depthWrite(value) {
94
- this._frameGraphTask.depthWrite = value;
95
- }
96
- /** Indicates if layer mask check must be forced */
97
- get forceLayerMaskCheck() {
98
- return this._frameGraphTask.forceLayerMaskCheck;
99
- }
100
- set forceLayerMaskCheck(value) {
101
- this._frameGraphTask.forceLayerMaskCheck = value;
102
- }
103
- _recreateFrameGraphObject(doNotChangeAspectRatio, enableClusteredLights) {
104
- const disabled = this._frameGraphTask.disabled;
105
- const depthTest = this.depthTest;
106
- const depthWrite = this.depthWrite;
107
- const width = this.width;
108
- const height = this.height;
109
- const forceLayerMaskCheck = this.forceLayerMaskCheck;
110
- const sizeInPercentage = this.sizeInPercentage;
111
- const samples = this.samples;
112
- const reverseCulling = this.reverseCulling;
113
- const dontRenderWhenMaterialDepthWriteIsDisabled = this.dontRenderWhenMaterialDepthWriteIsDisabled;
114
- this._frameGraphTask.dispose();
75
+ _createFrameGraphObject() {
76
+ this._frameGraphTask?.dispose();
115
77
  this._frameGraphTask = new FrameGraphGeometryRendererTask(this.name, this._frameGraph, this._scene, {
116
- doNotChangeAspectRatio: doNotChangeAspectRatio,
117
- enableClusteredLights: enableClusteredLights,
78
+ doNotChangeAspectRatio: this._additionalConstructionParameters[0],
79
+ enableClusteredLights: this._additionalConstructionParameters[1],
118
80
  });
119
- this._additionalConstructionParameters = [doNotChangeAspectRatio, enableClusteredLights];
120
- this.depthTest = depthTest;
121
- this.depthWrite = depthWrite;
122
- this.width = width;
123
- this.height = height;
124
- this.forceLayerMaskCheck = forceLayerMaskCheck;
125
- this.sizeInPercentage = sizeInPercentage;
126
- this.samples = samples;
127
- this.reverseCulling = reverseCulling;
128
- this.dontRenderWhenMaterialDepthWriteIsDisabled = dontRenderWhenMaterialDepthWriteIsDisabled;
129
- this._frameGraphTask.disabled = disabled;
130
- }
131
- /** True (default) to not change the aspect ratio of the scene in the RTT */
132
- get doNotChangeAspectRatio() {
133
- return this._frameGraphTask.objectRenderer.options.doNotChangeAspectRatio;
134
- }
135
- set doNotChangeAspectRatio(value) {
136
- this._recreateFrameGraphObject(value, this.enableClusteredLights);
137
- }
138
- /** True (default) to enable clustered lights */
139
- get enableClusteredLights() {
140
- return this._frameGraphTask.objectRenderer.options.enableClusteredLights;
141
- }
142
- set enableClusteredLights(value) {
143
- this._recreateFrameGraphObject(this.doNotChangeAspectRatio, value);
81
+ }
82
+ _saveState(state) {
83
+ super._saveState(state);
84
+ state.disabled = this._frameGraphTask.disabled;
85
+ state.isMainObjectRenderer = this.isMainObjectRenderer;
86
+ state.depthTest = this.depthTest;
87
+ state.depthWrite = this.depthWrite;
88
+ state.disableShadows = this.disableShadows;
89
+ state.renderInLinearSpace = this.renderInLinearSpace;
90
+ state.renderParticles = this.renderParticles;
91
+ state.renderSprites = this.renderSprites;
92
+ state.forceLayerMaskCheck = this.forceLayerMaskCheck;
93
+ state.enableBoundingBoxRendering = this.enableBoundingBoxRendering;
94
+ state.enableOutlineRendering = this.enableOutlineRendering;
95
+ state.width = this.width;
96
+ state.height = this.height;
97
+ state.sizeInPercentage = this.sizeInPercentage;
98
+ state.samples = this.samples;
99
+ state.reverseCulling = this.reverseCulling;
100
+ state.dontRenderWhenMaterialDepthWriteIsDisabled = this.dontRenderWhenMaterialDepthWriteIsDisabled;
101
+ state.disableDepthPrePass = this.disableDepthPrePass;
102
+ }
103
+ _restoreState(state) {
104
+ super._restoreState(state);
105
+ this._frameGraphTask.disabled = state.disabled;
106
+ this.isMainObjectRenderer = state.isMainObjectRenderer;
107
+ this.depthTest = state.depthTest;
108
+ this.depthWrite = state.depthWrite;
109
+ this.disableShadows = state.disableShadows;
110
+ this.renderInLinearSpace = state.renderInLinearSpace;
111
+ this.renderParticles = state.renderParticles;
112
+ this.renderSprites = state.renderSprites;
113
+ this.forceLayerMaskCheck = state.forceLayerMaskCheck;
114
+ this.enableBoundingBoxRendering = state.enableBoundingBoxRendering;
115
+ this.enableOutlineRendering = state.enableOutlineRendering;
116
+ this.width = state.width;
117
+ this.height = state.height;
118
+ this.sizeInPercentage = state.sizeInPercentage;
119
+ this.samples = state.samples;
120
+ this.reverseCulling = state.reverseCulling;
121
+ this.dontRenderWhenMaterialDepthWriteIsDisabled = state.dontRenderWhenMaterialDepthWriteIsDisabled;
122
+ this.disableDepthPrePass = state.disableDepthPrePass;
144
123
  }
145
124
  /** Width of the geometry texture */
146
125
  get width() {
@@ -184,19 +163,12 @@ export class NodeRenderGraphGeometryRendererBlock extends NodeRenderGraphBlock {
184
163
  set dontRenderWhenMaterialDepthWriteIsDisabled(value) {
185
164
  this._frameGraphTask.dontRenderWhenMaterialDepthWriteIsDisabled = value;
186
165
  }
187
- /** If true, MSAA color textures will be resolved at the end of the render pass (default: true) */
188
- get resolveMSAAColors() {
189
- return this._frameGraphTask.resolveMSAAColors;
190
- }
191
- set resolveMSAAColors(value) {
192
- this._frameGraphTask.resolveMSAAColors = value;
193
- }
194
- /** If true, MSAA depth texture will be resolved at the end of the render pass (default: false) */
195
- get resolveMSAADepth() {
196
- return this._frameGraphTask.resolveMSAADepth;
166
+ /** Indicates if depth pre-pass must be disabled */
167
+ get disableDepthPrePass() {
168
+ return this._frameGraphTask.disableDepthPrePass;
197
169
  }
198
- set resolveMSAADepth(value) {
199
- this._frameGraphTask.resolveMSAADepth = value;
170
+ set disableDepthPrePass(value) {
171
+ this._frameGraphTask.disableDepthPrePass = value;
200
172
  }
201
173
  /**
202
174
  * Gets the current class name
@@ -205,95 +177,71 @@ export class NodeRenderGraphGeometryRendererBlock extends NodeRenderGraphBlock {
205
177
  getClassName() {
206
178
  return "NodeRenderGraphGeometryRendererBlock";
207
179
  }
208
- /**
209
- * Gets the depth texture input component
210
- */
211
- get depth() {
212
- return this._inputs[0];
213
- }
214
- /**
215
- * Gets the camera input component
216
- */
217
- get camera() {
218
- return this._inputs[1];
219
- }
220
- /**
221
- * Gets the objects input component
222
- */
223
- get objects() {
224
- return this._inputs[2];
225
- }
226
- /**
227
- * Gets the output depth component
228
- */
229
- get outputDepth() {
230
- return this._outputs[0];
231
- }
232
180
  /**
233
181
  * Gets the geometry view depth component
234
182
  */
235
183
  get geomViewDepth() {
236
- return this._outputs[1];
184
+ return this._outputs[3];
237
185
  }
238
186
  /**
239
187
  * Gets the geometry normalized view depth component
240
188
  */
241
189
  get geomNormViewDepth() {
242
- return this._outputs[2];
190
+ return this._outputs[4];
243
191
  }
244
192
  /**
245
193
  * Gets the geometry screen depth component
246
194
  */
247
195
  get geomScreenDepth() {
248
- return this._outputs[3];
196
+ return this._outputs[5];
249
197
  }
250
198
  /**
251
199
  * Gets the geometry view normal component
252
200
  */
253
201
  get geomViewNormal() {
254
- return this._outputs[4];
202
+ return this._outputs[6];
255
203
  }
256
204
  /**
257
205
  * Gets the world geometry normal component
258
206
  */
259
207
  get geomWorldNormal() {
260
- return this._outputs[5];
208
+ return this._outputs[7];
261
209
  }
262
210
  /**
263
211
  * Gets the geometry local position component
264
212
  */
265
213
  get geomLocalPosition() {
266
- return this._outputs[6];
214
+ return this._outputs[8];
267
215
  }
268
216
  /**
269
217
  * Gets the geometry world position component
270
218
  */
271
219
  get geomWorldPosition() {
272
- return this._outputs[7];
220
+ return this._outputs[9];
273
221
  }
274
222
  /**
275
223
  * Gets the geometry albedo component
276
224
  */
277
225
  get geomAlbedo() {
278
- return this._outputs[8];
226
+ return this._outputs[10];
279
227
  }
280
228
  /**
281
229
  * Gets the geometry reflectivity component
282
230
  */
283
231
  get geomReflectivity() {
284
- return this._outputs[9];
232
+ return this._outputs[11];
285
233
  }
286
234
  /**
287
235
  * Gets the geometry velocity component
288
236
  */
289
237
  get geomVelocity() {
290
- return this._outputs[10];
238
+ return this._outputs[12];
291
239
  }
292
240
  /**
293
241
  * Gets the geometry linear velocity component
294
242
  */
295
243
  get geomLinearVelocity() {
296
- return this._outputs[11];
244
+ return this._outputs[13];
297
245
  }
298
246
  _buildBlock(state) {
299
247
  super._buildBlock(state);
@@ -310,7 +258,6 @@ export class NodeRenderGraphGeometryRendererBlock extends NodeRenderGraphBlock {
310
258
  this.geomVelocity.isConnected,
311
259
  this.geomLinearVelocity.isConnected,
312
260
  ];
313
- this.outputDepth.value = this._frameGraphTask.outputDepthTexture;
314
261
  this.geomViewDepth.value = this._frameGraphTask.geometryViewDepthTexture;
315
262
  this.geomNormViewDepth.value = this._frameGraphTask.geometryNormViewDepthTexture;
316
263
  this.geomScreenDepth.value = this._frameGraphTask.geometryScreenDepthTexture;
@@ -322,9 +269,6 @@ export class NodeRenderGraphGeometryRendererBlock extends NodeRenderGraphBlock {
322
269
  this.geomReflectivity.value = this._frameGraphTask.geometryReflectivityTexture;
323
270
  this.geomVelocity.value = this._frameGraphTask.geometryVelocityTexture;
324
271
  this.geomLinearVelocity.value = this._frameGraphTask.geometryLinearVelocityTexture;
325
- this._frameGraphTask.depthTexture = this.depth.connectedPoint?.value;
326
- this._frameGraphTask.camera = this.camera.connectedPoint?.value;
327
- this._frameGraphTask.objectList = this.objects.connectedPoint?.value;
328
272
  this._frameGraphTask.textureDescriptions = [];
329
273
  const textureFormats = [
330
274
  this.viewDepthFormat,
@@ -377,12 +321,12 @@ export class NodeRenderGraphGeometryRendererBlock extends NodeRenderGraphBlock {
377
321
  }
378
322
  _dumpPropertiesCode() {
379
323
  const codes = [];
380
- codes.push(`${this._codeVariableName}.depthTest = ${this.depthTest};`);
381
- codes.push(`${this._codeVariableName}.depthWrite = ${this.depthWrite};`);
382
- codes.push(`${this._codeVariableName}.forceLayerMaskCheck = ${this.forceLayerMaskCheck};`);
324
+ codes.push(`${this._codeVariableName}.size = { width: ${this.width}, height: ${this.height} };`);
325
+ codes.push(`${this._codeVariableName}.sizeInPercentage = ${this.sizeInPercentage};`);
383
326
  codes.push(`${this._codeVariableName}.samples = ${this.samples};`);
384
327
  codes.push(`${this._codeVariableName}.reverseCulling = ${this.reverseCulling};`);
385
328
  codes.push(`${this._codeVariableName}.dontRenderWhenMaterialDepthWriteIsDisabled = ${this.dontRenderWhenMaterialDepthWriteIsDisabled};`);
329
+ codes.push(`${this._codeVariableName}.disableDepthPrePass = ${this.disableDepthPrePass};`);
386
330
  codes.push(`${this._codeVariableName}.viewDepthFormat = ${this.viewDepthFormat};`);
387
331
  codes.push(`${this._codeVariableName}.viewDepthType = ${this.viewDepthType};`);
388
332
  codes.push(`${this._codeVariableName}.normalizedViewDepthFormat = ${this.normalizedViewDepthFormat};`);
@@ -405,18 +349,17 @@ export class NodeRenderGraphGeometryRendererBlock extends NodeRenderGraphBlock {
405
349
  codes.push(`${this._codeVariableName}.velocityType = ${this.velocityType};`);
406
350
  codes.push(`${this._codeVariableName}.linearVelocityFormat = ${this.linearVelocityFormat};`);
407
351
  codes.push(`${this._codeVariableName}.linearVelocityType = ${this.linearVelocityType};`);
408
- codes.push(`${this._codeVariableName}.resolveMSAAColors = ${this.resolveMSAAColors};`);
409
- codes.push(`${this._codeVariableName}.resolveMSAADepth = ${this.resolveMSAADepth};`);
410
352
  return super._dumpPropertiesCode() + codes.join("\n");
411
353
  }
412
354
  serialize() {
413
355
  const serializationObject = super.serialize();
414
- serializationObject.depthTest = this.depthTest;
415
- serializationObject.depthWrite = this.depthWrite;
416
- serializationObject.forceLayerMaskCheck = this.forceLayerMaskCheck;
356
+ serializationObject.sizeInPercentage = this.sizeInPercentage;
357
+ serializationObject.width = this.width;
358
+ serializationObject.height = this.height;
417
359
  serializationObject.samples = this.samples;
418
360
  serializationObject.reverseCulling = this.reverseCulling;
419
361
  serializationObject.dontRenderWhenMaterialDepthWriteIsDisabled = this.dontRenderWhenMaterialDepthWriteIsDisabled;
362
+ serializationObject.disableDepthPrePass = this.disableDepthPrePass;
420
363
  serializationObject.viewDepthFormat = this.viewDepthFormat;
421
364
  serializationObject.viewDepthType = this.viewDepthType;
422
365
  serializationObject.normalizedViewDepthFormat = this.normalizedViewDepthFormat;
@@ -439,18 +382,17 @@ export class NodeRenderGraphGeometryRendererBlock extends NodeRenderGraphBlock {
439
382
  serializationObject.velocityType = this.velocityType;
440
383
  serializationObject.linearVelocityFormat = this.linearVelocityFormat;
441
384
  serializationObject.linearVelocityType = this.linearVelocityType;
442
- serializationObject.resolveMSAAColors = this.resolveMSAAColors;
443
- serializationObject.resolveMSAADepth = this.resolveMSAADepth;
444
385
  return serializationObject;
445
386
  }
446
387
  _deserialize(serializationObject) {
447
388
  super._deserialize(serializationObject);
448
- this.depthTest = serializationObject.depthTest;
449
- this.depthWrite = serializationObject.depthWrite;
450
- this.forceLayerMaskCheck = !!serializationObject.forceLayerMaskCheck;
389
+ this.sizeInPercentage = !!serializationObject.sizeInPercentage;
390
+ this.width = serializationObject.width ?? 100;
391
+ this.height = serializationObject.height ?? 100;
451
392
  this.samples = serializationObject.samples;
452
393
  this.reverseCulling = serializationObject.reverseCulling;
453
394
  this.dontRenderWhenMaterialDepthWriteIsDisabled = serializationObject.dontRenderWhenMaterialDepthWriteIsDisabled;
395
+ this.disableDepthPrePass = serializationObject.disableDepthPrePass ?? true;
454
396
  this.viewDepthFormat = serializationObject.viewDepthFormat;
455
397
  this.viewDepthType = serializationObject.viewDepthType;
456
398
  this.normalizedViewDepthFormat = serializationObject.normalizedViewDepthFormat ?? 6;
@@ -473,114 +415,94 @@ export class NodeRenderGraphGeometryRendererBlock extends NodeRenderGraphBlock {
473
415
  this.velocityType = serializationObject.velocityType;
474
416
  this.linearVelocityFormat = serializationObject.linearVelocityFormat;
475
417
  this.linearVelocityType = serializationObject.linearVelocityType;
476
- this.resolveMSAAColors = serializationObject.resolveMSAAColors ?? true;
477
- this.resolveMSAADepth = serializationObject.resolveMSAADepth ?? false;
478
418
  }
479
419
  }
480
420
  __decorate([
481
- editableInPropertyPage("Depth test", 0 /* PropertyTypeForEdition.Boolean */, "PROPERTIES")
482
- ], NodeRenderGraphGeometryRendererBlock.prototype, "depthTest", null);
483
- __decorate([
484
- editableInPropertyPage("Depth write", 0 /* PropertyTypeForEdition.Boolean */, "PROPERTIES")
485
- ], NodeRenderGraphGeometryRendererBlock.prototype, "depthWrite", null);
486
- __decorate([
487
- editableInPropertyPage("Force layer mask check", 0 /* PropertyTypeForEdition.Boolean */, "PROPERTIES")
488
- ], NodeRenderGraphGeometryRendererBlock.prototype, "forceLayerMaskCheck", null);
489
- __decorate([
490
- editableInPropertyPage("Do not change aspect ratio", 0 /* PropertyTypeForEdition.Boolean */, "PROPERTIES")
491
- ], NodeRenderGraphGeometryRendererBlock.prototype, "doNotChangeAspectRatio", null);
492
- __decorate([
493
- editableInPropertyPage("Enable clustered lights", 0 /* PropertyTypeForEdition.Boolean */, "PROPERTIES")
494
- ], NodeRenderGraphGeometryRendererBlock.prototype, "enableClusteredLights", null);
495
- __decorate([
496
- editableInPropertyPage("Texture width", 2 /* PropertyTypeForEdition.Int */, "PROPERTIES")
421
+ editableInPropertyPage("Texture width", 2 /* PropertyTypeForEdition.Int */, "RENDERING - GEOMETRY")
497
422
  ], NodeRenderGraphGeometryRendererBlock.prototype, "width", null);
498
423
  __decorate([
499
- editableInPropertyPage("Texture height", 2 /* PropertyTypeForEdition.Int */, "PROPERTIES")
424
+ editableInPropertyPage("Texture height", 2 /* PropertyTypeForEdition.Int */, "RENDERING - GEOMETRY")
500
425
  ], NodeRenderGraphGeometryRendererBlock.prototype, "height", null);
501
426
  __decorate([
502
- editableInPropertyPage("Size is in percentage", 0 /* PropertyTypeForEdition.Boolean */, "PROPERTIES")
427
+ editableInPropertyPage("Size is in percentage", 0 /* PropertyTypeForEdition.Boolean */, "RENDERING - GEOMETRY")
503
428
  ], NodeRenderGraphGeometryRendererBlock.prototype, "sizeInPercentage", null);
504
429
  __decorate([
505
- editableInPropertyPage("Samples", 2 /* PropertyTypeForEdition.Int */, "PROPERTIES", { min: 1, max: 8 })
430
+ editableInPropertyPage("Samples", 2 /* PropertyTypeForEdition.Int */, "RENDERING - GEOMETRY", { min: 1, max: 8 })
506
431
  ], NodeRenderGraphGeometryRendererBlock.prototype, "samples", null);
507
432
  __decorate([
508
- editableInPropertyPage("Reverse culling", 0 /* PropertyTypeForEdition.Boolean */, "PROPERTIES")
433
+ editableInPropertyPage("Reverse culling", 0 /* PropertyTypeForEdition.Boolean */, "RENDERING - GEOMETRY")
509
434
  ], NodeRenderGraphGeometryRendererBlock.prototype, "reverseCulling", null);
510
435
  __decorate([
511
- editableInPropertyPage("Don't render if material depth write is disabled", 0 /* PropertyTypeForEdition.Boolean */, "PROPERTIES")
436
+ editableInPropertyPage("Don't render if material depth write is disabled", 0 /* PropertyTypeForEdition.Boolean */, "RENDERING - GEOMETRY")
512
437
  ], NodeRenderGraphGeometryRendererBlock.prototype, "dontRenderWhenMaterialDepthWriteIsDisabled", null);
513
438
  __decorate([
514
- editableInPropertyPage("Resolve MSAA colors", 0 /* PropertyTypeForEdition.Boolean */, "PROPERTIES")
515
- ], NodeRenderGraphGeometryRendererBlock.prototype, "resolveMSAAColors", null);
516
- __decorate([
517
- editableInPropertyPage("Resolve MSAA depth", 0 /* PropertyTypeForEdition.Boolean */, "PROPERTIES")
518
- ], NodeRenderGraphGeometryRendererBlock.prototype, "resolveMSAADepth", null);
439
+ editableInPropertyPage("Disable depth pre-pass", 0 /* PropertyTypeForEdition.Boolean */, "RENDERING - GEOMETRY")
440
+ ], NodeRenderGraphGeometryRendererBlock.prototype, "disableDepthPrePass", null);
519
441
  __decorate([
520
- editableInPropertyPage("View depth format", 9 /* PropertyTypeForEdition.TextureFormat */, "GEOMETRY BUFFERS")
442
+ editableInPropertyPage("Format", 9 /* PropertyTypeForEdition.TextureFormat */, "OUTPUT - VIEW DEPTH")
521
443
  ], NodeRenderGraphGeometryRendererBlock.prototype, "viewDepthFormat", void 0);
522
444
  __decorate([
523
- editableInPropertyPage("View depth type", 10 /* PropertyTypeForEdition.TextureType */, "GEOMETRY BUFFERS")
445
+ editableInPropertyPage("Type", 10 /* PropertyTypeForEdition.TextureType */, "OUTPUT - VIEW DEPTH")
524
446
  ], NodeRenderGraphGeometryRendererBlock.prototype, "viewDepthType", void 0);
525
447
  __decorate([
526
- editableInPropertyPage("Normalized view depth format", 9 /* PropertyTypeForEdition.TextureFormat */, "GEOMETRY BUFFERS")
448
+ editableInPropertyPage("Format", 9 /* PropertyTypeForEdition.TextureFormat */, "OUTPUT - NORMALIZED VIEW DEPTH")
527
449
  ], NodeRenderGraphGeometryRendererBlock.prototype, "normalizedViewDepthFormat", void 0);
528
450
  __decorate([
529
- editableInPropertyPage("Normalized view depth type", 10 /* PropertyTypeForEdition.TextureType */, "GEOMETRY BUFFERS")
451
+ editableInPropertyPage("Type", 10 /* PropertyTypeForEdition.TextureType */, "OUTPUT - NORMALIZED VIEW DEPTH")
530
452
  ], NodeRenderGraphGeometryRendererBlock.prototype, "normalizedViewDepthType", void 0);
531
453
  __decorate([
532
- editableInPropertyPage("Screen depth format", 9 /* PropertyTypeForEdition.TextureFormat */, "GEOMETRY BUFFERS")
454
+ editableInPropertyPage("Format", 9 /* PropertyTypeForEdition.TextureFormat */, "OUTPUT - SCREEN DEPTH")
533
455
  ], NodeRenderGraphGeometryRendererBlock.prototype, "screenDepthFormat", void 0);
534
456
  __decorate([
535
- editableInPropertyPage("Screen depth type", 10 /* PropertyTypeForEdition.TextureType */, "GEOMETRY BUFFERS")
457
+ editableInPropertyPage("Type", 10 /* PropertyTypeForEdition.TextureType */, "OUTPUT - SCREEN DEPTH")
536
458
  ], NodeRenderGraphGeometryRendererBlock.prototype, "screenDepthType", void 0);
537
459
  __decorate([
538
- editableInPropertyPage("View normal format", 9 /* PropertyTypeForEdition.TextureFormat */, "GEOMETRY BUFFERS")
460
+ editableInPropertyPage("Format", 9 /* PropertyTypeForEdition.TextureFormat */, "OUTPUT - VIEW NORMAL")
539
461
  ], NodeRenderGraphGeometryRendererBlock.prototype, "viewNormalFormat", void 0);
540
462
  __decorate([
541
- editableInPropertyPage("View normal type", 10 /* PropertyTypeForEdition.TextureType */, "GEOMETRY BUFFERS")
463
+ editableInPropertyPage("Type", 10 /* PropertyTypeForEdition.TextureType */, "OUTPUT - VIEW NORMAL")
542
464
  ], NodeRenderGraphGeometryRendererBlock.prototype, "viewNormalType", void 0);
543
465
  __decorate([
544
- editableInPropertyPage("World normal format", 9 /* PropertyTypeForEdition.TextureFormat */, "GEOMETRY BUFFERS")
466
+ editableInPropertyPage("Format", 9 /* PropertyTypeForEdition.TextureFormat */, "OUTPUT - WORLD NORMAL")
545
467
  ], NodeRenderGraphGeometryRendererBlock.prototype, "worldNormalFormat", void 0);
546
468
  __decorate([
547
- editableInPropertyPage("World normal type", 10 /* PropertyTypeForEdition.TextureType */, "GEOMETRY BUFFERS")
469
+ editableInPropertyPage("Type", 10 /* PropertyTypeForEdition.TextureType */, "OUTPUT - WORLD NORMAL")
548
470
  ], NodeRenderGraphGeometryRendererBlock.prototype, "worldNormalType", void 0);
549
471
  __decorate([
550
- editableInPropertyPage("Local position format", 9 /* PropertyTypeForEdition.TextureFormat */, "GEOMETRY BUFFERS")
472
+ editableInPropertyPage("Format", 9 /* PropertyTypeForEdition.TextureFormat */, "OUTPUT - LOCAL POSITION")
551
473
  ], NodeRenderGraphGeometryRendererBlock.prototype, "localPositionFormat", void 0);
552
474
  __decorate([
553
- editableInPropertyPage("Local position type", 10 /* PropertyTypeForEdition.TextureType */, "GEOMETRY BUFFERS")
475
+ editableInPropertyPage("Type", 10 /* PropertyTypeForEdition.TextureType */, "OUTPUT - LOCAL POSITION")
554
476
  ], NodeRenderGraphGeometryRendererBlock.prototype, "localPositionType", void 0);
555
477
  __decorate([
556
- editableInPropertyPage("World position format", 9 /* PropertyTypeForEdition.TextureFormat */, "GEOMETRY BUFFERS")
478
+ editableInPropertyPage("Format", 9 /* PropertyTypeForEdition.TextureFormat */, "OUTPUT - WORLD POSITION")
557
479
  ], NodeRenderGraphGeometryRendererBlock.prototype, "worldPositionFormat", void 0);
558
480
  __decorate([
559
- editableInPropertyPage("World position type", 10 /* PropertyTypeForEdition.TextureType */, "GEOMETRY BUFFERS")
481
+ editableInPropertyPage("Type", 10 /* PropertyTypeForEdition.TextureType */, "OUTPUT - WORLD POSITION")
560
482
  ], NodeRenderGraphGeometryRendererBlock.prototype, "worldPositionType", void 0);
561
483
  __decorate([
562
- editableInPropertyPage("Albedo format", 9 /* PropertyTypeForEdition.TextureFormat */, "GEOMETRY BUFFERS")
484
+ editableInPropertyPage("Format", 9 /* PropertyTypeForEdition.TextureFormat */, "OUTPUT - ALBEDO")
563
485
  ], NodeRenderGraphGeometryRendererBlock.prototype, "albedoFormat", void 0);
564
486
  __decorate([
565
- editableInPropertyPage("Albedo type", 10 /* PropertyTypeForEdition.TextureType */, "GEOMETRY BUFFERS")
487
+ editableInPropertyPage("Type", 10 /* PropertyTypeForEdition.TextureType */, "OUTPUT - ALBEDO")
566
488
  ], NodeRenderGraphGeometryRendererBlock.prototype, "albedoType", void 0);
567
489
  __decorate([
568
- editableInPropertyPage("Reflectivity format", 9 /* PropertyTypeForEdition.TextureFormat */, "GEOMETRY BUFFERS")
490
+ editableInPropertyPage("Format", 9 /* PropertyTypeForEdition.TextureFormat */, "OUTPUT - REFLECTIVITY")
569
491
  ], NodeRenderGraphGeometryRendererBlock.prototype, "reflectivityFormat", void 0);
570
492
  __decorate([
571
- editableInPropertyPage("Reflectivity type", 10 /* PropertyTypeForEdition.TextureType */, "GEOMETRY BUFFERS")
493
+ editableInPropertyPage("Type", 10 /* PropertyTypeForEdition.TextureType */, "OUTPUT - REFLECTIVITY")
572
494
  ], NodeRenderGraphGeometryRendererBlock.prototype, "reflectivityType", void 0);
573
495
  __decorate([
574
- editableInPropertyPage("Velocity format", 9 /* PropertyTypeForEdition.TextureFormat */, "GEOMETRY BUFFERS")
496
+ editableInPropertyPage("Format", 9 /* PropertyTypeForEdition.TextureFormat */, "OUTPUT - VELOCITY")
575
497
  ], NodeRenderGraphGeometryRendererBlock.prototype, "velocityFormat", void 0);
576
498
  __decorate([
577
- editableInPropertyPage("Velocity type", 10 /* PropertyTypeForEdition.TextureType */, "GEOMETRY BUFFERS")
499
+ editableInPropertyPage("Type", 10 /* PropertyTypeForEdition.TextureType */, "OUTPUT - VELOCITY")
578
500
  ], NodeRenderGraphGeometryRendererBlock.prototype, "velocityType", void 0);
579
501
  __decorate([
580
- editableInPropertyPage("Linear velocity format", 9 /* PropertyTypeForEdition.TextureFormat */, "GEOMETRY BUFFERS")
502
+ editableInPropertyPage("Format", 9 /* PropertyTypeForEdition.TextureFormat */, "OUTPUT - LINEAR VELOCITY")
581
503
  ], NodeRenderGraphGeometryRendererBlock.prototype, "linearVelocityFormat", void 0);
582
504
  __decorate([
583
- editableInPropertyPage("Linear velocity type", 10 /* PropertyTypeForEdition.TextureType */, "GEOMETRY BUFFERS")
505
+ editableInPropertyPage("Type", 10 /* PropertyTypeForEdition.TextureType */, "OUTPUT - LINEAR VELOCITY")
584
506
  ], NodeRenderGraphGeometryRendererBlock.prototype, "linearVelocityType", void 0);
585
507
  RegisterClass("BABYLON.NodeRenderGraphGeometryRendererBlock", NodeRenderGraphGeometryRendererBlock);
586
508
  //# sourceMappingURL=geometryRendererBlock.js.map