|
@@ -56915,6 +56915,72 @@ declare module "babylonjs/Materials/Node/Blocks/fresnelBlock" {
|
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
|
}
|
|
|
}
|
|
|
+declare module "babylonjs/Materials/Node/Blocks/maxBlock" {
|
|
|
+ import { NodeMaterialBlock } from "babylonjs/Materials/Node/nodeMaterialBlock";
|
|
|
+ import { NodeMaterialBuildState } from "babylonjs/Materials/Node/nodeMaterialBuildState";
|
|
|
+ import { NodeMaterialConnectionPoint } from "babylonjs/Materials/Node/nodeMaterialBlockConnectionPoint";
|
|
|
+ /**
|
|
|
+ * Block used to get the max of 2 values
|
|
|
+ */
|
|
|
+ export class MaxBlock extends NodeMaterialBlock {
|
|
|
+ /**
|
|
|
+ * Creates a new MaxBlock
|
|
|
+ * @param name defines the block name
|
|
|
+ */
|
|
|
+ constructor(name: string);
|
|
|
+ /**
|
|
|
+ * Gets the current class name
|
|
|
+ * @returns the class name
|
|
|
+ */
|
|
|
+ getClassName(): string;
|
|
|
+ /**
|
|
|
+ * Gets the left operand input component
|
|
|
+ */
|
|
|
+ readonly left: NodeMaterialConnectionPoint;
|
|
|
+ /**
|
|
|
+ * Gets the right operand input component
|
|
|
+ */
|
|
|
+ readonly right: NodeMaterialConnectionPoint;
|
|
|
+ /**
|
|
|
+ * Gets the output component
|
|
|
+ */
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
|
+ protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
|
+ }
|
|
|
+}
|
|
|
+declare module "babylonjs/Materials/Node/Blocks/minBlock" {
|
|
|
+ import { NodeMaterialBlock } from "babylonjs/Materials/Node/nodeMaterialBlock";
|
|
|
+ import { NodeMaterialBuildState } from "babylonjs/Materials/Node/nodeMaterialBuildState";
|
|
|
+ import { NodeMaterialConnectionPoint } from "babylonjs/Materials/Node/nodeMaterialBlockConnectionPoint";
|
|
|
+ /**
|
|
|
+ * Block used to get the min of 2 values
|
|
|
+ */
|
|
|
+ export class MinBlock extends NodeMaterialBlock {
|
|
|
+ /**
|
|
|
+ * Creates a new MinBlock
|
|
|
+ * @param name defines the block name
|
|
|
+ */
|
|
|
+ constructor(name: string);
|
|
|
+ /**
|
|
|
+ * Gets the current class name
|
|
|
+ * @returns the class name
|
|
|
+ */
|
|
|
+ getClassName(): string;
|
|
|
+ /**
|
|
|
+ * Gets the left operand input component
|
|
|
+ */
|
|
|
+ readonly left: NodeMaterialConnectionPoint;
|
|
|
+ /**
|
|
|
+ * Gets the right operand input component
|
|
|
+ */
|
|
|
+ readonly right: NodeMaterialConnectionPoint;
|
|
|
+ /**
|
|
|
+ * Gets the output component
|
|
|
+ */
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
|
+ protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
|
+ }
|
|
|
+}
|
|
|
declare module "babylonjs/Materials/Node/Blocks/index" {
|
|
|
export * from "babylonjs/Materials/Node/Blocks/Vertex/index";
|
|
|
export * from "babylonjs/Materials/Node/Blocks/Fragment/index";
|
|
@@ -56941,6 +57007,8 @@ declare module "babylonjs/Materials/Node/Blocks/index" {
|
|
|
export * from "babylonjs/Materials/Node/Blocks/oppositeBlock";
|
|
|
export * from "babylonjs/Materials/Node/Blocks/viewDirectionBlock";
|
|
|
export * from "babylonjs/Materials/Node/Blocks/fresnelBlock";
|
|
|
+ export * from "babylonjs/Materials/Node/Blocks/maxBlock";
|
|
|
+ export * from "babylonjs/Materials/Node/Blocks/minBlock";
|
|
|
}
|
|
|
declare module "babylonjs/Materials/Node/Optimizers/index" {
|
|
|
export * from "babylonjs/Materials/Node/Optimizers/nodeMaterialOptimizer";
|
|
@@ -119653,6 +119721,66 @@ declare module BABYLON {
|
|
|
}
|
|
|
declare module BABYLON {
|
|
|
/**
|
|
|
+ * Block used to get the max of 2 values
|
|
|
+ */
|
|
|
+ export class MaxBlock extends NodeMaterialBlock {
|
|
|
+ /**
|
|
|
+ * Creates a new MaxBlock
|
|
|
+ * @param name defines the block name
|
|
|
+ */
|
|
|
+ constructor(name: string);
|
|
|
+ /**
|
|
|
+ * Gets the current class name
|
|
|
+ * @returns the class name
|
|
|
+ */
|
|
|
+ getClassName(): string;
|
|
|
+ /**
|
|
|
+ * Gets the left operand input component
|
|
|
+ */
|
|
|
+ readonly left: NodeMaterialConnectionPoint;
|
|
|
+ /**
|
|
|
+ * Gets the right operand input component
|
|
|
+ */
|
|
|
+ readonly right: NodeMaterialConnectionPoint;
|
|
|
+ /**
|
|
|
+ * Gets the output component
|
|
|
+ */
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
|
+ protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
|
+ }
|
|
|
+}
|
|
|
+declare module BABYLON {
|
|
|
+ /**
|
|
|
+ * Block used to get the min of 2 values
|
|
|
+ */
|
|
|
+ export class MinBlock extends NodeMaterialBlock {
|
|
|
+ /**
|
|
|
+ * Creates a new MinBlock
|
|
|
+ * @param name defines the block name
|
|
|
+ */
|
|
|
+ constructor(name: string);
|
|
|
+ /**
|
|
|
+ * Gets the current class name
|
|
|
+ * @returns the class name
|
|
|
+ */
|
|
|
+ getClassName(): string;
|
|
|
+ /**
|
|
|
+ * Gets the left operand input component
|
|
|
+ */
|
|
|
+ readonly left: NodeMaterialConnectionPoint;
|
|
|
+ /**
|
|
|
+ * Gets the right operand input component
|
|
|
+ */
|
|
|
+ readonly right: NodeMaterialConnectionPoint;
|
|
|
+ /**
|
|
|
+ * Gets the output component
|
|
|
+ */
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
|
+ protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
|
+ }
|
|
|
+}
|
|
|
+declare module BABYLON {
|
|
|
+ /**
|
|
|
* Effect Render Options
|
|
|
*/
|
|
|
export interface IEffectRendererOptions {
|