API GameTooltip AddTexture

GameTooltip:AddTexture(texturePath)

Adds a texture (icon) to the beginning of the last line added by AddLine, AddDoubleLine, etc.

Note: There is a limit of 10 textures per tooltip (as seen in [ GameTooltipTemplate.xml])

You can get around this limitation by using GameTooltip:AddLine("|T"..itemTexture..":0|t ")