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: 17 December, 2024