|
@@ -31387,6 +31387,19 @@ declare module "babylonjs/Engines/thinEngine" {
|
|
* Gets or sets the relative url used to load shaders if using the engine in non-minified mode
|
|
* Gets or sets the relative url used to load shaders if using the engine in non-minified mode
|
|
*/
|
|
*/
|
|
static ShadersRepository: string;
|
|
static ShadersRepository: string;
|
|
|
|
+ /**
|
|
|
|
+ * Gets or sets the textures that the engine should not attempt to load as compressed
|
|
|
|
+ */
|
|
|
|
+ protected _excludedCompressedTextures: string[];
|
|
|
|
+ /**
|
|
|
|
+ * Filters the compressed texture formats to only include
|
|
|
|
+ * files that are not included in the skippable list
|
|
|
|
+ *
|
|
|
|
+ * @param url the current extension
|
|
|
|
+ * @param textureFormatInUse the current compressed texture format
|
|
|
|
+ * @returns "format" string
|
|
|
|
+ */
|
|
|
|
+ excludedCompressedTextureFormats(url: Nullable<string>, textureFormatInUse: Nullable<string>): Nullable<string>;
|
|
/** @hidden */
|
|
/** @hidden */
|
|
_shaderProcessor: IShaderProcessor;
|
|
_shaderProcessor: IShaderProcessor;
|
|
/**
|
|
/**
|
|
@@ -34115,6 +34128,13 @@ declare module "babylonjs/Engines/engine" {
|
|
*/
|
|
*/
|
|
setTextureFormatToUse(formatsAvailable: Array<string>): Nullable<string>;
|
|
setTextureFormatToUse(formatsAvailable: Array<string>): Nullable<string>;
|
|
/**
|
|
/**
|
|
|
|
+ * Set the compressed texture extensions or file names to skip.
|
|
|
|
+ *
|
|
|
|
+ * @param skippedFiles defines the list of those texture files you want to skip
|
|
|
|
+ * Example: [".dds", ".env", "myfile.png"]
|
|
|
|
+ */
|
|
|
|
+ setCompressedTextureExclusions(skippedFiles: Array<string>): void;
|
|
|
|
+ /**
|
|
* Force a specific size of the canvas
|
|
* Force a specific size of the canvas
|
|
* @param width defines the new canvas' width
|
|
* @param width defines the new canvas' width
|
|
* @param height defines the new canvas' height
|
|
* @param height defines the new canvas' height
|
|
@@ -99349,6 +99369,19 @@ declare module BABYLON {
|
|
* Gets or sets the relative url used to load shaders if using the engine in non-minified mode
|
|
* Gets or sets the relative url used to load shaders if using the engine in non-minified mode
|
|
*/
|
|
*/
|
|
static ShadersRepository: string;
|
|
static ShadersRepository: string;
|
|
|
|
+ /**
|
|
|
|
+ * Gets or sets the textures that the engine should not attempt to load as compressed
|
|
|
|
+ */
|
|
|
|
+ protected _excludedCompressedTextures: string[];
|
|
|
|
+ /**
|
|
|
|
+ * Filters the compressed texture formats to only include
|
|
|
|
+ * files that are not included in the skippable list
|
|
|
|
+ *
|
|
|
|
+ * @param url the current extension
|
|
|
|
+ * @param textureFormatInUse the current compressed texture format
|
|
|
|
+ * @returns "format" string
|
|
|
|
+ */
|
|
|
|
+ excludedCompressedTextureFormats(url: Nullable<string>, textureFormatInUse: Nullable<string>): Nullable<string>;
|
|
/** @hidden */
|
|
/** @hidden */
|
|
_shaderProcessor: IShaderProcessor;
|
|
_shaderProcessor: IShaderProcessor;
|
|
/**
|
|
/**
|
|
@@ -102047,6 +102080,13 @@ declare module BABYLON {
|
|
*/
|
|
*/
|
|
setTextureFormatToUse(formatsAvailable: Array<string>): Nullable<string>;
|
|
setTextureFormatToUse(formatsAvailable: Array<string>): Nullable<string>;
|
|
/**
|
|
/**
|
|
|
|
+ * Set the compressed texture extensions or file names to skip.
|
|
|
|
+ *
|
|
|
|
+ * @param skippedFiles defines the list of those texture files you want to skip
|
|
|
|
+ * Example: [".dds", ".env", "myfile.png"]
|
|
|
|
+ */
|
|
|
|
+ setCompressedTextureExclusions(skippedFiles: Array<string>): void;
|
|
|
|
+ /**
|
|
* Force a specific size of the canvas
|
|
* Force a specific size of the canvas
|
|
* @param width defines the new canvas' width
|
|
* @param width defines the new canvas' width
|
|
* @param height defines the new canvas' height
|
|
* @param height defines the new canvas' height
|