Skip to content

Commit c1ac334

Browse files
committed
Add missing typedoc
1 parent a8afe17 commit c1ac334

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

packages/dev/core/src/Engines/engine.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1686,6 +1686,8 @@ export class Engine extends ThinEngine {
16861686
/**
16871687
* Wraps an external web gl texture in a Babylon texture.
16881688
* @param texture defines the external texture
1689+
* @param hasMipMaps defines whether the external texture has mip maps (default: false)
1690+
* @param samplingMode defines the sampling mode for the external texture (default: Constants.TEXTURE_TRILINEAR_SAMPLINGMODE)
16891691
* @returns the babylon internal texture
16901692
*/
16911693
public wrapWebGLTexture(texture: WebGLTexture, hasMipMaps: boolean = false, samplingMode: number = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE): InternalTexture {

packages/dev/core/src/Engines/nativeEngine.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1779,6 +1779,8 @@ export class NativeEngine extends Engine {
17791779
/**
17801780
* Wraps an external native texture in a Babylon texture.
17811781
* @param texture defines the external texture
1782+
* @param hasMipMaps defines whether the external texture has mip maps
1783+
* @param samplingMode defines the sampling mode for the external texture (default: Constants.TEXTURE_TRILINEAR_SAMPLINGMODE)
17821784
* @returns the babylon internal texture
17831785
*/
17841786
public wrapNativeTexture(texture: any, hasMipMaps: boolean = false, samplingMode: number = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE): InternalTexture {

0 commit comments

Comments
 (0)