|
@@ -7185,6 +7185,10 @@ declare module "babylonjs/Engines/WebGL/webGLPipelineContext" {
|
|
|
isParallelCompiled: boolean;
|
|
|
onCompiled?: () => void;
|
|
|
transformFeedback?: WebGLTransformFeedback | null;
|
|
|
+ vertexCompilationError: Nullable<string>;
|
|
|
+ fragmentCompilationError: Nullable<string>;
|
|
|
+ programLinkError: Nullable<string>;
|
|
|
+ programValidationError: Nullable<string>;
|
|
|
readonly isAsync: boolean;
|
|
|
readonly isReady: boolean;
|
|
|
_handlesSpectorRebuildCallback(onCompiled: (program: WebGLProgram) => void): void;
|
|
@@ -32424,7 +32428,7 @@ declare module "babylonjs/Engines/thinEngine" {
|
|
|
* Gets host document
|
|
|
* @returns the host document object
|
|
|
*/
|
|
|
- getHostDocument(): Document;
|
|
|
+ getHostDocument(): Nullable<Document>;
|
|
|
}
|
|
|
}
|
|
|
declare module "babylonjs/Maths/sphericalPolynomial" {
|
|
@@ -48293,6 +48297,11 @@ declare module "babylonjs/Engines/nativeEngine" {
|
|
|
* @param stencil
|
|
|
*/
|
|
|
_bindUnboundFramebuffer(framebuffer: Nullable<WebGLFramebuffer>): void;
|
|
|
+ /**
|
|
|
+ * Gets host document
|
|
|
+ * @returns the host document object
|
|
|
+ */
|
|
|
+ getHostDocument(): Nullable<Document>;
|
|
|
clear(color: Nullable<IColor4Like>, backBuffer: boolean, depth: boolean, stencil?: boolean): void;
|
|
|
createIndexBuffer(indices: IndicesArray): NativeDataBuffer;
|
|
|
createVertexBuffer(data: DataArray): NativeDataBuffer;
|
|
@@ -77101,6 +77110,10 @@ declare module BABYLON {
|
|
|
isParallelCompiled: boolean;
|
|
|
onCompiled?: () => void;
|
|
|
transformFeedback?: WebGLTransformFeedback | null;
|
|
|
+ vertexCompilationError: Nullable<string>;
|
|
|
+ fragmentCompilationError: Nullable<string>;
|
|
|
+ programLinkError: Nullable<string>;
|
|
|
+ programValidationError: Nullable<string>;
|
|
|
readonly isAsync: boolean;
|
|
|
readonly isReady: boolean;
|
|
|
_handlesSpectorRebuildCallback(onCompiled: (program: WebGLProgram) => void): void;
|
|
@@ -101454,7 +101467,7 @@ declare module BABYLON {
|
|
|
* Gets host document
|
|
|
* @returns the host document object
|
|
|
*/
|
|
|
- getHostDocument(): Document;
|
|
|
+ getHostDocument(): Nullable<Document>;
|
|
|
}
|
|
|
}
|
|
|
declare module BABYLON {
|
|
@@ -116392,6 +116405,11 @@ declare module BABYLON {
|
|
|
* @param stencil
|
|
|
*/
|
|
|
_bindUnboundFramebuffer(framebuffer: Nullable<WebGLFramebuffer>): void;
|
|
|
+ /**
|
|
|
+ * Gets host document
|
|
|
+ * @returns the host document object
|
|
|
+ */
|
|
|
+ getHostDocument(): Nullable<Document>;
|
|
|
clear(color: Nullable<IColor4Like>, backBuffer: boolean, depth: boolean, stencil?: boolean): void;
|
|
|
createIndexBuffer(indices: IndicesArray): NativeDataBuffer;
|
|
|
createVertexBuffer(data: DataArray): NativeDataBuffer;
|