findTexture Method

Find a previously-created RenderTexture by its ID.

findTexture(_key: string, _imodel: IModelConnection): RenderTexture | undefined

Parameter Type Description
_key string The unique ID of the texture within the context of the IModelConnection. Typically an element ID.
_imodel IModelConnection The IModelConnection with which the texture is associated.

Returns - A previously-created texture matching the specified ID, or undefined if no such texture exists.

Defined in

Last Updated: 08 January, 2020