[DF-2302] change copypaste to macros for texture type selection