@onerjs/core 8.28.1 → 8.28.3

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 (78) hide show
  1. package/Collisions/gpuPicker.d.ts +40 -16
  2. package/Collisions/gpuPicker.js +216 -95
  3. package/Collisions/gpuPicker.js.map +1 -1
  4. package/Decorators/nodeDecorator.d.ts +5 -1
  5. package/Decorators/nodeDecorator.js +4 -0
  6. package/Decorators/nodeDecorator.js.map +1 -1
  7. package/Engines/abstractEngine.js +2 -2
  8. package/Engines/abstractEngine.js.map +1 -1
  9. package/FrameGraph/Node/Blocks/PostProcesses/colorCorrectionPostProcessBlock.d.ts +30 -0
  10. package/FrameGraph/Node/Blocks/PostProcesses/colorCorrectionPostProcessBlock.js +56 -0
  11. package/FrameGraph/Node/Blocks/PostProcesses/colorCorrectionPostProcessBlock.js.map +1 -0
  12. package/FrameGraph/Node/Blocks/PostProcesses/filterPostProcessBlock.d.ts +32 -0
  13. package/FrameGraph/Node/Blocks/PostProcesses/filterPostProcessBlock.js +62 -0
  14. package/FrameGraph/Node/Blocks/PostProcesses/filterPostProcessBlock.js.map +1 -0
  15. package/FrameGraph/Node/Blocks/PostProcesses/tonemapPostProcessBlock.d.ts +36 -0
  16. package/FrameGraph/Node/Blocks/PostProcesses/tonemapPostProcessBlock.js +88 -0
  17. package/FrameGraph/Node/Blocks/PostProcesses/tonemapPostProcessBlock.js.map +1 -0
  18. package/FrameGraph/Node/Blocks/index.d.ts +3 -0
  19. package/FrameGraph/Node/Blocks/index.js +3 -0
  20. package/FrameGraph/Node/Blocks/index.js.map +1 -1
  21. package/FrameGraph/Tasks/PostProcesses/colorCorrectionTask.d.ts +17 -0
  22. package/FrameGraph/Tasks/PostProcesses/colorCorrectionTask.js +18 -0
  23. package/FrameGraph/Tasks/PostProcesses/colorCorrectionTask.js.map +1 -0
  24. package/FrameGraph/Tasks/PostProcesses/filterTask.d.ts +16 -0
  25. package/FrameGraph/Tasks/PostProcesses/filterTask.js +17 -0
  26. package/FrameGraph/Tasks/PostProcesses/filterTask.js.map +1 -0
  27. package/FrameGraph/Tasks/PostProcesses/tonemapTask.d.ts +16 -0
  28. package/FrameGraph/Tasks/PostProcesses/tonemapTask.js +17 -0
  29. package/FrameGraph/Tasks/PostProcesses/tonemapTask.js.map +1 -0
  30. package/FrameGraph/index.d.ts +3 -0
  31. package/FrameGraph/index.js +3 -0
  32. package/FrameGraph/index.js.map +1 -1
  33. package/Materials/effect.d.ts +1 -0
  34. package/Materials/effect.js +7 -1
  35. package/Materials/effect.js.map +1 -1
  36. package/Meshes/GaussianSplatting/gaussianSplattingMesh.js +11 -9
  37. package/Meshes/GaussianSplatting/gaussianSplattingMesh.js.map +1 -1
  38. package/Meshes/abstractMesh.d.ts +0 -20
  39. package/Meshes/abstractMesh.js +0 -44
  40. package/Meshes/abstractMesh.js.map +1 -1
  41. package/Physics/v2/physicsAggregate.js +4 -3
  42. package/Physics/v2/physicsAggregate.js.map +1 -1
  43. package/PostProcesses/colorCorrectionPostProcess.d.ts +3 -3
  44. package/PostProcesses/colorCorrectionPostProcess.js +21 -21
  45. package/PostProcesses/colorCorrectionPostProcess.js.map +1 -1
  46. package/PostProcesses/filterPostProcess.d.ts +4 -2
  47. package/PostProcesses/filterPostProcess.js +22 -15
  48. package/PostProcesses/filterPostProcess.js.map +1 -1
  49. package/PostProcesses/index.d.ts +3 -0
  50. package/PostProcesses/index.js +3 -0
  51. package/PostProcesses/index.js.map +1 -1
  52. package/PostProcesses/thinColorCorrectionPostProcess.d.ts +30 -0
  53. package/PostProcesses/thinColorCorrectionPostProcess.js +52 -0
  54. package/PostProcesses/thinColorCorrectionPostProcess.js.map +1 -0
  55. package/PostProcesses/thinFilterPostProcess.d.ts +29 -0
  56. package/PostProcesses/thinFilterPostProcess.js +51 -0
  57. package/PostProcesses/thinFilterPostProcess.js.map +1 -0
  58. package/PostProcesses/thinTonemapPostProcess.d.ts +52 -0
  59. package/PostProcesses/thinTonemapPostProcess.js +83 -0
  60. package/PostProcesses/thinTonemapPostProcess.js.map +1 -0
  61. package/PostProcesses/tonemapPostProcess.d.ts +23 -21
  62. package/PostProcesses/tonemapPostProcess.js +55 -46
  63. package/PostProcesses/tonemapPostProcess.js.map +1 -1
  64. package/Shaders/picking.fragment.js +20 -6
  65. package/Shaders/picking.fragment.js.map +1 -1
  66. package/Shaders/picking.vertex.js +4 -3
  67. package/Shaders/picking.vertex.js.map +1 -1
  68. package/ShadersWGSL/picking.fragment.js +11 -6
  69. package/ShadersWGSL/picking.fragment.js.map +1 -1
  70. package/ShadersWGSL/picking.vertex.js +4 -3
  71. package/ShadersWGSL/picking.vertex.js.map +1 -1
  72. package/node.d.ts +16 -0
  73. package/node.js +32 -0
  74. package/node.js.map +1 -1
  75. package/package.json +1 -1
  76. package/scene.d.ts +1 -1
  77. package/scene.js +2 -2
  78. package/scene.js.map +1 -1
@@ -0,0 +1,30 @@
1
+ import type { Scene, FrameGraph } from "../../../../index.js";
2
+ import { FrameGraphColorCorrectionTask } from "../../../Tasks/PostProcesses/colorCorrectionTask.js";
3
+ import { NodeRenderGraphBasePostProcessBlock } from "./basePostProcessBlock.js";
4
+ /**
5
+ * Block that implements the color correction post process
6
+ */
7
+ export declare class NodeRenderGraphColorCorrectionPostProcessBlock extends NodeRenderGraphBasePostProcessBlock {
8
+ protected _frameGraphTask: FrameGraphColorCorrectionTask;
9
+ /**
10
+ * Gets the frame graph task associated with this block
11
+ */
12
+ get task(): FrameGraphColorCorrectionTask;
13
+ /**
14
+ * Create a new NodeRenderGraphColorCorrectionPostProcessBlock
15
+ * @param name defines the block name
16
+ * @param frameGraph defines the hosting frame graph
17
+ * @param scene defines the hosting scene
18
+ * @param colorTableUrl defines the URL of the color table
19
+ */
20
+ constructor(name: string, frameGraph: FrameGraph, scene: Scene, colorTableUrl?: string);
21
+ private _createTask;
22
+ /** The color table URL */
23
+ get colorTableUrl(): string;
24
+ set colorTableUrl(value: string);
25
+ /**
26
+ * Gets the current class name
27
+ * @returns the class name
28
+ */
29
+ getClassName(): string;
30
+ }
@@ -0,0 +1,56 @@
1
+ import { __decorate } from "../../../../tslib.es6.js";
2
+ import { RegisterClass } from "../../../../Misc/typeStore.js";
3
+ import { editableInPropertyPage } from "../../../../Decorators/nodeDecorator.js";
4
+ import { FrameGraphColorCorrectionTask } from "../../../Tasks/PostProcesses/colorCorrectionTask.js";
5
+ import { NodeRenderGraphBasePostProcessBlock } from "./basePostProcessBlock.js";
6
+ import { ThinColorCorrectionPostProcess } from "../../../../PostProcesses/thinColorCorrectionPostProcess.js";
7
+ /**
8
+ * Block that implements the color correction post process
9
+ */
10
+ export class NodeRenderGraphColorCorrectionPostProcessBlock extends NodeRenderGraphBasePostProcessBlock {
11
+ /**
12
+ * Gets the frame graph task associated with this block
13
+ */
14
+ get task() {
15
+ return this._frameGraphTask;
16
+ }
17
+ /**
18
+ * Create a new NodeRenderGraphColorCorrectionPostProcessBlock
19
+ * @param name defines the block name
20
+ * @param frameGraph defines the hosting frame graph
21
+ * @param scene defines the hosting scene
22
+ * @param colorTableUrl defines the URL of the color table
23
+ */
24
+ constructor(name, frameGraph, scene, colorTableUrl = "") {
25
+ super(name, frameGraph, scene);
26
+ this._additionalConstructionParameters = [colorTableUrl];
27
+ this._finalizeInputOutputRegistering();
28
+ this._frameGraphTask = new FrameGraphColorCorrectionTask(this.name, frameGraph, colorTableUrl, new ThinColorCorrectionPostProcess(name, frameGraph.scene, colorTableUrl));
29
+ }
30
+ _createTask(colorTableUrl) {
31
+ const sourceSamplingMode = this._frameGraphTask.sourceSamplingMode;
32
+ this._frameGraphTask.dispose();
33
+ this._frameGraphTask = new FrameGraphColorCorrectionTask(this.name, this._frameGraph, colorTableUrl, new ThinColorCorrectionPostProcess(this.name, this._frameGraph.scene, colorTableUrl));
34
+ this._frameGraphTask.sourceSamplingMode = sourceSamplingMode;
35
+ this._additionalConstructionParameters = [colorTableUrl];
36
+ }
37
+ /** The color table URL */
38
+ get colorTableUrl() {
39
+ return this._frameGraphTask.postProcess.colorTableUrl;
40
+ }
41
+ set colorTableUrl(value) {
42
+ this._createTask(value);
43
+ }
44
+ /**
45
+ * Gets the current class name
46
+ * @returns the class name
47
+ */
48
+ getClassName() {
49
+ return "NodeRenderGraphColorCorrectionPostProcessBlock";
50
+ }
51
+ }
52
+ __decorate([
53
+ editableInPropertyPage("Color Table URL", 10 /* PropertyTypeForEdition.String */, "PROPERTIES")
54
+ ], NodeRenderGraphColorCorrectionPostProcessBlock.prototype, "colorTableUrl", null);
55
+ RegisterClass("BABYLON.NodeRenderGraphColorCorrectionPostProcessBlock", NodeRenderGraphColorCorrectionPostProcessBlock);
56
+ //# sourceMappingURL=colorCorrectionPostProcessBlock.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"colorCorrectionPostProcessBlock.js","sourceRoot":"","sources":["../../../../../../../dev/core/src/FrameGraph/Node/Blocks/PostProcesses/colorCorrectionPostProcessBlock.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,sBAAsB,EAA0B,MAAM,sCAAsC,CAAC;AACtG,OAAO,EAAE,6BAA6B,EAAE,MAAM,kDAAkD,CAAC;AACjG,OAAO,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAC7E,OAAO,EAAE,8BAA8B,EAAE,MAAM,0DAA0D,CAAC;AAE1G;;GAEG;AACH,MAAM,OAAO,8CAA+C,SAAQ,mCAAmC;IAGnG;;OAEG;IACH,IAAoB,IAAI;QACpB,OAAO,IAAI,CAAC,eAAe,CAAC;IAChC,CAAC;IAED;;;;;;OAMG;IACH,YAAmB,IAAY,EAAE,UAAsB,EAAE,KAAY,EAAE,gBAAwB,EAAE;QAC7F,KAAK,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,CAAC,CAAC;QAE/B,IAAI,CAAC,iCAAiC,GAAG,CAAC,aAAa,CAAC,CAAC;QAEzD,IAAI,CAAC,+BAA+B,EAAE,CAAC;QAEvC,IAAI,CAAC,eAAe,GAAG,IAAI,6BAA6B,CAAC,IAAI,CAAC,IAAI,EAAE,UAAU,EAAE,aAAa,EAAE,IAAI,8BAA8B,CAAC,IAAI,EAAE,UAAU,CAAC,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC;IAC9K,CAAC;IAEO,WAAW,CAAC,aAAqB;QACrC,MAAM,kBAAkB,GAAG,IAAI,CAAC,eAAe,CAAC,kBAAkB,CAAC;QAEnE,IAAI,CAAC,eAAe,CAAC,OAAO,EAAE,CAAC;QAE/B,IAAI,CAAC,eAAe,GAAG,IAAI,6BAA6B,CACpD,IAAI,CAAC,IAAI,EACT,IAAI,CAAC,WAAW,EAChB,aAAa,EACb,IAAI,8BAA8B,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,aAAa,CAAC,CACvF,CAAC;QACF,IAAI,CAAC,eAAe,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAE7D,IAAI,CAAC,iCAAiC,GAAG,CAAC,aAAa,CAAC,CAAC;IAC7D,CAAC;IAED,0BAA0B;IAE1B,IAAW,aAAa;QACpB,OAAO,IAAI,CAAC,eAAe,CAAC,WAAW,CAAC,aAAa,CAAC;IAC1D,CAAC;IAED,IAAW,aAAa,CAAC,KAAa;QAClC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IAC5B,CAAC;IAED;;;OAGG;IACa,YAAY;QACxB,OAAO,gDAAgD,CAAC;IAC5D,CAAC;CACJ;AAfG;IADC,sBAAsB,CAAC,iBAAiB,0CAAiC,YAAY,CAAC;mFAGtF;AAeL,aAAa,CAAC,wDAAwD,EAAE,8CAA8C,CAAC,CAAC","sourcesContent":["import type { Scene, FrameGraph } from \"core/index\";\r\nimport { RegisterClass } from \"../../../../Misc/typeStore\";\r\nimport { editableInPropertyPage, PropertyTypeForEdition } from \"../../../../Decorators/nodeDecorator\";\r\nimport { FrameGraphColorCorrectionTask } from \"../../../Tasks/PostProcesses/colorCorrectionTask\";\r\nimport { NodeRenderGraphBasePostProcessBlock } from \"./basePostProcessBlock\";\r\nimport { ThinColorCorrectionPostProcess } from \"../../../../PostProcesses/thinColorCorrectionPostProcess\";\r\n\r\n/**\r\n * Block that implements the color correction post process\r\n */\r\nexport class NodeRenderGraphColorCorrectionPostProcessBlock extends NodeRenderGraphBasePostProcessBlock {\r\n protected override _frameGraphTask: FrameGraphColorCorrectionTask;\r\n\r\n /**\r\n * Gets the frame graph task associated with this block\r\n */\r\n public override get task() {\r\n return this._frameGraphTask;\r\n }\r\n\r\n /**\r\n * Create a new NodeRenderGraphColorCorrectionPostProcessBlock\r\n * @param name defines the block name\r\n * @param frameGraph defines the hosting frame graph\r\n * @param scene defines the hosting scene\r\n * @param colorTableUrl defines the URL of the color table\r\n */\r\n public constructor(name: string, frameGraph: FrameGraph, scene: Scene, colorTableUrl: string = \"\") {\r\n super(name, frameGraph, scene);\r\n\r\n this._additionalConstructionParameters = [colorTableUrl];\r\n\r\n this._finalizeInputOutputRegistering();\r\n\r\n this._frameGraphTask = new FrameGraphColorCorrectionTask(this.name, frameGraph, colorTableUrl, new ThinColorCorrectionPostProcess(name, frameGraph.scene, colorTableUrl));\r\n }\r\n\r\n private _createTask(colorTableUrl: string) {\r\n const sourceSamplingMode = this._frameGraphTask.sourceSamplingMode;\r\n\r\n this._frameGraphTask.dispose();\r\n\r\n this._frameGraphTask = new FrameGraphColorCorrectionTask(\r\n this.name,\r\n this._frameGraph,\r\n colorTableUrl,\r\n new ThinColorCorrectionPostProcess(this.name, this._frameGraph.scene, colorTableUrl)\r\n );\r\n this._frameGraphTask.sourceSamplingMode = sourceSamplingMode;\r\n\r\n this._additionalConstructionParameters = [colorTableUrl];\r\n }\r\n\r\n /** The color table URL */\r\n @editableInPropertyPage(\"Color Table URL\", PropertyTypeForEdition.String, \"PROPERTIES\")\r\n public get colorTableUrl(): string {\r\n return this._frameGraphTask.postProcess.colorTableUrl;\r\n }\r\n\r\n public set colorTableUrl(value: string) {\r\n this._createTask(value);\r\n }\r\n\r\n /**\r\n * Gets the current class name\r\n * @returns the class name\r\n */\r\n public override getClassName() {\r\n return \"NodeRenderGraphColorCorrectionPostProcessBlock\";\r\n }\r\n}\r\n\r\nRegisterClass(\"BABYLON.NodeRenderGraphColorCorrectionPostProcessBlock\", NodeRenderGraphColorCorrectionPostProcessBlock);\r\n"]}
@@ -0,0 +1,32 @@
1
+ import type { Scene, FrameGraph } from "../../../../index.js";
2
+ import { FrameGraphFilterTask } from "../../../Tasks/PostProcesses/filterTask.js";
3
+ import { NodeRenderGraphBasePostProcessBlock } from "./basePostProcessBlock.js";
4
+ import { Matrix } from "../../../../Maths/math.vector.js";
5
+ /**
6
+ * Block that implements the kernel filter post process
7
+ */
8
+ export declare class NodeRenderGraphFilterPostProcessBlock extends NodeRenderGraphBasePostProcessBlock {
9
+ protected _frameGraphTask: FrameGraphFilterTask;
10
+ /**
11
+ * Gets the frame graph task associated with this block
12
+ */
13
+ get task(): FrameGraphFilterTask;
14
+ /**
15
+ * Create a new NodeRenderGraphFilterPostProcessBlock
16
+ * @param name defines the block name
17
+ * @param frameGraph defines the hosting frame graph
18
+ * @param scene defines the hosting scene
19
+ */
20
+ constructor(name: string, frameGraph: FrameGraph, scene: Scene);
21
+ /** The matrix to be applied to the image */
22
+ get kernelMatrix(): Matrix;
23
+ set kernelMatrix(value: Matrix);
24
+ /**
25
+ * Gets the current class name
26
+ * @returns the class name
27
+ */
28
+ getClassName(): string;
29
+ protected _dumpPropertiesCode(): string;
30
+ serialize(): any;
31
+ _deserialize(serializationObject: any): void;
32
+ }
@@ -0,0 +1,62 @@
1
+ import { __decorate } from "../../../../tslib.es6.js";
2
+ import { RegisterClass } from "../../../../Misc/typeStore.js";
3
+ import { editableInPropertyPage } from "../../../../Decorators/nodeDecorator.js";
4
+ import { FrameGraphFilterTask } from "../../../Tasks/PostProcesses/filterTask.js";
5
+ import { ThinFilterPostProcess } from "../../../../PostProcesses/thinFilterPostProcess.js";
6
+ import { NodeRenderGraphBasePostProcessBlock } from "./basePostProcessBlock.js";
7
+ import { Matrix } from "../../../../Maths/math.vector.js";
8
+ /**
9
+ * Block that implements the kernel filter post process
10
+ */
11
+ export class NodeRenderGraphFilterPostProcessBlock extends NodeRenderGraphBasePostProcessBlock {
12
+ /**
13
+ * Gets the frame graph task associated with this block
14
+ */
15
+ get task() {
16
+ return this._frameGraphTask;
17
+ }
18
+ /**
19
+ * Create a new NodeRenderGraphFilterPostProcessBlock
20
+ * @param name defines the block name
21
+ * @param frameGraph defines the hosting frame graph
22
+ * @param scene defines the hosting scene
23
+ */
24
+ constructor(name, frameGraph, scene) {
25
+ super(name, frameGraph, scene);
26
+ this._finalizeInputOutputRegistering();
27
+ this._frameGraphTask = new FrameGraphFilterTask(this.name, frameGraph, new ThinFilterPostProcess(name, scene.getEngine()));
28
+ }
29
+ /** The matrix to be applied to the image */
30
+ get kernelMatrix() {
31
+ return this._frameGraphTask.postProcess.kernelMatrix;
32
+ }
33
+ set kernelMatrix(value) {
34
+ this._frameGraphTask.postProcess.kernelMatrix = value;
35
+ }
36
+ /**
37
+ * Gets the current class name
38
+ * @returns the class name
39
+ */
40
+ getClassName() {
41
+ return "NodeRenderGraphFilterPostProcessBlock";
42
+ }
43
+ _dumpPropertiesCode() {
44
+ const codes = [];
45
+ codes.push(`${this._codeVariableName}.kernelMatrix = ${this.kernelMatrix};`);
46
+ return super._dumpPropertiesCode() + codes.join("\n");
47
+ }
48
+ serialize() {
49
+ const serializationObject = super.serialize();
50
+ serializationObject.kernelMatrix = this.kernelMatrix.asArray();
51
+ return serializationObject;
52
+ }
53
+ _deserialize(serializationObject) {
54
+ super._deserialize(serializationObject);
55
+ this.kernelMatrix = Matrix.FromArray(serializationObject.kernelMatrix);
56
+ }
57
+ }
58
+ __decorate([
59
+ editableInPropertyPage("Matrix", 11 /* PropertyTypeForEdition.Matrix */, "PROPERTIES")
60
+ ], NodeRenderGraphFilterPostProcessBlock.prototype, "kernelMatrix", null);
61
+ RegisterClass("BABYLON.NodeRenderGraphFilterPostProcessBlock", NodeRenderGraphFilterPostProcessBlock);
62
+ //# sourceMappingURL=filterPostProcessBlock.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filterPostProcessBlock.js","sourceRoot":"","sources":["../../../../../../../dev/core/src/FrameGraph/Node/Blocks/PostProcesses/filterPostProcessBlock.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,sBAAsB,EAA0B,MAAM,sCAAsC,CAAC;AACtG,OAAO,EAAE,oBAAoB,EAAE,mDAAuD;AACtF,OAAO,EAAE,qBAAqB,EAAE,2DAAiD;AACjF,OAAO,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAC7E,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAEvD;;GAEG;AACH,MAAM,OAAO,qCAAsC,SAAQ,mCAAmC;IAG1F;;OAEG;IACH,IAAoB,IAAI;QACpB,OAAO,IAAI,CAAC,eAAe,CAAC;IAChC,CAAC;IAED;;;;;OAKG;IACH,YAAmB,IAAY,EAAE,UAAsB,EAAE,KAAY;QACjE,KAAK,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,CAAC,CAAC;QAE/B,IAAI,CAAC,+BAA+B,EAAE,CAAC;QAEvC,IAAI,CAAC,eAAe,GAAG,IAAI,oBAAoB,CAAC,IAAI,CAAC,IAAI,EAAE,UAAU,EAAE,IAAI,qBAAqB,CAAC,IAAI,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC;IAC/H,CAAC;IAED,4CAA4C;IAE5C,IAAW,YAAY;QACnB,OAAO,IAAI,CAAC,eAAe,CAAC,WAAW,CAAC,YAAY,CAAC;IACzD,CAAC;IAED,IAAW,YAAY,CAAC,KAAa;QACjC,IAAI,CAAC,eAAe,CAAC,WAAW,CAAC,YAAY,GAAG,KAAK,CAAC;IAC1D,CAAC;IAED;;;OAGG;IACa,YAAY;QACxB,OAAO,uCAAuC,CAAC;IACnD,CAAC;IAEkB,mBAAmB;QAClC,MAAM,KAAK,GAAa,EAAE,CAAC;QAC3B,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,iBAAiB,mBAAmB,IAAI,CAAC,YAAY,GAAG,CAAC,CAAC;QAC7E,OAAO,KAAK,CAAC,mBAAmB,EAAE,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC1D,CAAC;IAEe,SAAS;QACrB,MAAM,mBAAmB,GAAG,KAAK,CAAC,SAAS,EAAE,CAAC;QAC9C,mBAAmB,CAAC,YAAY,GAAG,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE,CAAC;QAC/D,OAAO,mBAAmB,CAAC;IAC/B,CAAC;IAEe,YAAY,CAAC,mBAAwB;QACjD,KAAK,CAAC,YAAY,CAAC,mBAAmB,CAAC,CAAC;QACxC,IAAI,CAAC,YAAY,GAAG,MAAM,CAAC,SAAS,CAAC,mBAAmB,CAAC,YAAY,CAAC,CAAC;IAC3E,CAAC;CACJ;AAhCG;IADC,sBAAsB,CAAC,QAAQ,0CAAiC,YAAY,CAAC;yEAG7E;AAgCL,aAAa,CAAC,+CAA+C,EAAE,qCAAqC,CAAC,CAAC","sourcesContent":["import type { Scene, FrameGraph } from \"core/index\";\r\nimport { RegisterClass } from \"../../../../Misc/typeStore\";\r\nimport { editableInPropertyPage, PropertyTypeForEdition } from \"../../../../Decorators/nodeDecorator\";\r\nimport { FrameGraphFilterTask } from \"core/FrameGraph/Tasks/PostProcesses/filterTask\";\r\nimport { ThinFilterPostProcess } from \"core/PostProcesses/thinFilterPostProcess\";\r\nimport { NodeRenderGraphBasePostProcessBlock } from \"./basePostProcessBlock\";\r\nimport { Matrix } from \"../../../../Maths/math.vector\";\r\n\r\n/**\r\n * Block that implements the kernel filter post process\r\n */\r\nexport class NodeRenderGraphFilterPostProcessBlock extends NodeRenderGraphBasePostProcessBlock {\r\n protected override _frameGraphTask: FrameGraphFilterTask;\r\n\r\n /**\r\n * Gets the frame graph task associated with this block\r\n */\r\n public override get task() {\r\n return this._frameGraphTask;\r\n }\r\n\r\n /**\r\n * Create a new NodeRenderGraphFilterPostProcessBlock\r\n * @param name defines the block name\r\n * @param frameGraph defines the hosting frame graph\r\n * @param scene defines the hosting scene\r\n */\r\n public constructor(name: string, frameGraph: FrameGraph, scene: Scene) {\r\n super(name, frameGraph, scene);\r\n\r\n this._finalizeInputOutputRegistering();\r\n\r\n this._frameGraphTask = new FrameGraphFilterTask(this.name, frameGraph, new ThinFilterPostProcess(name, scene.getEngine()));\r\n }\r\n\r\n /** The matrix to be applied to the image */\r\n @editableInPropertyPage(\"Matrix\", PropertyTypeForEdition.Matrix, \"PROPERTIES\")\r\n public get kernelMatrix(): Matrix {\r\n return this._frameGraphTask.postProcess.kernelMatrix;\r\n }\r\n\r\n public set kernelMatrix(value: Matrix) {\r\n this._frameGraphTask.postProcess.kernelMatrix = value;\r\n }\r\n\r\n /**\r\n * Gets the current class name\r\n * @returns the class name\r\n */\r\n public override getClassName() {\r\n return \"NodeRenderGraphFilterPostProcessBlock\";\r\n }\r\n\r\n protected override _dumpPropertiesCode() {\r\n const codes: string[] = [];\r\n codes.push(`${this._codeVariableName}.kernelMatrix = ${this.kernelMatrix};`);\r\n return super._dumpPropertiesCode() + codes.join(\"\\n\");\r\n }\r\n\r\n public override serialize(): any {\r\n const serializationObject = super.serialize();\r\n serializationObject.kernelMatrix = this.kernelMatrix.asArray();\r\n return serializationObject;\r\n }\r\n\r\n public override _deserialize(serializationObject: any) {\r\n super._deserialize(serializationObject);\r\n this.kernelMatrix = Matrix.FromArray(serializationObject.kernelMatrix);\r\n }\r\n}\r\n\r\nRegisterClass(\"BABYLON.NodeRenderGraphFilterPostProcessBlock\", NodeRenderGraphFilterPostProcessBlock);\r\n"]}
@@ -0,0 +1,36 @@
1
+ import type { Scene, FrameGraph } from "../../../../index.js";
2
+ import { FrameGraphTonemapTask } from "../../../Tasks/PostProcesses/tonemapTask.js";
3
+ import { NodeRenderGraphBasePostProcessBlock } from "./basePostProcessBlock.js";
4
+ import { TonemappingOperator } from "../../../../PostProcesses/thinTonemapPostProcess.js";
5
+ /**
6
+ * Block that implements the tonemap post process
7
+ */
8
+ export declare class NodeRenderGraphTonemapPostProcessBlock extends NodeRenderGraphBasePostProcessBlock {
9
+ protected _frameGraphTask: FrameGraphTonemapTask;
10
+ /**
11
+ * Gets the frame graph task associated with this block
12
+ */
13
+ get task(): FrameGraphTonemapTask;
14
+ /**
15
+ * Create a new NodeRenderGraphTonemapPostProcessBlock
16
+ * @param name defines the block name
17
+ * @param frameGraph defines the hosting frame graph
18
+ * @param scene defines the hosting scene
19
+ * @param operator defines the operator to use (default: Reinhard)
20
+ */
21
+ constructor(name: string, frameGraph: FrameGraph, scene: Scene, operator?: TonemappingOperator);
22
+ private _createTask;
23
+ get operator(): TonemappingOperator;
24
+ set operator(value: TonemappingOperator);
25
+ /** Defines the required exposure adjustment */
26
+ get exposureAdjustment(): number;
27
+ set exposureAdjustment(value: number);
28
+ /**
29
+ * Gets the current class name
30
+ * @returns the class name
31
+ */
32
+ getClassName(): string;
33
+ protected _dumpPropertiesCode(): string;
34
+ serialize(): any;
35
+ _deserialize(serializationObject: any): void;
36
+ }
@@ -0,0 +1,88 @@
1
+ import { __decorate } from "../../../../tslib.es6.js";
2
+ import { RegisterClass } from "../../../../Misc/typeStore.js";
3
+ import { editableInPropertyPage } from "../../../../Decorators/nodeDecorator.js";
4
+ import { FrameGraphTonemapTask } from "../../../Tasks/PostProcesses/tonemapTask.js";
5
+ import { NodeRenderGraphBasePostProcessBlock } from "./basePostProcessBlock.js";
6
+ import { ThinTonemapPostProcess } from "../../../../PostProcesses/thinTonemapPostProcess.js";
7
+ /**
8
+ * Block that implements the tonemap post process
9
+ */
10
+ export class NodeRenderGraphTonemapPostProcessBlock extends NodeRenderGraphBasePostProcessBlock {
11
+ /**
12
+ * Gets the frame graph task associated with this block
13
+ */
14
+ get task() {
15
+ return this._frameGraphTask;
16
+ }
17
+ /**
18
+ * Create a new NodeRenderGraphTonemapPostProcessBlock
19
+ * @param name defines the block name
20
+ * @param frameGraph defines the hosting frame graph
21
+ * @param scene defines the hosting scene
22
+ * @param operator defines the operator to use (default: Reinhard)
23
+ */
24
+ constructor(name, frameGraph, scene, operator = 1 /* TonemappingOperator.Reinhard */) {
25
+ super(name, frameGraph, scene);
26
+ this._additionalConstructionParameters = [operator];
27
+ this._finalizeInputOutputRegistering();
28
+ this._frameGraphTask = new FrameGraphTonemapTask(this.name, frameGraph, new ThinTonemapPostProcess(name, frameGraph.engine, { operator }));
29
+ }
30
+ _createTask(operator) {
31
+ const sourceSamplingMode = this._frameGraphTask.sourceSamplingMode;
32
+ const exposureAdjustment = this._frameGraphTask.postProcess.exposureAdjustment;
33
+ this._frameGraphTask.dispose();
34
+ this._frameGraphTask = new FrameGraphTonemapTask(this.name, this._frameGraph, new ThinTonemapPostProcess(this.name, this._frameGraph.engine, { operator }));
35
+ this._frameGraphTask.sourceSamplingMode = sourceSamplingMode;
36
+ this._frameGraphTask.postProcess.exposureAdjustment = exposureAdjustment;
37
+ this._additionalConstructionParameters = [operator];
38
+ }
39
+ get operator() {
40
+ return this._frameGraphTask.postProcess.operator;
41
+ }
42
+ set operator(value) {
43
+ this._createTask(value);
44
+ }
45
+ /** Defines the required exposure adjustment */
46
+ get exposureAdjustment() {
47
+ return this._frameGraphTask.postProcess.exposureAdjustment;
48
+ }
49
+ set exposureAdjustment(value) {
50
+ this._frameGraphTask.postProcess.exposureAdjustment = value;
51
+ }
52
+ /**
53
+ * Gets the current class name
54
+ * @returns the class name
55
+ */
56
+ getClassName() {
57
+ return "NodeRenderGraphTonemapPostProcessBlock";
58
+ }
59
+ _dumpPropertiesCode() {
60
+ const codes = [];
61
+ codes.push(`${this._codeVariableName}.exposureAdjustment = ${this.exposureAdjustment};`);
62
+ return super._dumpPropertiesCode() + codes.join("\n");
63
+ }
64
+ serialize() {
65
+ const serializationObject = super.serialize();
66
+ serializationObject.exposureAdjustment = this.exposureAdjustment;
67
+ return serializationObject;
68
+ }
69
+ _deserialize(serializationObject) {
70
+ super._deserialize(serializationObject);
71
+ this.exposureAdjustment = serializationObject.exposureAdjustment;
72
+ }
73
+ }
74
+ __decorate([
75
+ editableInPropertyPage("Operator", 5 /* PropertyTypeForEdition.List */, "PROPERTIES", {
76
+ options: [
77
+ { label: "Hable", value: 0 /* TonemappingOperator.Hable */ },
78
+ { label: "Reinhard", value: 1 /* TonemappingOperator.Reinhard */ },
79
+ { label: "HejiDawson", value: 2 /* TonemappingOperator.HejiDawson */ },
80
+ { label: "Photographic", value: 3 /* TonemappingOperator.Photographic */ },
81
+ ],
82
+ })
83
+ ], NodeRenderGraphTonemapPostProcessBlock.prototype, "operator", null);
84
+ __decorate([
85
+ editableInPropertyPage("Exposure adjustment", 1 /* PropertyTypeForEdition.Float */, "PROPERTIES")
86
+ ], NodeRenderGraphTonemapPostProcessBlock.prototype, "exposureAdjustment", null);
87
+ RegisterClass("BABYLON.NodeRenderGraphTonemapPostProcessBlock", NodeRenderGraphTonemapPostProcessBlock);
88
+ //# sourceMappingURL=tonemapPostProcessBlock.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tonemapPostProcessBlock.js","sourceRoot":"","sources":["../../../../../../../dev/core/src/FrameGraph/Node/Blocks/PostProcesses/tonemapPostProcessBlock.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,sBAAsB,EAA0B,MAAM,sCAAsC,CAAC;AACtG,OAAO,EAAE,qBAAqB,EAAE,MAAM,0CAA0C,CAAC;AACjF,OAAO,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAuB,MAAM,kDAAkD,CAAC;AAE/G;;GAEG;AACH,MAAM,OAAO,sCAAuC,SAAQ,mCAAmC;IAG3F;;OAEG;IACH,IAAoB,IAAI;QACpB,OAAO,IAAI,CAAC,eAAe,CAAC;IAChC,CAAC;IAED;;;;;;OAMG;IACH,YAAmB,IAAY,EAAE,UAAsB,EAAE,KAAY,EAAE,+CAA4D;QAC/H,KAAK,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,CAAC,CAAC;QAE/B,IAAI,CAAC,iCAAiC,GAAG,CAAC,QAAQ,CAAC,CAAC;QAEpD,IAAI,CAAC,+BAA+B,EAAE,CAAC;QAEvC,IAAI,CAAC,eAAe,GAAG,IAAI,qBAAqB,CAAC,IAAI,CAAC,IAAI,EAAE,UAAU,EAAE,IAAI,sBAAsB,CAAC,IAAI,EAAE,UAAU,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC;IAC/I,CAAC;IAEO,WAAW,CAAC,QAA6B;QAC7C,MAAM,kBAAkB,GAAG,IAAI,CAAC,eAAe,CAAC,kBAAkB,CAAC;QACnE,MAAM,kBAAkB,GAAG,IAAI,CAAC,eAAe,CAAC,WAAW,CAAC,kBAAkB,CAAC;QAE/E,IAAI,CAAC,eAAe,CAAC,OAAO,EAAE,CAAC;QAE/B,IAAI,CAAC,eAAe,GAAG,IAAI,qBAAqB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,sBAAsB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC;QAC5J,IAAI,CAAC,eAAe,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7D,IAAI,CAAC,eAAe,CAAC,WAAW,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAEzE,IAAI,CAAC,iCAAiC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxD,CAAC;IAUD,IAAW,QAAQ;QACf,OAAO,IAAI,CAAC,eAAe,CAAC,WAAW,CAAC,QAAQ,CAAC;IACrD,CAAC;IAED,IAAW,QAAQ,CAAC,KAA0B;QAC1C,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IAC5B,CAAC;IAED,+CAA+C;IAE/C,IAAW,kBAAkB;QACzB,OAAO,IAAI,CAAC,eAAe,CAAC,WAAW,CAAC,kBAAkB,CAAC;IAC/D,CAAC;IAED,IAAW,kBAAkB,CAAC,KAAa;QACvC,IAAI,CAAC,eAAe,CAAC,WAAW,CAAC,kBAAkB,GAAG,KAAK,CAAC;IAChE,CAAC;IAED;;;OAGG;IACa,YAAY;QACxB,OAAO,wCAAwC,CAAC;IACpD,CAAC;IAEkB,mBAAmB;QAClC,MAAM,KAAK,GAAa,EAAE,CAAC;QAC3B,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,iBAAiB,yBAAyB,IAAI,CAAC,kBAAkB,GAAG,CAAC,CAAC;QACzF,OAAO,KAAK,CAAC,mBAAmB,EAAE,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC1D,CAAC;IAEe,SAAS;QACrB,MAAM,mBAAmB,GAAG,KAAK,CAAC,SAAS,EAAE,CAAC;QAC9C,mBAAmB,CAAC,kBAAkB,GAAG,IAAI,CAAC,kBAAkB,CAAC;QACjE,OAAO,mBAAmB,CAAC;IAC/B,CAAC;IAEe,YAAY,CAAC,mBAAwB;QACjD,KAAK,CAAC,YAAY,CAAC,mBAAmB,CAAC,CAAC;QACxC,IAAI,CAAC,kBAAkB,GAAG,mBAAmB,CAAC,kBAAkB,CAAC;IACrE,CAAC;CACJ;AA1CG;IARC,sBAAsB,CAAC,UAAU,uCAA+B,YAAY,EAAE;QAC3E,OAAO,EAAE;YACL,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,mCAA2B,EAAE;YACpD,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,sCAA8B,EAAE;YAC1D,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,wCAAgC,EAAE;YAC9D,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,0CAAkC,EAAE;SACrE;KACJ,CAAC;sEAGD;AAQD;IADC,sBAAsB,CAAC,qBAAqB,wCAAgC,YAAY,CAAC;gFAGzF;AAgCL,aAAa,CAAC,gDAAgD,EAAE,sCAAsC,CAAC,CAAC","sourcesContent":["import type { Scene, FrameGraph } from \"core/index\";\r\nimport { RegisterClass } from \"../../../../Misc/typeStore\";\r\nimport { editableInPropertyPage, PropertyTypeForEdition } from \"../../../../Decorators/nodeDecorator\";\r\nimport { FrameGraphTonemapTask } from \"../../../Tasks/PostProcesses/tonemapTask\";\r\nimport { NodeRenderGraphBasePostProcessBlock } from \"./basePostProcessBlock\";\r\nimport { ThinTonemapPostProcess, TonemappingOperator } from \"../../../../PostProcesses/thinTonemapPostProcess\";\r\n\r\n/**\r\n * Block that implements the tonemap post process\r\n */\r\nexport class NodeRenderGraphTonemapPostProcessBlock extends NodeRenderGraphBasePostProcessBlock {\r\n protected override _frameGraphTask: FrameGraphTonemapTask;\r\n\r\n /**\r\n * Gets the frame graph task associated with this block\r\n */\r\n public override get task() {\r\n return this._frameGraphTask;\r\n }\r\n\r\n /**\r\n * Create a new NodeRenderGraphTonemapPostProcessBlock\r\n * @param name defines the block name\r\n * @param frameGraph defines the hosting frame graph\r\n * @param scene defines the hosting scene\r\n * @param operator defines the operator to use (default: Reinhard)\r\n */\r\n public constructor(name: string, frameGraph: FrameGraph, scene: Scene, operator: TonemappingOperator = TonemappingOperator.Reinhard) {\r\n super(name, frameGraph, scene);\r\n\r\n this._additionalConstructionParameters = [operator];\r\n\r\n this._finalizeInputOutputRegistering();\r\n\r\n this._frameGraphTask = new FrameGraphTonemapTask(this.name, frameGraph, new ThinTonemapPostProcess(name, frameGraph.engine, { operator }));\r\n }\r\n\r\n private _createTask(operator: TonemappingOperator) {\r\n const sourceSamplingMode = this._frameGraphTask.sourceSamplingMode;\r\n const exposureAdjustment = this._frameGraphTask.postProcess.exposureAdjustment;\r\n\r\n this._frameGraphTask.dispose();\r\n\r\n this._frameGraphTask = new FrameGraphTonemapTask(this.name, this._frameGraph, new ThinTonemapPostProcess(this.name, this._frameGraph.engine, { operator }));\r\n this._frameGraphTask.sourceSamplingMode = sourceSamplingMode;\r\n this._frameGraphTask.postProcess.exposureAdjustment = exposureAdjustment;\r\n\r\n this._additionalConstructionParameters = [operator];\r\n }\r\n\r\n @editableInPropertyPage(\"Operator\", PropertyTypeForEdition.List, \"PROPERTIES\", {\r\n options: [\r\n { label: \"Hable\", value: TonemappingOperator.Hable },\r\n { label: \"Reinhard\", value: TonemappingOperator.Reinhard },\r\n { label: \"HejiDawson\", value: TonemappingOperator.HejiDawson },\r\n { label: \"Photographic\", value: TonemappingOperator.Photographic },\r\n ],\r\n })\r\n public get operator(): TonemappingOperator {\r\n return this._frameGraphTask.postProcess.operator;\r\n }\r\n\r\n public set operator(value: TonemappingOperator) {\r\n this._createTask(value);\r\n }\r\n\r\n /** Defines the required exposure adjustment */\r\n @editableInPropertyPage(\"Exposure adjustment\", PropertyTypeForEdition.Float, \"PROPERTIES\")\r\n public get exposureAdjustment(): number {\r\n return this._frameGraphTask.postProcess.exposureAdjustment;\r\n }\r\n\r\n public set exposureAdjustment(value: number) {\r\n this._frameGraphTask.postProcess.exposureAdjustment = value;\r\n }\r\n\r\n /**\r\n * Gets the current class name\r\n * @returns the class name\r\n */\r\n public override getClassName() {\r\n return \"NodeRenderGraphTonemapPostProcessBlock\";\r\n }\r\n\r\n protected override _dumpPropertiesCode() {\r\n const codes: string[] = [];\r\n codes.push(`${this._codeVariableName}.exposureAdjustment = ${this.exposureAdjustment};`);\r\n return super._dumpPropertiesCode() + codes.join(\"\\n\");\r\n }\r\n\r\n public override serialize(): any {\r\n const serializationObject = super.serialize();\r\n serializationObject.exposureAdjustment = this.exposureAdjustment;\r\n return serializationObject;\r\n }\r\n\r\n public override _deserialize(serializationObject: any) {\r\n super._deserialize(serializationObject);\r\n this.exposureAdjustment = serializationObject.exposureAdjustment;\r\n }\r\n}\r\n\r\nRegisterClass(\"BABYLON.NodeRenderGraphTonemapPostProcessBlock\", NodeRenderGraphTonemapPostProcessBlock);\r\n"]}
@@ -13,9 +13,11 @@ export * from "./PostProcesses/bloomPostProcessBlock.js";
13
13
  export * from "./PostProcesses/blurPostProcessBlock.js";
14
14
  export * from "./PostProcesses/chromaticAberrationPostProcessBlock.js";
15
15
  export * from "./PostProcesses/circleOfConfusionPostProcessBlock.js";
16
+ export * from "./PostProcesses/colorCorrectionPostProcessBlock.js";
16
17
  export * from "./PostProcesses/convolutionPostProcessBlock.js";
17
18
  export * from "./PostProcesses/depthOfFieldPostProcessBlock.js";
18
19
  export * from "./PostProcesses/extractHighlightsPostProcessBlock.js";
20
+ export * from "./PostProcesses/filterPostProcessBlock.js";
19
21
  export * from "./PostProcesses/fxaaPostProcessBlock.js";
20
22
  export * from "./PostProcesses/grainPostProcessBlock.js";
21
23
  export * from "./PostProcesses/imageProcessingPostProcessBlock.js";
@@ -24,6 +26,7 @@ export * from "./PostProcesses/passPostProcessBlock.js";
24
26
  export * from "./PostProcesses/sharpenPostProcessBlock.js";
25
27
  export * from "./PostProcesses/screenSpaceCurvaturePostProcessBlock.js";
26
28
  export * from "./PostProcesses/ssrPostProcessBlock.js";
29
+ export * from "./PostProcesses/tonemapPostProcessBlock.js";
27
30
  export * from "./Rendering/csmShadowGeneratorBlock.js";
28
31
  export * from "./Rendering/geometryRendererBlock.js";
29
32
  export * from "./Rendering/objectRendererBlock.js";
@@ -13,9 +13,11 @@ export * from "./PostProcesses/bloomPostProcessBlock.js";
13
13
  export * from "./PostProcesses/blurPostProcessBlock.js";
14
14
  export * from "./PostProcesses/chromaticAberrationPostProcessBlock.js";
15
15
  export * from "./PostProcesses/circleOfConfusionPostProcessBlock.js";
16
+ export * from "./PostProcesses/colorCorrectionPostProcessBlock.js";
16
17
  export * from "./PostProcesses/convolutionPostProcessBlock.js";
17
18
  export * from "./PostProcesses/depthOfFieldPostProcessBlock.js";
18
19
  export * from "./PostProcesses/extractHighlightsPostProcessBlock.js";
20
+ export * from "./PostProcesses/filterPostProcessBlock.js";
19
21
  export * from "./PostProcesses/fxaaPostProcessBlock.js";
20
22
  export * from "./PostProcesses/grainPostProcessBlock.js";
21
23
  export * from "./PostProcesses/imageProcessingPostProcessBlock.js";
@@ -24,6 +26,7 @@ export * from "./PostProcesses/passPostProcessBlock.js";
24
26
  export * from "./PostProcesses/sharpenPostProcessBlock.js";
25
27
  export * from "./PostProcesses/screenSpaceCurvaturePostProcessBlock.js";
26
28
  export * from "./PostProcesses/ssrPostProcessBlock.js";
29
+ export * from "./PostProcesses/tonemapPostProcessBlock.js";
27
30
  export * from "./Rendering/csmShadowGeneratorBlock.js";
28
31
  export * from "./Rendering/geometryRendererBlock.js";
29
32
  export * from "./Rendering/objectRendererBlock.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../dev/core/src/FrameGraph/Node/Blocks/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC;AAEzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAE7C,cAAc,0CAA0C,CAAC;AACzD,cAAc,sCAAsC,CAAC;AACrD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,uCAAuC,CAAC;AACtD,cAAc,sCAAsC,CAAC;AACrD,cAAc,qDAAqD,CAAC;AACpE,cAAc,mDAAmD,CAAC;AAClE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,mDAAmD,CAAC;AAClE,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,iDAAiD,CAAC;AAChE,cAAc,4CAA4C,CAAC;AAC3D,cAAc,sCAAsC,CAAC;AACrD,cAAc,yCAAyC,CAAC;AACxD,cAAc,sDAAsD,CAAC;AACrE,cAAc,qCAAqC,CAAC;AAEpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,cAAc,oCAAoC,CAAC;AACnD,cAAc,uCAAuC,CAAC;AAEtD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAE5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC","sourcesContent":["export * from \"./cullObjectsBlock\";\r\nexport * from \"./elbowBlock\";\r\nexport * from \"./executeBlock\";\r\nexport * from \"./inputBlock\";\r\nexport * from \"./outputBlock\";\r\nexport * from \"./resourceContainerBlock\";\r\n\r\nexport * from \"./Layers/glowLayerBlock\";\r\nexport * from \"./Layers/highlightLayerBlock\";\r\n\r\nexport * from \"./PostProcesses/anaglyphPostProcessBlock\";\r\nexport * from \"./PostProcesses/basePostProcessBlock\";\r\nexport * from \"./PostProcesses/blackAndWhitePostProcessBlock\";\r\nexport * from \"./PostProcesses/bloomPostProcessBlock\";\r\nexport * from \"./PostProcesses/blurPostProcessBlock\";\r\nexport * from \"./PostProcesses/chromaticAberrationPostProcessBlock\";\r\nexport * from \"./PostProcesses/circleOfConfusionPostProcessBlock\";\r\nexport * from \"./PostProcesses/convolutionPostProcessBlock\";\r\nexport * from \"./PostProcesses/depthOfFieldPostProcessBlock\";\r\nexport * from \"./PostProcesses/extractHighlightsPostProcessBlock\";\r\nexport * from \"./PostProcesses/fxaaPostProcessBlock\";\r\nexport * from \"./PostProcesses/grainPostProcessBlock\";\r\nexport * from \"./PostProcesses/imageProcessingPostProcessBlock\";\r\nexport * from \"./PostProcesses/motionBlurPostProcessBlock\";\r\nexport * from \"./PostProcesses/passPostProcessBlock\";\r\nexport * from \"./PostProcesses/sharpenPostProcessBlock\";\r\nexport * from \"./PostProcesses/screenSpaceCurvaturePostProcessBlock\";\r\nexport * from \"./PostProcesses/ssrPostProcessBlock\";\r\n\r\nexport * from \"./Rendering/csmShadowGeneratorBlock\";\r\nexport * from \"./Rendering/geometryRendererBlock\";\r\nexport * from \"./Rendering/objectRendererBlock\";\r\nexport * from \"./Rendering/shadowGeneratorBlock\";\r\nexport * from \"./Rendering/taaObjectRendererBlock\";\r\nexport * from \"./Rendering/utilityLayerRendererBlock\";\r\n\r\nexport * from \"./Teleport/teleportInBlock\";\r\nexport * from \"./Teleport/teleportOutBlock\";\r\n\r\nexport * from \"./Textures/clearBlock\";\r\nexport * from \"./Textures/copyTextureBlock\";\r\nexport * from \"./Textures/generateMipmapsBlock\";\r\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../dev/core/src/FrameGraph/Node/Blocks/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC;AAEzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAE7C,cAAc,0CAA0C,CAAC;AACzD,cAAc,sCAAsC,CAAC;AACrD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,uCAAuC,CAAC;AACtD,cAAc,sCAAsC,CAAC;AACrD,cAAc,qDAAqD,CAAC;AACpE,cAAc,mDAAmD,CAAC;AAClE,cAAc,iDAAiD,CAAC;AAChE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,mDAAmD,CAAC;AAClE,cAAc,wCAAwC,CAAC;AACvD,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,iDAAiD,CAAC;AAChE,cAAc,4CAA4C,CAAC;AAC3D,cAAc,sCAAsC,CAAC;AACrD,cAAc,yCAAyC,CAAC;AACxD,cAAc,sDAAsD,CAAC;AACrE,cAAc,qCAAqC,CAAC;AACpD,cAAc,yCAAyC,CAAC;AAExD,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,cAAc,oCAAoC,CAAC;AACnD,cAAc,uCAAuC,CAAC;AAEtD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAE5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC","sourcesContent":["export * from \"./cullObjectsBlock\";\r\nexport * from \"./elbowBlock\";\r\nexport * from \"./executeBlock\";\r\nexport * from \"./inputBlock\";\r\nexport * from \"./outputBlock\";\r\nexport * from \"./resourceContainerBlock\";\r\n\r\nexport * from \"./Layers/glowLayerBlock\";\r\nexport * from \"./Layers/highlightLayerBlock\";\r\n\r\nexport * from \"./PostProcesses/anaglyphPostProcessBlock\";\r\nexport * from \"./PostProcesses/basePostProcessBlock\";\r\nexport * from \"./PostProcesses/blackAndWhitePostProcessBlock\";\r\nexport * from \"./PostProcesses/bloomPostProcessBlock\";\r\nexport * from \"./PostProcesses/blurPostProcessBlock\";\r\nexport * from \"./PostProcesses/chromaticAberrationPostProcessBlock\";\r\nexport * from \"./PostProcesses/circleOfConfusionPostProcessBlock\";\r\nexport * from \"./PostProcesses/colorCorrectionPostProcessBlock\";\r\nexport * from \"./PostProcesses/convolutionPostProcessBlock\";\r\nexport * from \"./PostProcesses/depthOfFieldPostProcessBlock\";\r\nexport * from \"./PostProcesses/extractHighlightsPostProcessBlock\";\r\nexport * from \"./PostProcesses/filterPostProcessBlock\";\r\nexport * from \"./PostProcesses/fxaaPostProcessBlock\";\r\nexport * from \"./PostProcesses/grainPostProcessBlock\";\r\nexport * from \"./PostProcesses/imageProcessingPostProcessBlock\";\r\nexport * from \"./PostProcesses/motionBlurPostProcessBlock\";\r\nexport * from \"./PostProcesses/passPostProcessBlock\";\r\nexport * from \"./PostProcesses/sharpenPostProcessBlock\";\r\nexport * from \"./PostProcesses/screenSpaceCurvaturePostProcessBlock\";\r\nexport * from \"./PostProcesses/ssrPostProcessBlock\";\r\nexport * from \"./PostProcesses/tonemapPostProcessBlock\";\r\n\r\nexport * from \"./Rendering/csmShadowGeneratorBlock\";\r\nexport * from \"./Rendering/geometryRendererBlock\";\r\nexport * from \"./Rendering/objectRendererBlock\";\r\nexport * from \"./Rendering/shadowGeneratorBlock\";\r\nexport * from \"./Rendering/taaObjectRendererBlock\";\r\nexport * from \"./Rendering/utilityLayerRendererBlock\";\r\n\r\nexport * from \"./Teleport/teleportInBlock\";\r\nexport * from \"./Teleport/teleportOutBlock\";\r\n\r\nexport * from \"./Textures/clearBlock\";\r\nexport * from \"./Textures/copyTextureBlock\";\r\nexport * from \"./Textures/generateMipmapsBlock\";\r\n"]}
@@ -0,0 +1,17 @@
1
+ import type { FrameGraph } from "../../frameGraph.js";
2
+ import { ThinColorCorrectionPostProcess } from "../../../PostProcesses/thinColorCorrectionPostProcess.js";
3
+ import { FrameGraphPostProcessTask } from "./postProcessTask.js";
4
+ /**
5
+ * Task which applies a color correction post process.
6
+ */
7
+ export declare class FrameGraphColorCorrectionTask extends FrameGraphPostProcessTask {
8
+ readonly postProcess: ThinColorCorrectionPostProcess;
9
+ /**
10
+ * Constructs a new color correction task.
11
+ * @param name The name of the task.
12
+ * @param frameGraph The frame graph this task is associated with.
13
+ * @param colorTableUrl The URL of the color table to use for the color correction effect.
14
+ * @param thinPostProcess The thin post process to use for the color correction effect. If not provided, a new one will be created.
15
+ */
16
+ constructor(name: string, frameGraph: FrameGraph, colorTableUrl: string, thinPostProcess?: ThinColorCorrectionPostProcess);
17
+ }
@@ -0,0 +1,18 @@
1
+ import { ThinColorCorrectionPostProcess } from "../../../PostProcesses/thinColorCorrectionPostProcess.js";
2
+ import { FrameGraphPostProcessTask } from "./postProcessTask.js";
3
+ /**
4
+ * Task which applies a color correction post process.
5
+ */
6
+ export class FrameGraphColorCorrectionTask extends FrameGraphPostProcessTask {
7
+ /**
8
+ * Constructs a new color correction task.
9
+ * @param name The name of the task.
10
+ * @param frameGraph The frame graph this task is associated with.
11
+ * @param colorTableUrl The URL of the color table to use for the color correction effect.
12
+ * @param thinPostProcess The thin post process to use for the color correction effect. If not provided, a new one will be created.
13
+ */
14
+ constructor(name, frameGraph, colorTableUrl, thinPostProcess) {
15
+ super(name, frameGraph, thinPostProcess || new ThinColorCorrectionPostProcess(name, frameGraph.scene, colorTableUrl));
16
+ }
17
+ }
18
+ //# sourceMappingURL=colorCorrectionTask.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"colorCorrectionTask.js","sourceRoot":"","sources":["../../../../../../dev/core/src/FrameGraph/Tasks/PostProcesses/colorCorrectionTask.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,8BAA8B,EAAE,iEAA0D;AACnG,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAE9D;;GAEG;AACH,MAAM,OAAO,6BAA8B,SAAQ,yBAAyB;IAGxE;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,UAAsB,EAAE,aAAqB,EAAE,eAAgD;QACrH,KAAK,CAAC,IAAI,EAAE,UAAU,EAAE,eAAe,IAAI,IAAI,8BAA8B,CAAC,IAAI,EAAE,UAAU,CAAC,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC;IAC1H,CAAC;CACJ","sourcesContent":["import type { FrameGraph } from \"core/FrameGraph/frameGraph\";\r\nimport { ThinColorCorrectionPostProcess } from \"core/PostProcesses/thinColorCorrectionPostProcess\";\r\nimport { FrameGraphPostProcessTask } from \"./postProcessTask\";\r\n\r\n/**\r\n * Task which applies a color correction post process.\r\n */\r\nexport class FrameGraphColorCorrectionTask extends FrameGraphPostProcessTask {\r\n public override readonly postProcess: ThinColorCorrectionPostProcess;\r\n\r\n /**\r\n * Constructs a new color correction task.\r\n * @param name The name of the task.\r\n * @param frameGraph The frame graph this task is associated with.\r\n * @param colorTableUrl The URL of the color table to use for the color correction effect.\r\n * @param thinPostProcess The thin post process to use for the color correction effect. If not provided, a new one will be created.\r\n */\r\n constructor(name: string, frameGraph: FrameGraph, colorTableUrl: string, thinPostProcess?: ThinColorCorrectionPostProcess) {\r\n super(name, frameGraph, thinPostProcess || new ThinColorCorrectionPostProcess(name, frameGraph.scene, colorTableUrl));\r\n }\r\n}\r\n"]}
@@ -0,0 +1,16 @@
1
+ import type { FrameGraph } from "../../frameGraph.js";
2
+ import { ThinFilterPostProcess } from "../../../PostProcesses/thinFilterPostProcess.js";
3
+ import { FrameGraphPostProcessTask } from "./postProcessTask.js";
4
+ /**
5
+ * Task which applies a kernel filter post process.
6
+ */
7
+ export declare class FrameGraphFilterTask extends FrameGraphPostProcessTask {
8
+ readonly postProcess: ThinFilterPostProcess;
9
+ /**
10
+ * Constructs a new filter task.
11
+ * @param name The name of the task.
12
+ * @param frameGraph The frame graph this task is associated with.
13
+ * @param thinPostProcess The thin post process to use for the filter effect. If not provided, a new one will be created.
14
+ */
15
+ constructor(name: string, frameGraph: FrameGraph, thinPostProcess?: ThinFilterPostProcess);
16
+ }
@@ -0,0 +1,17 @@
1
+ import { ThinFilterPostProcess } from "../../../PostProcesses/thinFilterPostProcess.js";
2
+ import { FrameGraphPostProcessTask } from "./postProcessTask.js";
3
+ /**
4
+ * Task which applies a kernel filter post process.
5
+ */
6
+ export class FrameGraphFilterTask extends FrameGraphPostProcessTask {
7
+ /**
8
+ * Constructs a new filter task.
9
+ * @param name The name of the task.
10
+ * @param frameGraph The frame graph this task is associated with.
11
+ * @param thinPostProcess The thin post process to use for the filter effect. If not provided, a new one will be created.
12
+ */
13
+ constructor(name, frameGraph, thinPostProcess) {
14
+ super(name, frameGraph, thinPostProcess || new ThinFilterPostProcess(name, frameGraph.engine));
15
+ }
16
+ }
17
+ //# sourceMappingURL=filterTask.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filterTask.js","sourceRoot":"","sources":["../../../../../../dev/core/src/FrameGraph/Tasks/PostProcesses/filterTask.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,wDAAiD;AACjF,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAE9D;;GAEG;AACH,MAAM,OAAO,oBAAqB,SAAQ,yBAAyB;IAG/D;;;;;OAKG;IACH,YAAY,IAAY,EAAE,UAAsB,EAAE,eAAuC;QACrF,KAAK,CAAC,IAAI,EAAE,UAAU,EAAE,eAAe,IAAI,IAAI,qBAAqB,CAAC,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC;IACnG,CAAC;CACJ","sourcesContent":["import type { FrameGraph } from \"core/FrameGraph/frameGraph\";\r\nimport { ThinFilterPostProcess } from \"core/PostProcesses/thinFilterPostProcess\";\r\nimport { FrameGraphPostProcessTask } from \"./postProcessTask\";\r\n\r\n/**\r\n * Task which applies a kernel filter post process.\r\n */\r\nexport class FrameGraphFilterTask extends FrameGraphPostProcessTask {\r\n public override readonly postProcess: ThinFilterPostProcess;\r\n\r\n /**\r\n * Constructs a new filter task.\r\n * @param name The name of the task.\r\n * @param frameGraph The frame graph this task is associated with.\r\n * @param thinPostProcess The thin post process to use for the filter effect. If not provided, a new one will be created.\r\n */\r\n constructor(name: string, frameGraph: FrameGraph, thinPostProcess?: ThinFilterPostProcess) {\r\n super(name, frameGraph, thinPostProcess || new ThinFilterPostProcess(name, frameGraph.engine));\r\n }\r\n}\r\n"]}
@@ -0,0 +1,16 @@
1
+ import type { FrameGraph } from "../../frameGraph.js";
2
+ import { ThinTonemapPostProcess } from "../../../PostProcesses/thinTonemapPostProcess.js";
3
+ import { FrameGraphPostProcessTask } from "./postProcessTask.js";
4
+ /**
5
+ * Task which applies a tonemap post process.
6
+ */
7
+ export declare class FrameGraphTonemapTask extends FrameGraphPostProcessTask {
8
+ readonly postProcess: ThinTonemapPostProcess;
9
+ /**
10
+ * Constructs a new tonemap task.
11
+ * @param name The name of the task.
12
+ * @param frameGraph The frame graph this task is associated with.
13
+ * @param thinPostProcess The thin post process to use for the tonemap effect. If not provided, a new one will be created.
14
+ */
15
+ constructor(name: string, frameGraph: FrameGraph, thinPostProcess?: ThinTonemapPostProcess);
16
+ }
@@ -0,0 +1,17 @@
1
+ import { ThinTonemapPostProcess } from "../../../PostProcesses/thinTonemapPostProcess.js";
2
+ import { FrameGraphPostProcessTask } from "./postProcessTask.js";
3
+ /**
4
+ * Task which applies a tonemap post process.
5
+ */
6
+ export class FrameGraphTonemapTask extends FrameGraphPostProcessTask {
7
+ /**
8
+ * Constructs a new tonemap task.
9
+ * @param name The name of the task.
10
+ * @param frameGraph The frame graph this task is associated with.
11
+ * @param thinPostProcess The thin post process to use for the tonemap effect. If not provided, a new one will be created.
12
+ */
13
+ constructor(name, frameGraph, thinPostProcess) {
14
+ super(name, frameGraph, thinPostProcess || new ThinTonemapPostProcess(name, frameGraph.engine));
15
+ }
16
+ }
17
+ //# sourceMappingURL=tonemapTask.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tonemapTask.js","sourceRoot":"","sources":["../../../../../../dev/core/src/FrameGraph/Tasks/PostProcesses/tonemapTask.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,yDAAkD;AACnF,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAE9D;;GAEG;AACH,MAAM,OAAO,qBAAsB,SAAQ,yBAAyB;IAGhE;;;;;OAKG;IACH,YAAY,IAAY,EAAE,UAAsB,EAAE,eAAwC;QACtF,KAAK,CAAC,IAAI,EAAE,UAAU,EAAE,eAAe,IAAI,IAAI,sBAAsB,CAAC,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC;IACpG,CAAC;CACJ","sourcesContent":["import type { FrameGraph } from \"core/FrameGraph/frameGraph\";\r\nimport { ThinTonemapPostProcess } from \"core/PostProcesses/thinTonemapPostProcess\";\r\nimport { FrameGraphPostProcessTask } from \"./postProcessTask\";\r\n\r\n/**\r\n * Task which applies a tonemap post process.\r\n */\r\nexport class FrameGraphTonemapTask extends FrameGraphPostProcessTask {\r\n public override readonly postProcess: ThinTonemapPostProcess;\r\n\r\n /**\r\n * Constructs a new tonemap task.\r\n * @param name The name of the task.\r\n * @param frameGraph The frame graph this task is associated with.\r\n * @param thinPostProcess The thin post process to use for the tonemap effect. If not provided, a new one will be created.\r\n */\r\n constructor(name: string, frameGraph: FrameGraph, thinPostProcess?: ThinTonemapPostProcess) {\r\n super(name, frameGraph, thinPostProcess || new ThinTonemapPostProcess(name, frameGraph.engine));\r\n }\r\n}\r\n"]}
@@ -17,10 +17,12 @@ export * from "./Tasks/PostProcesses/bloomTask.js";
17
17
  export * from "./Tasks/PostProcesses/blurTask.js";
18
18
  export * from "./Tasks/PostProcesses/chromaticAberrationTask.js";
19
19
  export * from "./Tasks/PostProcesses/circleOfConfusionTask.js";
20
+ export * from "./Tasks/PostProcesses/colorCorrectionTask.js";
20
21
  export * from "./Tasks/PostProcesses/convolutionTask.js";
21
22
  export * from "./Tasks/PostProcesses/customPostProcessTask.js";
22
23
  export * from "./Tasks/PostProcesses/depthOfFieldTask.js";
23
24
  export * from "./Tasks/PostProcesses/extractHighlightsTask.js";
25
+ export * from "./Tasks/PostProcesses/filterTask.js";
24
26
  export * from "./Tasks/PostProcesses/fxaaTask.js";
25
27
  export * from "./Tasks/PostProcesses/grainTask.js";
26
28
  export * from "./Tasks/PostProcesses/imageProcessingTask.js";
@@ -30,6 +32,7 @@ export * from "./Tasks/PostProcesses/postProcessTask.js";
30
32
  export * from "./Tasks/PostProcesses/sharpenTask.js";
31
33
  export * from "./Tasks/PostProcesses/screenSpaceCurvatureTask.js";
32
34
  export * from "./Tasks/PostProcesses/ssrRenderingPipelineTask.js";
35
+ export * from "./Tasks/PostProcesses/tonemapTask.js";
33
36
  export * from "./Tasks/Texture/clearTextureTask.js";
34
37
  export * from "./Tasks/Texture/copyToBackbufferColorTask.js";
35
38
  export * from "./Tasks/Texture/copyToTextureTask.js";
@@ -18,10 +18,12 @@ export * from "./Tasks/PostProcesses/bloomTask.js";
18
18
  export * from "./Tasks/PostProcesses/blurTask.js";
19
19
  export * from "./Tasks/PostProcesses/chromaticAberrationTask.js";
20
20
  export * from "./Tasks/PostProcesses/circleOfConfusionTask.js";
21
+ export * from "./Tasks/PostProcesses/colorCorrectionTask.js";
21
22
  export * from "./Tasks/PostProcesses/convolutionTask.js";
22
23
  export * from "./Tasks/PostProcesses/customPostProcessTask.js";
23
24
  export * from "./Tasks/PostProcesses/depthOfFieldTask.js";
24
25
  export * from "./Tasks/PostProcesses/extractHighlightsTask.js";
26
+ export * from "./Tasks/PostProcesses/filterTask.js";
25
27
  export * from "./Tasks/PostProcesses/fxaaTask.js";
26
28
  export * from "./Tasks/PostProcesses/grainTask.js";
27
29
  export * from "./Tasks/PostProcesses/imageProcessingTask.js";
@@ -31,6 +33,7 @@ export * from "./Tasks/PostProcesses/postProcessTask.js";
31
33
  export * from "./Tasks/PostProcesses/sharpenTask.js";
32
34
  export * from "./Tasks/PostProcesses/screenSpaceCurvatureTask.js";
33
35
  export * from "./Tasks/PostProcesses/ssrRenderingPipelineTask.js";
36
+ export * from "./Tasks/PostProcesses/tonemapTask.js";
34
37
  export * from "./Tasks/Texture/clearTextureTask.js";
35
38
  export * from "./Tasks/Texture/copyToBackbufferColorTask.js";
36
39
  export * from "./Tasks/Texture/copyToTextureTask.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../dev/core/src/FrameGraph/index.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAC7D,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4CAA4C,CAAC;AAC3D,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,qBAAqB,CAAC;AAEpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AAEpC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mCAAmC,CAAC;AAElD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AAEzC,cAAc,oCAAoC,CAAC;AACnD,cAAc,yCAAyC,CAAC;AACxD,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+CAA+C,CAAC;AAC9D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,uCAAuC,CAAC;AACtD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,wCAAwC,CAAC;AACvD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,sCAAsC,CAAC;AACrD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uCAAuC,CAAC;AACtD,cAAc,mCAAmC,CAAC;AAClD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,gDAAgD,CAAC;AAE/D,cAAc,kCAAkC,CAAC;AACjD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AAEpD,cAAc,0CAA0C,CAAC;AACzD,cAAc,wCAAwC,CAAC;AACvD,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,yCAAyC,CAAC;AACxD,cAAc,4CAA4C,CAAC;AAE3D,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC","sourcesContent":["/* eslint-disable @typescript-eslint/no-restricted-imports */\r\nexport * from \"./Node/nodeRenderGraph\";\r\nexport * from \"./Node/nodeRenderGraphBlock\";\r\nexport * from \"./Node/nodeRenderGraphBlockConnectionPoint\";\r\nexport * from \"./Node/nodeRenderGraphBuildState\";\r\nexport * from \"./Node/Types/nodeRenderGraphTypes\";\r\nexport * from \"./Node/Blocks/index\";\r\n\r\nexport * from \"./Passes/cullPass\";\r\nexport * from \"./Passes/pass\";\r\nexport * from \"./Passes/renderPass\";\r\n\r\nexport * from \"./Tasks/Layers/glowLayerTask\";\r\nexport * from \"./Tasks/Layers/highlightLayerTask\";\r\n\r\nexport * from \"./Tasks/Misc/cullObjectsTask\";\r\nexport * from \"./Tasks/Misc/executeTask\";\r\n\r\nexport * from \"./Tasks/PostProcesses/anaglyphTask\";\r\nexport * from \"./Tasks/PostProcesses/blackAndWhiteTask\";\r\nexport * from \"./Tasks/PostProcesses/bloomTask\";\r\nexport * from \"./Tasks/PostProcesses/blurTask\";\r\nexport * from \"./Tasks/PostProcesses/chromaticAberrationTask\";\r\nexport * from \"./Tasks/PostProcesses/circleOfConfusionTask\";\r\nexport * from \"./Tasks/PostProcesses/convolutionTask\";\r\nexport * from \"./Tasks/PostProcesses/customPostProcessTask\";\r\nexport * from \"./Tasks/PostProcesses/depthOfFieldTask\";\r\nexport * from \"./Tasks/PostProcesses/extractHighlightsTask\";\r\nexport * from \"./Tasks/PostProcesses/fxaaTask\";\r\nexport * from \"./Tasks/PostProcesses/grainTask\";\r\nexport * from \"./Tasks/PostProcesses/imageProcessingTask\";\r\nexport * from \"./Tasks/PostProcesses/motionBlurTask\";\r\nexport * from \"./Tasks/PostProcesses/passTask\";\r\nexport * from \"./Tasks/PostProcesses/postProcessTask\";\r\nexport * from \"./Tasks/PostProcesses/sharpenTask\";\r\nexport * from \"./Tasks/PostProcesses/screenSpaceCurvatureTask\";\r\nexport * from \"./Tasks/PostProcesses/ssrRenderingPipelineTask\";\r\n\r\nexport * from \"./Tasks/Texture/clearTextureTask\";\r\nexport * from \"./Tasks/Texture/copyToBackbufferColorTask\";\r\nexport * from \"./Tasks/Texture/copyToTextureTask\";\r\nexport * from \"./Tasks/Texture/generateMipMapsTask\";\r\n\r\nexport * from \"./Tasks/Rendering/csmShadowGeneratorTask\";\r\nexport * from \"./Tasks/Rendering/geometryRendererTask\";\r\nexport * from \"./Tasks/Rendering/objectRendererTask\";\r\nexport * from \"./Tasks/Rendering/shadowGeneratorTask\";\r\nexport * from \"./Tasks/Rendering/taaObjectRendererTask\";\r\nexport * from \"./Tasks/Rendering/utilityLayerRendererTask\";\r\n\r\nexport * from \"./frameGraph\";\r\nexport * from \"./frameGraphContext\";\r\nexport * from \"./frameGraphObjectList\";\r\nexport * from \"./frameGraphRenderContext\";\r\nexport * from \"./frameGraphRenderTarget\";\r\nexport * from \"./frameGraphTask\";\r\nexport * from \"./frameGraphTextureManager\";\r\nexport * from \"./frameGraphTypes\";\r\nexport * from \"./frameGraphUtils\";\r\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../dev/core/src/FrameGraph/index.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAC7D,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4CAA4C,CAAC;AAC3D,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,qBAAqB,CAAC;AAEpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AAEpC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mCAAmC,CAAC;AAElD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AAEzC,cAAc,oCAAoC,CAAC;AACnD,cAAc,yCAAyC,CAAC;AACxD,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+CAA+C,CAAC;AAC9D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,uCAAuC,CAAC;AACtD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,wCAAwC,CAAC;AACvD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,sCAAsC,CAAC;AACrD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uCAAuC,CAAC;AACtD,cAAc,mCAAmC,CAAC;AAClD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,mCAAmC,CAAC;AAElD,cAAc,kCAAkC,CAAC;AACjD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AAEpD,cAAc,0CAA0C,CAAC;AACzD,cAAc,wCAAwC,CAAC;AACvD,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,yCAAyC,CAAC;AACxD,cAAc,4CAA4C,CAAC;AAE3D,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC","sourcesContent":["/* eslint-disable @typescript-eslint/no-restricted-imports */\r\nexport * from \"./Node/nodeRenderGraph\";\r\nexport * from \"./Node/nodeRenderGraphBlock\";\r\nexport * from \"./Node/nodeRenderGraphBlockConnectionPoint\";\r\nexport * from \"./Node/nodeRenderGraphBuildState\";\r\nexport * from \"./Node/Types/nodeRenderGraphTypes\";\r\nexport * from \"./Node/Blocks/index\";\r\n\r\nexport * from \"./Passes/cullPass\";\r\nexport * from \"./Passes/pass\";\r\nexport * from \"./Passes/renderPass\";\r\n\r\nexport * from \"./Tasks/Layers/glowLayerTask\";\r\nexport * from \"./Tasks/Layers/highlightLayerTask\";\r\n\r\nexport * from \"./Tasks/Misc/cullObjectsTask\";\r\nexport * from \"./Tasks/Misc/executeTask\";\r\n\r\nexport * from \"./Tasks/PostProcesses/anaglyphTask\";\r\nexport * from \"./Tasks/PostProcesses/blackAndWhiteTask\";\r\nexport * from \"./Tasks/PostProcesses/bloomTask\";\r\nexport * from \"./Tasks/PostProcesses/blurTask\";\r\nexport * from \"./Tasks/PostProcesses/chromaticAberrationTask\";\r\nexport * from \"./Tasks/PostProcesses/circleOfConfusionTask\";\r\nexport * from \"./Tasks/PostProcesses/colorCorrectionTask\";\r\nexport * from \"./Tasks/PostProcesses/convolutionTask\";\r\nexport * from \"./Tasks/PostProcesses/customPostProcessTask\";\r\nexport * from \"./Tasks/PostProcesses/depthOfFieldTask\";\r\nexport * from \"./Tasks/PostProcesses/extractHighlightsTask\";\r\nexport * from \"./Tasks/PostProcesses/filterTask\";\r\nexport * from \"./Tasks/PostProcesses/fxaaTask\";\r\nexport * from \"./Tasks/PostProcesses/grainTask\";\r\nexport * from \"./Tasks/PostProcesses/imageProcessingTask\";\r\nexport * from \"./Tasks/PostProcesses/motionBlurTask\";\r\nexport * from \"./Tasks/PostProcesses/passTask\";\r\nexport * from \"./Tasks/PostProcesses/postProcessTask\";\r\nexport * from \"./Tasks/PostProcesses/sharpenTask\";\r\nexport * from \"./Tasks/PostProcesses/screenSpaceCurvatureTask\";\r\nexport * from \"./Tasks/PostProcesses/ssrRenderingPipelineTask\";\r\nexport * from \"./Tasks/PostProcesses/tonemapTask\";\r\n\r\nexport * from \"./Tasks/Texture/clearTextureTask\";\r\nexport * from \"./Tasks/Texture/copyToBackbufferColorTask\";\r\nexport * from \"./Tasks/Texture/copyToTextureTask\";\r\nexport * from \"./Tasks/Texture/generateMipMapsTask\";\r\n\r\nexport * from \"./Tasks/Rendering/csmShadowGeneratorTask\";\r\nexport * from \"./Tasks/Rendering/geometryRendererTask\";\r\nexport * from \"./Tasks/Rendering/objectRendererTask\";\r\nexport * from \"./Tasks/Rendering/shadowGeneratorTask\";\r\nexport * from \"./Tasks/Rendering/taaObjectRendererTask\";\r\nexport * from \"./Tasks/Rendering/utilityLayerRendererTask\";\r\n\r\nexport * from \"./frameGraph\";\r\nexport * from \"./frameGraphContext\";\r\nexport * from \"./frameGraphObjectList\";\r\nexport * from \"./frameGraphRenderContext\";\r\nexport * from \"./frameGraphRenderTarget\";\r\nexport * from \"./frameGraphTask\";\r\nexport * from \"./frameGraphTextureManager\";\r\nexport * from \"./frameGraphTypes\";\r\nexport * from \"./frameGraphUtils\";\r\n"]}