This routine adds the Texture object to the Library. (If the Texture passed in is
None, this Texture is will not be added to the Library.) There is no checking for duplicates when adding a Texture. This call will always add the Texture to the Library, even if an identical Texture already exists therein. If addition is successful, a unique texture reference ‘key’ that is associated with the Texture is returned. If there are any errors in operation, an exception is raised. If the texture is successfully added to the library, the library consumes the texture.
texture (FMETexture) – The texture object that will be added to the library.
- Return type
The unique texture reference ‘key’.
FMEException – An exception is raised if an error occurred.