createTextureFromElement Method

Create a new texture by its element ID. This texture will be retrieved asynchronously from the backend. A placeholder image will be associated with the texture until the requested image data loads.

createTextureFromElement(_id: string, _imodel: IModelConnection, _params: RenderTextureParams, _format: ImageSourceFormat): RenderTexture | undefined

Parameter Type Description
_id string  
_imodel IModelConnection  
_params RenderTextureParams  
_format ImageSourceFormat  

Returns - RenderTexture | undefined

Defined in

Last Updated: 28 April, 2026