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: Params, _format: ImageSourceFormat): undefined | RenderTexture

Parameter Type Description
_id string  
_imodel IModelConnection  
_params Params  
_format ImageSourceFormat  

Returns - undefined | RenderTexture

Defined in

Last Updated: 20 April, 2024