Internal method that takes a sampler2D uniform and prepares it for use by setting the gl texture parameters.
The sampler2D uniform to process.