createTextureFromImageSource Method

Deprecated  in 3.x. Use RenderSystem.createTextureFromSource.

Create a new texture from an ImageSource.

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

Parameter Type Description
source ImageSource  
iModel IModelConnection  
params RenderTexture.Params  

Returns - Promise<undefined | RenderTexture>

Defined in

Last Updated: 14 November, 2024