local f = CreateFrame('frame')local t = f:CreateTexture()function TextureExists(path) t:SetTexture("?") t:SetTexture(path) return (t:GetTexture() ~= "?")end