Added support for setting WRAP_R property for sampler objects