Expose texture target into API