Improved Texture handling.

Added Macro for property array.