added Image unit manager to texture
allow macro substitution