macros for texture parameters