createTextureFromImage Method
Create a new texture from an HTML image. Typically the image was extracted from a binary representation of a jpeg or png via imageElementFromImageSource
createTextureFromImage(_image: HTMLImageElement, _hasAlpha: boolean, _imodel: IModelConnection | undefined, _params: Params): RenderTexture | undefined
Parameter | Type | Description |
---|---|---|
_image | HTMLImageElement | |
_hasAlpha | boolean | |
_imodel | IModelConnection | undefined | |
_params | Params |
Defined in
Last Updated: 08 January, 2020