@onerjs/smart-filters 8.45.8 → 8.46.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/blockFoundation/aggregateBlock.d.ts +3 -3
- package/dist/blockFoundation/aggregateBlock.d.ts.map +1 -1
- package/dist/blockFoundation/baseBlock.d.ts +3 -3
- package/dist/blockFoundation/baseBlock.d.ts.map +1 -1
- package/dist/blockFoundation/customAggregateBlock.d.ts +5 -5
- package/dist/blockFoundation/customAggregateBlock.d.ts.map +1 -1
- package/dist/blockFoundation/customShaderBlock.d.ts +3 -3
- package/dist/blockFoundation/customShaderBlock.d.ts.map +1 -1
- package/dist/blockFoundation/customShaderBlock.js.map +1 -1
- package/dist/blockFoundation/customShaderBlock.serializer.d.ts +1 -1
- package/dist/blockFoundation/customShaderBlock.serializer.d.ts.map +1 -1
- package/dist/blockFoundation/disableableShaderBlock.d.ts +3 -3
- package/dist/blockFoundation/disableableShaderBlock.d.ts.map +1 -1
- package/dist/blockFoundation/inputBlock.d.ts +6 -7
- package/dist/blockFoundation/inputBlock.d.ts.map +1 -1
- package/dist/blockFoundation/inputBlock.deserializer.d.ts +2 -2
- package/dist/blockFoundation/inputBlock.deserializer.d.ts.map +1 -1
- package/dist/blockFoundation/inputBlock.js +1 -1
- package/dist/blockFoundation/inputBlock.js.map +1 -1
- package/dist/blockFoundation/inputBlock.serialization.types.d.ts +3 -3
- package/dist/blockFoundation/inputBlock.serialization.types.d.ts.map +1 -1
- package/dist/blockFoundation/inputBlock.serializer.d.ts +1 -1
- package/dist/blockFoundation/inputBlock.serializer.d.ts.map +1 -1
- package/dist/blockFoundation/outputBlock.d.ts +4 -4
- package/dist/blockFoundation/outputBlock.d.ts.map +1 -1
- package/dist/blockFoundation/shaderBlock.d.ts +4 -4
- package/dist/blockFoundation/shaderBlock.d.ts.map +1 -1
- package/dist/blockFoundation/shaderBlock.js +1 -1
- package/dist/blockFoundation/shaderBlock.js.map +1 -1
- package/dist/command/commandBuffer.d.ts +1 -1
- package/dist/command/commandBuffer.d.ts.map +1 -1
- package/dist/command/commandBufferDebugger.d.ts +1 -1
- package/dist/command/commandBufferDebugger.d.ts.map +1 -1
- package/dist/command/commandBufferDebugger.js.map +1 -1
- package/dist/connection/connectionPoint.d.ts +4 -4
- package/dist/connection/connectionPoint.d.ts.map +1 -1
- package/dist/connection/connectionPointType.d.ts +3 -3
- package/dist/connection/connectionPointType.d.ts.map +1 -1
- package/dist/connection/connectionPointWithDefault.d.ts +3 -3
- package/dist/connection/connectionPointWithDefault.d.ts.map +1 -1
- package/dist/editorUtils/editableInPropertyPage.d.ts +1 -1
- package/dist/editorUtils/editableInPropertyPage.d.ts.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/optimization/dependencyGraph.js.map +1 -1
- package/dist/optimization/optimizedShaderBlock.d.ts +4 -4
- package/dist/optimization/optimizedShaderBlock.d.ts.map +1 -1
- package/dist/optimization/smartFilterOptimizer.d.ts +2 -2
- package/dist/optimization/smartFilterOptimizer.d.ts.map +1 -1
- package/dist/optimization/smartFilterOptimizer.js +1 -1
- package/dist/optimization/smartFilterOptimizer.js.map +1 -1
- package/dist/runtime/renderTargetGenerator.d.ts +1 -1
- package/dist/runtime/renderTargetGenerator.d.ts.map +1 -1
- package/dist/runtime/renderTargetGenerator.js.map +1 -1
- package/dist/runtime/shaderRuntime.d.ts +7 -7
- package/dist/runtime/shaderRuntime.d.ts.map +1 -1
- package/dist/runtime/shaderRuntime.js +1 -1
- package/dist/runtime/shaderRuntime.js.map +1 -1
- package/dist/runtime/smartFilterRuntime.d.ts +3 -3
- package/dist/runtime/smartFilterRuntime.d.ts.map +1 -1
- package/dist/runtime/smartFilterRuntime.js.map +1 -1
- package/dist/serialization/importCustomBlockDefinition.d.ts +1 -1
- package/dist/serialization/importCustomBlockDefinition.d.ts.map +1 -1
- package/dist/serialization/importCustomBlockDefinition.js.map +1 -1
- package/dist/serialization/serializedBlockDefinition.d.ts +2 -2
- package/dist/serialization/serializedBlockDefinition.d.ts.map +1 -1
- package/dist/serialization/serializedShaderBlockDefinition.d.ts +1 -1
- package/dist/serialization/serializedShaderBlockDefinition.d.ts.map +1 -1
- package/dist/serialization/serializedSmartFilter.d.ts +1 -1
- package/dist/serialization/serializedSmartFilter.d.ts.map +1 -1
- package/dist/serialization/smartFilterDeserializer.d.ts +4 -4
- package/dist/serialization/smartFilterDeserializer.d.ts.map +1 -1
- package/dist/serialization/smartFilterSerializer.d.ts +2 -2
- package/dist/serialization/smartFilterSerializer.d.ts.map +1 -1
- package/dist/serialization/smartFilterSerializer.js.map +1 -1
- package/dist/serialization/v1/defaultBlockSerializer.d.ts +1 -1
- package/dist/serialization/v1/defaultBlockSerializer.d.ts.map +1 -1
- package/dist/serialization/v1/shaderBlockSerialization.types.d.ts +3 -3
- package/dist/serialization/v1/shaderBlockSerialization.types.d.ts.map +1 -1
- package/dist/serialization/v1/smartFilterSerialization.types.d.ts +7 -7
- package/dist/serialization/v1/smartFilterSerialization.types.d.ts.map +1 -1
- package/dist/smartFilter.d.ts +8 -9
- package/dist/smartFilter.d.ts.map +1 -1
- package/dist/smartFilter.js +1 -1
- package/dist/smartFilter.js.map +1 -1
- package/dist/utils/buildTools/convertGlslIntoBlock.js +1 -1
- package/dist/utils/buildTools/shaderConverter.d.ts +2 -2
- package/dist/utils/buildTools/shaderConverter.d.ts.map +1 -1
- package/dist/utils/renderTargetUtils.d.ts +4 -4
- package/dist/utils/renderTargetUtils.d.ts.map +1 -1
- package/dist/utils/shaderCodeUtils.d.ts +2 -2
- package/dist/utils/shaderCodeUtils.d.ts.map +1 -1
- package/dist/utils/textureLoaders.d.ts +1 -1
- package/dist/utils/textureLoaders.d.ts.map +1 -1
- package/dist/utils/textureLoaders.js.map +1 -1
- package/dist/utils/textureUtils.d.ts +4 -4
- package/dist/utils/textureUtils.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/src/blockFoundation/aggregateBlock.ts +3 -3
- package/src/blockFoundation/baseBlock.ts +3 -3
- package/src/blockFoundation/customAggregateBlock.ts +5 -5
- package/src/blockFoundation/customShaderBlock.serializer.ts +2 -2
- package/src/blockFoundation/customShaderBlock.ts +7 -7
- package/src/blockFoundation/disableableShaderBlock.ts +2 -2
- package/src/blockFoundation/inputBlock.deserializer.ts +3 -3
- package/src/blockFoundation/inputBlock.serialization.types.ts +3 -3
- package/src/blockFoundation/inputBlock.serializer.ts +10 -10
- package/src/blockFoundation/inputBlock.ts +6 -7
- package/src/blockFoundation/outputBlock.ts +6 -6
- package/src/blockFoundation/shaderBlock.ts +6 -8
- package/src/command/commandBuffer.ts +1 -1
- package/src/command/commandBufferDebugger.ts +1 -1
- package/src/connection/connectionPoint.ts +4 -4
- package/src/connection/connectionPointType.ts +3 -3
- package/src/connection/connectionPointWithDefault.ts +3 -3
- package/src/editorUtils/editableInPropertyPage.ts +1 -1
- package/src/optimization/optimizedShaderBlock.ts +5 -5
- package/src/optimization/smartFilterOptimizer.ts +5 -6
- package/src/runtime/renderTargetGenerator.ts +7 -7
- package/src/runtime/shaderRuntime.ts +10 -12
- package/src/runtime/smartFilterRuntime.ts +3 -3
- package/src/serialization/importCustomBlockDefinition.ts +3 -3
- package/src/serialization/serializedBlockDefinition.ts +2 -2
- package/src/serialization/serializedShaderBlockDefinition.ts +1 -1
- package/src/serialization/serializedSmartFilter.ts +1 -1
- package/src/serialization/smartFilterDeserializer.ts +5 -5
- package/src/serialization/smartFilterSerializer.ts +10 -4
- package/src/serialization/v1/defaultBlockSerializer.ts +2 -2
- package/src/serialization/v1/shaderBlockSerialization.types.ts +3 -3
- package/src/serialization/v1/smartFilterSerialization.types.ts +7 -7
- package/src/smartFilter.ts +9 -10
- package/src/utils/buildTools/convertGlslIntoBlock.ts +1 -1
- package/src/utils/buildTools/shaderConverter.ts +2 -2
- package/src/utils/renderTargetUtils.ts +4 -4
- package/src/utils/shaderCodeUtils.ts +2 -2
- package/src/utils/textureLoaders.ts +1 -1
- package/src/utils/textureUtils.ts +4 -4
- package/src/version.ts +1 -1
package/src/smartFilter.ts
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type
|
|
3
|
-
import type
|
|
4
|
-
import type
|
|
5
|
-
import type
|
|
6
|
-
import type
|
|
1
|
+
import { type ThinEngine } from "core/Engines/thinEngine.js";
|
|
2
|
+
import { type Nullable } from "core/types.js";
|
|
3
|
+
import { type SmartFilterRuntime, InternalSmartFilterRuntime } from "./runtime/smartFilterRuntime.js";
|
|
4
|
+
import { type BaseBlock } from "./blockFoundation/baseBlock.js";
|
|
5
|
+
import { type ConnectionPointType } from "./connection/connectionPointType.js";
|
|
6
|
+
import { type ConnectionPoint } from "./connection/connectionPoint.js";
|
|
7
7
|
import { OutputBlock } from "./blockFoundation/outputBlock.js";
|
|
8
|
-
import { InternalSmartFilterRuntime } from "./runtime/smartFilterRuntime.js";
|
|
9
8
|
import { RenderTargetGenerator } from "./runtime/renderTargetGenerator.js";
|
|
10
9
|
import { AggregateBlock } from "./blockFoundation/aggregateBlock.js";
|
|
11
|
-
import type
|
|
12
|
-
import type
|
|
10
|
+
import { type IEditorData } from "shared-ui-components/nodeGraphSystem/interfaces/nodeLocationInfo.js";
|
|
11
|
+
import { type IDisposable } from "./IDisposable.js";
|
|
13
12
|
import { ShaderBlock } from "./blockFoundation/shaderBlock.js";
|
|
14
|
-
import type
|
|
13
|
+
import { type ThinRenderTargetTexture } from "core/Materials/Textures/thinRenderTargetTexture.js";
|
|
15
14
|
import { GetBlockOutputTextureSize } from "./utils/textureUtils.js";
|
|
16
15
|
|
|
17
16
|
/**
|
|
@@ -70,7 +70,7 @@ const FileTemplate = `/* eslint-disable prettier/prettier */
|
|
|
70
70
|
// to the block. This file will get overwritten when the build
|
|
71
71
|
// is run or during a watch when the .glsl file is updated.
|
|
72
72
|
|
|
73
|
-
import type
|
|
73
|
+
import { type Effect } from "${BABYLON_CORE_PATH}/Materials/effect.js";
|
|
74
74
|
|
|
75
75
|
import {
|
|
76
76
|
${SHADER_BINDING_EXTENDS},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type ShaderCode, type ShaderFunction } from "./shaderCode.types.js";
|
|
2
2
|
import { ConnectionPointType } from "../../connection/connectionPointType.js";
|
|
3
3
|
import { BlockDisableStrategy } from "../../blockFoundation/blockDisableStrategy.js";
|
|
4
|
-
import type
|
|
4
|
+
import { type ConstPropertyMetadata } from "../../serialization/v1/shaderBlockSerialization.types.js";
|
|
5
5
|
import { DecorateSymbol } from "../shaderCodeUtils.js";
|
|
6
6
|
import { log, error } from "./buildToolsLogger.js";
|
|
7
7
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { CreateCommand } from "../command/command.js";
|
|
2
|
-
import type
|
|
3
|
-
import type
|
|
4
|
-
import type
|
|
5
|
-
import type
|
|
2
|
+
import { type BaseBlock } from "../blockFoundation/baseBlock.js";
|
|
3
|
+
import { type ShaderRuntime } from "../runtime/shaderRuntime.js";
|
|
4
|
+
import { type InternalSmartFilterRuntime } from "../runtime/smartFilterRuntime.js";
|
|
5
|
+
import { type OutputBlock } from "../blockFoundation/outputBlock.js";
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Registers the final command of the command queue - the one that draws to either the canvas or
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type
|
|
1
|
+
import { type Effect } from "core/Materials/effect.js";
|
|
2
|
+
import { type ShaderCode } from "./buildTools/shaderCode.types.js";
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The shader code decorator.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ThinTexture } from "core/Materials/Textures/thinTexture.js";
|
|
2
2
|
import { type ThinEngine } from "core/Engines/thinEngine.js";
|
|
3
|
-
import type
|
|
3
|
+
import { type Nullable } from "core/types.js";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Helper that takes in a URL to an image and returns a ThinTexture
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type
|
|
3
|
-
import type
|
|
4
|
-
import type
|
|
1
|
+
import { type TextureSize } from "core/Materials/Textures/textureCreationOptions.js";
|
|
2
|
+
import { type OutputTextureOptions } from "../blockFoundation/textureOptions.js";
|
|
3
|
+
import { type SmartFilter } from "../smartFilter.js";
|
|
4
|
+
import { type ThinEngine } from "core/Engines/thinEngine.js";
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Determines the output texture size for a given shader block
|
package/src/version.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The version of the SmartFilter core. During publish, this file is overwritten by recordVersionNumber.ts with the same version that is used for the NPM publish.
|
|
3
3
|
*/
|
|
4
|
-
export const SmartFilterCoreVersion = "8.
|
|
4
|
+
export const SmartFilterCoreVersion = "8.46.1";
|