@babylonjs/core 6.14.1 → 6.14.2
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/Engines/Processors/shaderProcessor.d.ts +2 -1
- package/Engines/Processors/shaderProcessor.js +1 -0
- package/Engines/Processors/shaderProcessor.js.map +1 -1
- package/Engines/engine.d.ts +1 -0
- package/Engines/engine.js +12 -0
- package/Engines/engine.js.map +1 -1
- package/Engines/nativeEngine.js +1 -1
- package/Engines/nativeEngine.js.map +1 -1
- package/Engines/thinEngine.d.ts +1 -0
- package/Engines/thinEngine.js +24 -6
- package/Engines/thinEngine.js.map +1 -1
- package/Inputs/scene.inputManager.js +4 -4
- package/Inputs/scene.inputManager.js.map +1 -1
- package/Materials/PBR/pbrBaseMaterial.js +3 -1
- package/Materials/PBR/pbrBaseMaterial.js.map +1 -1
- package/Materials/materialPluginBase.d.ts +7 -2
- package/Materials/materialPluginBase.js +11 -2
- package/Materials/materialPluginBase.js.map +1 -1
- package/Materials/materialPluginEvent.d.ts +1 -0
- package/Materials/materialPluginEvent.js.map +1 -1
- package/Materials/materialPluginManager.d.ts +1 -1
- package/Materials/materialPluginManager.js +34 -6
- package/Materials/materialPluginManager.js.map +1 -1
- package/Materials/standardMaterial.js +3 -1
- package/Materials/standardMaterial.js.map +1 -1
- package/Misc/customAnimationFrameRequester.d.ts +4 -0
- package/Misc/customAnimationFrameRequester.js.map +1 -1
- package/package.json +1 -1
|
@@ -16,4 +16,8 @@ export interface ICustomAnimationFrameRequester {
|
|
|
16
16
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame#Return_value
|
|
17
17
|
*/
|
|
18
18
|
requestID?: number;
|
|
19
|
+
/**
|
|
20
|
+
* Called to cancel the next frame request
|
|
21
|
+
*/
|
|
22
|
+
cancelAnimationFrame?: Function;
|
|
19
23
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customAnimationFrameRequester.js","sourceRoot":"","sources":["../../../../dev/core/src/Misc/customAnimationFrameRequester.ts"],"names":[],"mappings":"","sourcesContent":["/**\r\n * Interface for any object that can request an animation frame\r\n */\r\nexport interface ICustomAnimationFrameRequester {\r\n /**\r\n * This function will be called when the render loop is ready. If this is not populated, the engine's renderloop function will be called\r\n */\r\n renderFunction?: Function;\r\n /**\r\n * Called to request the next frame to render to\r\n * @see https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame\r\n */\r\n requestAnimationFrame: Function;\r\n /**\r\n * You can pass this value to cancelAnimationFrame() to cancel the refresh callback request\r\n * @see https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame#Return_value\r\n */\r\n requestID?: number;\r\n}\r\n"]}
|
|
1
|
+
{"version":3,"file":"customAnimationFrameRequester.js","sourceRoot":"","sources":["../../../../dev/core/src/Misc/customAnimationFrameRequester.ts"],"names":[],"mappings":"","sourcesContent":["/**\r\n * Interface for any object that can request an animation frame\r\n */\r\nexport interface ICustomAnimationFrameRequester {\r\n /**\r\n * This function will be called when the render loop is ready. If this is not populated, the engine's renderloop function will be called\r\n */\r\n renderFunction?: Function;\r\n /**\r\n * Called to request the next frame to render to\r\n * @see https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame\r\n */\r\n requestAnimationFrame: Function;\r\n /**\r\n * You can pass this value to cancelAnimationFrame() to cancel the refresh callback request\r\n * @see https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame#Return_value\r\n */\r\n requestID?: number;\r\n /**\r\n * Called to cancel the next frame request\r\n */\r\n cancelAnimationFrame?: Function;\r\n}\r\n"]}
|