API TextureBase GetTexture

Returns the FileID for the texture.
 textureFile = TextureBase:GetTexture()
==Returns==
:;textureFile:
==Details==
* If is performed on the texture, then it will return "RTPortrait1".
* Returns nil if the texture is a solid color from or any otherwise invalid parameter to .
==Example==
local tex = UIParent:CreateTexture()
tex:SetPoint("CENTER")
tex:SetTexture("interface/icons/inv_mushroom_11")
print(tex:GetTexture())
 > 134532