createTextureFromImageSource Method

Deprecated  in 3.x. Use RenderSystem.createTextureFromSource.

Create a new texture from an ImageSource.

createTextureFromImageSource(source: ImageSource, iModel: undefined | IModelConnection, params: Params): Promise<undefined | RenderTexture>

Parameter Type Description
source ImageSource  
iModel undefined | IModelConnection  
params Params  

Returns - Promise<undefined | RenderTexture>

Defined in

Last Updated: 30 November, 2023