Create SetTexture macro