Parameters

Usually called from BABYLON.Texture.ts. Passed information to create a WebGLTexture.

1. A conventional http URL, e.g. 'http://...' or 'file://...'
2. A base64 string of in-line texture data, e.g. 'data:image/jpg;base64,/...'
3. An indicator that data being passed using the buffer parameter, e.g. 'data:mytexture.jpg'
* @param {boolean} noMipmap- When true, no mipmaps shall be generated. Ignored for compressed textures. They must be in the file.
* @returns {WebGLTexture} for assignment back into BABYLON.[Texture](/classes/3.0/Texture)

updateVideoTexture(texture, video, invertY) → void

Parameters

Name

Type

Description

texture

WebGLTexture

@param texture

video

HTMLVideoElement

The video

invertY

boolean

@param invertY

createRenderTargetTexture(size, options) → WebGLTexture

Create a new render target texture
old version had a "generateMipMaps" arg instead of options.
if options.generateMipMaps is undefined, consider that options itself if the generateMipmaps value
in the same way, generateDepthBuffer is defaulted to true