|
@@ -7848,8 +7848,6 @@ declare module "babylonjs/Materials/Textures/cubeTexture" {
|
|
private _textureMatrix;
|
|
private _textureMatrix;
|
|
private _format;
|
|
private _format;
|
|
private _createPolynomials;
|
|
private _createPolynomials;
|
|
- /** @hidden */
|
|
|
|
- _prefiltered: boolean;
|
|
|
|
/**
|
|
/**
|
|
* Creates a cube texture from an array of image urls
|
|
* Creates a cube texture from an array of image urls
|
|
* @param files defines an array of image urls
|
|
* @param files defines an array of image urls
|
|
@@ -7887,10 +7885,6 @@ declare module "babylonjs/Materials/Textures/cubeTexture" {
|
|
*/
|
|
*/
|
|
constructor(rootUrl: string, sceneOrEngine: Scene | ThinEngine, extensions?: Nullable<string[]>, noMipmap?: boolean, files?: Nullable<string[]>, onLoad?: Nullable<() => void>, onError?: Nullable<(message?: string, exception?: any) => void>, format?: number, prefiltered?: boolean, forcedExtension?: any, createPolynomials?: boolean, lodScale?: number, lodOffset?: number);
|
|
constructor(rootUrl: string, sceneOrEngine: Scene | ThinEngine, extensions?: Nullable<string[]>, noMipmap?: boolean, files?: Nullable<string[]>, onLoad?: Nullable<() => void>, onError?: Nullable<(message?: string, exception?: any) => void>, format?: number, prefiltered?: boolean, forcedExtension?: any, createPolynomials?: boolean, lodScale?: number, lodOffset?: number);
|
|
/**
|
|
/**
|
|
- * Gets a boolean indicating if the cube texture contains prefiltered mips (used to simulate roughness with PBR)
|
|
|
|
- */
|
|
|
|
- get isPrefiltered(): boolean;
|
|
|
|
- /**
|
|
|
|
* Get the current class name of the texture useful for serialization or dynamic coding.
|
|
* Get the current class name of the texture useful for serialization or dynamic coding.
|
|
* @returns "CubeTexture"
|
|
* @returns "CubeTexture"
|
|
*/
|
|
*/
|
|
@@ -22946,6 +22940,12 @@ declare module "babylonjs/Materials/Node/nodeMaterial" {
|
|
* @returns the post process created
|
|
* @returns the post process created
|
|
*/
|
|
*/
|
|
createPostProcess(camera: Nullable<Camera>, options?: number | PostProcessOptions, samplingMode?: number, engine?: Engine, reusable?: boolean, textureType?: number, textureFormat?: number): PostProcess;
|
|
createPostProcess(camera: Nullable<Camera>, options?: number | PostProcessOptions, samplingMode?: number, engine?: Engine, reusable?: boolean, textureType?: number, textureFormat?: number): PostProcess;
|
|
|
|
+ /**
|
|
|
|
+ * Create the post process effect from the material
|
|
|
|
+ * @param postProcess The post process to create the effect for
|
|
|
|
+ */
|
|
|
|
+ createEffectForPostProcess(postProcess: PostProcess): void;
|
|
|
|
+ private _createEffectOrPostProcess;
|
|
private _createEffectForParticles;
|
|
private _createEffectForParticles;
|
|
/**
|
|
/**
|
|
* Create the effect to be used as the custom effect for a particle system
|
|
* Create the effect to be used as the custom effect for a particle system
|
|
@@ -33914,6 +33914,8 @@ declare module "babylonjs/Materials/Textures/baseTexture" {
|
|
* Define the unique id of the texture in the scene.
|
|
* Define the unique id of the texture in the scene.
|
|
*/
|
|
*/
|
|
get uid(): string;
|
|
get uid(): string;
|
|
|
|
+ /** @hidden */
|
|
|
|
+ _prefiltered: boolean;
|
|
/**
|
|
/**
|
|
* Return a string representation of the texture.
|
|
* Return a string representation of the texture.
|
|
* @returns the texture as a string
|
|
* @returns the texture as a string
|
|
@@ -53059,6 +53061,29 @@ declare module "babylonjs/Engines/Native/nativeShaderProcessor" {
|
|
postProcessor(code: string, defines: string[], isFragment: boolean): string;
|
|
postProcessor(code: string, defines: string[], isFragment: boolean): string;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+declare module "babylonjs/Engines/Processors/shaderCodeInliner" {
|
|
|
|
+ /** @hidden */
|
|
|
|
+ export class ShaderCodeInliner {
|
|
|
|
+ static readonly InlineToken: string;
|
|
|
|
+ static readonly RegexpFindFunctionNameAndType: RegExp;
|
|
|
|
+ private _sourceCode;
|
|
|
|
+ private _functionDescr;
|
|
|
|
+ private _numMaxIterations;
|
|
|
|
+ debug: boolean;
|
|
|
|
+ get code(): string;
|
|
|
|
+ constructor(sourceCode: string, numMaxIterations?: number);
|
|
|
|
+ processCode(): void;
|
|
|
|
+ private _collectFunctions;
|
|
|
|
+ private _processInlining;
|
|
|
|
+ private _extractBetweenMarkers;
|
|
|
|
+ private _skipWhitespaces;
|
|
|
|
+ private _removeComments;
|
|
|
|
+ private _replaceFunctionCallsByCode;
|
|
|
|
+ private _findBackward;
|
|
|
|
+ private _escapeRegExp;
|
|
|
|
+ private _replaceNames;
|
|
|
|
+ }
|
|
|
|
+}
|
|
declare module "babylonjs/Engines/nativeEngine" {
|
|
declare module "babylonjs/Engines/nativeEngine" {
|
|
import { Nullable, IndicesArray, DataArray } from "babylonjs/types";
|
|
import { Nullable, IndicesArray, DataArray } from "babylonjs/types";
|
|
import { Engine } from "babylonjs/Engines/engine";
|
|
import { Engine } from "babylonjs/Engines/engine";
|
|
@@ -61426,12 +61451,13 @@ declare module "babylonjs/Physics/Plugins/cannonJSPlugin" {
|
|
private _cannonRaycastResult;
|
|
private _cannonRaycastResult;
|
|
private _raycastResult;
|
|
private _raycastResult;
|
|
private _physicsBodysToRemoveAfterStep;
|
|
private _physicsBodysToRemoveAfterStep;
|
|
|
|
+ private _firstFrame;
|
|
BJSCANNON: any;
|
|
BJSCANNON: any;
|
|
constructor(_useDeltaForWorldStep?: boolean, iterations?: number, cannonInjection?: any);
|
|
constructor(_useDeltaForWorldStep?: boolean, iterations?: number, cannonInjection?: any);
|
|
setGravity(gravity: Vector3): void;
|
|
setGravity(gravity: Vector3): void;
|
|
setTimeStep(timeStep: number): void;
|
|
setTimeStep(timeStep: number): void;
|
|
getTimeStep(): number;
|
|
getTimeStep(): number;
|
|
- executeStep(delta: number): void;
|
|
|
|
|
|
+ executeStep(delta: number, impostors: Array<PhysicsImpostor>): void;
|
|
private _removeMarkedPhysicsBodiesFromWorld;
|
|
private _removeMarkedPhysicsBodiesFromWorld;
|
|
applyImpulse(impostor: PhysicsImpostor, force: Vector3, contactPoint: Vector3): void;
|
|
applyImpulse(impostor: PhysicsImpostor, force: Vector3, contactPoint: Vector3): void;
|
|
applyForce(impostor: PhysicsImpostor, force: Vector3, contactPoint: Vector3): void;
|
|
applyForce(impostor: PhysicsImpostor, force: Vector3, contactPoint: Vector3): void;
|
|
@@ -76925,29 +76951,6 @@ declare module "babylonjs/Engines/Processors/Expressions/index" {
|
|
export * from "babylonjs/Engines/Processors/Expressions/shaderDefineExpression";
|
|
export * from "babylonjs/Engines/Processors/Expressions/shaderDefineExpression";
|
|
export * from "babylonjs/Engines/Processors/Expressions/Operators/index";
|
|
export * from "babylonjs/Engines/Processors/Expressions/Operators/index";
|
|
}
|
|
}
|
|
-declare module "babylonjs/Engines/Processors/shaderCodeInliner" {
|
|
|
|
- /** @hidden */
|
|
|
|
- export class ShaderCodeInliner {
|
|
|
|
- static readonly InlineToken: string;
|
|
|
|
- static readonly RegexpFindFunctionNameAndType: RegExp;
|
|
|
|
- private _sourceCode;
|
|
|
|
- private _functionDescr;
|
|
|
|
- private _numMaxIterations;
|
|
|
|
- debug: boolean;
|
|
|
|
- get code(): string;
|
|
|
|
- constructor(sourceCode: string, numMaxIterations?: number);
|
|
|
|
- processCode(): void;
|
|
|
|
- private _collectFunctions;
|
|
|
|
- private _processInlining;
|
|
|
|
- private _extractBetweenMarkers;
|
|
|
|
- private _skipWhitespaces;
|
|
|
|
- private _removeComments;
|
|
|
|
- private _replaceFunctionCallsByCode;
|
|
|
|
- private _findBackward;
|
|
|
|
- private _escapeRegExp;
|
|
|
|
- private _replaceNames;
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
declare module "babylonjs/Engines/Processors/index" {
|
|
declare module "babylonjs/Engines/Processors/index" {
|
|
export * from "babylonjs/Engines/Processors/iShaderProcessor";
|
|
export * from "babylonjs/Engines/Processors/iShaderProcessor";
|
|
export * from "babylonjs/Engines/Processors/Expressions/index";
|
|
export * from "babylonjs/Engines/Processors/Expressions/index";
|
|
@@ -84737,8 +84740,6 @@ declare module BABYLON {
|
|
private _textureMatrix;
|
|
private _textureMatrix;
|
|
private _format;
|
|
private _format;
|
|
private _createPolynomials;
|
|
private _createPolynomials;
|
|
- /** @hidden */
|
|
|
|
- _prefiltered: boolean;
|
|
|
|
/**
|
|
/**
|
|
* Creates a cube texture from an array of image urls
|
|
* Creates a cube texture from an array of image urls
|
|
* @param files defines an array of image urls
|
|
* @param files defines an array of image urls
|
|
@@ -84776,10 +84777,6 @@ declare module BABYLON {
|
|
*/
|
|
*/
|
|
constructor(rootUrl: string, sceneOrEngine: Scene | ThinEngine, extensions?: Nullable<string[]>, noMipmap?: boolean, files?: Nullable<string[]>, onLoad?: Nullable<() => void>, onError?: Nullable<(message?: string, exception?: any) => void>, format?: number, prefiltered?: boolean, forcedExtension?: any, createPolynomials?: boolean, lodScale?: number, lodOffset?: number);
|
|
constructor(rootUrl: string, sceneOrEngine: Scene | ThinEngine, extensions?: Nullable<string[]>, noMipmap?: boolean, files?: Nullable<string[]>, onLoad?: Nullable<() => void>, onError?: Nullable<(message?: string, exception?: any) => void>, format?: number, prefiltered?: boolean, forcedExtension?: any, createPolynomials?: boolean, lodScale?: number, lodOffset?: number);
|
|
/**
|
|
/**
|
|
- * Gets a boolean indicating if the cube texture contains prefiltered mips (used to simulate roughness with PBR)
|
|
|
|
- */
|
|
|
|
- get isPrefiltered(): boolean;
|
|
|
|
- /**
|
|
|
|
* Get the current class name of the texture useful for serialization or dynamic coding.
|
|
* Get the current class name of the texture useful for serialization or dynamic coding.
|
|
* @returns "CubeTexture"
|
|
* @returns "CubeTexture"
|
|
*/
|
|
*/
|
|
@@ -99162,6 +99159,12 @@ declare module BABYLON {
|
|
* @returns the post process created
|
|
* @returns the post process created
|
|
*/
|
|
*/
|
|
createPostProcess(camera: Nullable<Camera>, options?: number | PostProcessOptions, samplingMode?: number, engine?: Engine, reusable?: boolean, textureType?: number, textureFormat?: number): PostProcess;
|
|
createPostProcess(camera: Nullable<Camera>, options?: number | PostProcessOptions, samplingMode?: number, engine?: Engine, reusable?: boolean, textureType?: number, textureFormat?: number): PostProcess;
|
|
|
|
+ /**
|
|
|
|
+ * Create the post process effect from the material
|
|
|
|
+ * @param postProcess The post process to create the effect for
|
|
|
|
+ */
|
|
|
|
+ createEffectForPostProcess(postProcess: PostProcess): void;
|
|
|
|
+ private _createEffectOrPostProcess;
|
|
private _createEffectForParticles;
|
|
private _createEffectForParticles;
|
|
/**
|
|
/**
|
|
* Create the effect to be used as the custom effect for a particle system
|
|
* Create the effect to be used as the custom effect for a particle system
|
|
@@ -109775,6 +109778,8 @@ declare module BABYLON {
|
|
* Define the unique id of the texture in the scene.
|
|
* Define the unique id of the texture in the scene.
|
|
*/
|
|
*/
|
|
get uid(): string;
|
|
get uid(): string;
|
|
|
|
+ /** @hidden */
|
|
|
|
+ _prefiltered: boolean;
|
|
/**
|
|
/**
|
|
* Return a string representation of the texture.
|
|
* Return a string representation of the texture.
|
|
* @returns the texture as a string
|
|
* @returns the texture as a string
|
|
@@ -127979,6 +127984,29 @@ declare module BABYLON {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
declare module BABYLON {
|
|
declare module BABYLON {
|
|
|
|
+ /** @hidden */
|
|
|
|
+ export class ShaderCodeInliner {
|
|
|
|
+ static readonly InlineToken: string;
|
|
|
|
+ static readonly RegexpFindFunctionNameAndType: RegExp;
|
|
|
|
+ private _sourceCode;
|
|
|
|
+ private _functionDescr;
|
|
|
|
+ private _numMaxIterations;
|
|
|
|
+ debug: boolean;
|
|
|
|
+ get code(): string;
|
|
|
|
+ constructor(sourceCode: string, numMaxIterations?: number);
|
|
|
|
+ processCode(): void;
|
|
|
|
+ private _collectFunctions;
|
|
|
|
+ private _processInlining;
|
|
|
|
+ private _extractBetweenMarkers;
|
|
|
|
+ private _skipWhitespaces;
|
|
|
|
+ private _removeComments;
|
|
|
|
+ private _replaceFunctionCallsByCode;
|
|
|
|
+ private _findBackward;
|
|
|
|
+ private _escapeRegExp;
|
|
|
|
+ private _replaceNames;
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+declare module BABYLON {
|
|
/**
|
|
/**
|
|
* Container for accessors for natively-stored mesh data buffers.
|
|
* Container for accessors for natively-stored mesh data buffers.
|
|
*/
|
|
*/
|
|
@@ -135702,12 +135730,13 @@ declare module BABYLON {
|
|
private _cannonRaycastResult;
|
|
private _cannonRaycastResult;
|
|
private _raycastResult;
|
|
private _raycastResult;
|
|
private _physicsBodysToRemoveAfterStep;
|
|
private _physicsBodysToRemoveAfterStep;
|
|
|
|
+ private _firstFrame;
|
|
BJSCANNON: any;
|
|
BJSCANNON: any;
|
|
constructor(_useDeltaForWorldStep?: boolean, iterations?: number, cannonInjection?: any);
|
|
constructor(_useDeltaForWorldStep?: boolean, iterations?: number, cannonInjection?: any);
|
|
setGravity(gravity: Vector3): void;
|
|
setGravity(gravity: Vector3): void;
|
|
setTimeStep(timeStep: number): void;
|
|
setTimeStep(timeStep: number): void;
|
|
getTimeStep(): number;
|
|
getTimeStep(): number;
|
|
- executeStep(delta: number): void;
|
|
|
|
|
|
+ executeStep(delta: number, impostors: Array<PhysicsImpostor>): void;
|
|
private _removeMarkedPhysicsBodiesFromWorld;
|
|
private _removeMarkedPhysicsBodiesFromWorld;
|
|
applyImpulse(impostor: PhysicsImpostor, force: Vector3, contactPoint: Vector3): void;
|
|
applyImpulse(impostor: PhysicsImpostor, force: Vector3, contactPoint: Vector3): void;
|
|
applyForce(impostor: PhysicsImpostor, force: Vector3, contactPoint: Vector3): void;
|
|
applyForce(impostor: PhysicsImpostor, force: Vector3, contactPoint: Vector3): void;
|
|
@@ -149807,29 +149836,6 @@ declare module BABYLON {
|
|
}
|
|
}
|
|
declare module BABYLON {
|
|
declare module BABYLON {
|
|
/** @hidden */
|
|
/** @hidden */
|
|
- export class ShaderCodeInliner {
|
|
|
|
- static readonly InlineToken: string;
|
|
|
|
- static readonly RegexpFindFunctionNameAndType: RegExp;
|
|
|
|
- private _sourceCode;
|
|
|
|
- private _functionDescr;
|
|
|
|
- private _numMaxIterations;
|
|
|
|
- debug: boolean;
|
|
|
|
- get code(): string;
|
|
|
|
- constructor(sourceCode: string, numMaxIterations?: number);
|
|
|
|
- processCode(): void;
|
|
|
|
- private _collectFunctions;
|
|
|
|
- private _processInlining;
|
|
|
|
- private _extractBetweenMarkers;
|
|
|
|
- private _skipWhitespaces;
|
|
|
|
- private _removeComments;
|
|
|
|
- private _replaceFunctionCallsByCode;
|
|
|
|
- private _findBackward;
|
|
|
|
- private _escapeRegExp;
|
|
|
|
- private _replaceNames;
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
-declare module BABYLON {
|
|
|
|
- /** @hidden */
|
|
|
|
export var blurPixelShader: {
|
|
export var blurPixelShader: {
|
|
name: string;
|
|
name: string;
|
|
shader: string;
|
|
shader: string;
|