API Reference > imodeljs-backend > Elements > Texture > create create MethodStatic Deprecated Use Texture.createTexture. Create a Texture with given parameters. create(iModelDb: IModelDb, definitionModelId: string, name: string, format: ImageSourceFormat, data: string | Uint8Array, _width: number, _height: number, description: string, _flags: undefined): Texture throws IModelError if unable to create the element. Parameter Type Description iModelDb IModelDb The iModel definitionModelId string The DefinitionModel name string The name/CodeValue of the Texture format ImageSourceFormat Format of the image data data string | Uint8Array The image data in a string _width number unused. _height number unused. description string An optional description of the texture _flags undefined unused. Returns - Texture The newly constructed Texture element. Defined in core/backend/src/Texture.ts Line 85 Last Updated: 12 June, 2024