|
@@ -49886,6 +49886,7 @@ declare module "babylonjs/Engines/nativeEngine" {
|
|
|
private readonly INVALID_HANDLE;
|
|
|
getHardwareScalingLevel(): number;
|
|
|
constructor();
|
|
|
+ dispose(): void;
|
|
|
/**
|
|
|
* Can be used to override the current requestAnimationFrame requester.
|
|
|
* @hidden
|
|
@@ -50032,7 +50033,7 @@ declare module "babylonjs/Engines/nativeEngine" {
|
|
|
/**
|
|
|
* Usually called from Texture.ts.
|
|
|
* Passed information to create a WebGLTexture
|
|
|
- * @param urlArg defines a value which contains one of the following:
|
|
|
+ * @param url defines a value which contains one of the following:
|
|
|
* * A conventional http URL, e.g. 'http://...' or 'file://...'
|
|
|
* * A base64 string of in-line texture data, e.g. 'data:image/jpg;base64,/...'
|
|
|
* * An indicator that data being passed using the buffer parameter, e.g. 'data:mytexture.jpg'
|
|
@@ -50049,7 +50050,7 @@ declare module "babylonjs/Engines/nativeEngine" {
|
|
|
* @param mimeType defines an optional mime type
|
|
|
* @returns a InternalTexture for assignment back into BABYLON.Texture
|
|
|
*/
|
|
|
- createTexture(urlArg: Nullable<string>, noMipmap: boolean, invertY: boolean, scene: Nullable<ISceneLike>, samplingMode?: number, onLoad?: Nullable<() => void>, onError?: Nullable<(message: string, exception: any) => void>, buffer?: Nullable<string | ArrayBuffer | ArrayBufferView | HTMLImageElement | Blob | ImageBitmap>, fallback?: Nullable<InternalTexture>, format?: Nullable<number>, forcedExtension?: Nullable<string>, mimeType?: string): InternalTexture;
|
|
|
+ createTexture(url: Nullable<string>, noMipmap: boolean, invertY: boolean, scene: Nullable<ISceneLike>, samplingMode?: number, onLoad?: Nullable<() => void>, onError?: Nullable<(message: string, exception: any) => void>, buffer?: Nullable<string | ArrayBuffer | ArrayBufferView | HTMLImageElement | Blob | ImageBitmap>, fallback?: Nullable<InternalTexture>, format?: Nullable<number>, forcedExtension?: Nullable<string>, mimeType?: string): InternalTexture;
|
|
|
/**
|
|
|
* Creates a cube texture
|
|
|
* @param rootUrl defines the url where the files to load is located
|
|
@@ -122303,6 +122304,7 @@ declare module BABYLON {
|
|
|
private readonly INVALID_HANDLE;
|
|
|
getHardwareScalingLevel(): number;
|
|
|
constructor();
|
|
|
+ dispose(): void;
|
|
|
/**
|
|
|
* Can be used to override the current requestAnimationFrame requester.
|
|
|
* @hidden
|
|
@@ -122449,7 +122451,7 @@ declare module BABYLON {
|
|
|
/**
|
|
|
* Usually called from Texture.ts.
|
|
|
* Passed information to create a WebGLTexture
|
|
|
- * @param urlArg defines a value which contains one of the following:
|
|
|
+ * @param url defines a value which contains one of the following:
|
|
|
* * A conventional http URL, e.g. 'http://...' or 'file://...'
|
|
|
* * A base64 string of in-line texture data, e.g. 'data:image/jpg;base64,/...'
|
|
|
* * An indicator that data being passed using the buffer parameter, e.g. 'data:mytexture.jpg'
|
|
@@ -122466,7 +122468,7 @@ declare module BABYLON {
|
|
|
* @param mimeType defines an optional mime type
|
|
|
* @returns a InternalTexture for assignment back into BABYLON.Texture
|
|
|
*/
|
|
|
- createTexture(urlArg: Nullable<string>, noMipmap: boolean, invertY: boolean, scene: Nullable<ISceneLike>, samplingMode?: number, onLoad?: Nullable<() => void>, onError?: Nullable<(message: string, exception: any) => void>, buffer?: Nullable<string | ArrayBuffer | ArrayBufferView | HTMLImageElement | Blob | ImageBitmap>, fallback?: Nullable<InternalTexture>, format?: Nullable<number>, forcedExtension?: Nullable<string>, mimeType?: string): InternalTexture;
|
|
|
+ createTexture(url: Nullable<string>, noMipmap: boolean, invertY: boolean, scene: Nullable<ISceneLike>, samplingMode?: number, onLoad?: Nullable<() => void>, onError?: Nullable<(message: string, exception: any) => void>, buffer?: Nullable<string | ArrayBuffer | ArrayBufferView | HTMLImageElement | Blob | ImageBitmap>, fallback?: Nullable<InternalTexture>, format?: Nullable<number>, forcedExtension?: Nullable<string>, mimeType?: string): InternalTexture;
|
|
|
/**
|
|
|
* Creates a cube texture
|
|
|
* @param rootUrl defines the url where the files to load is located
|