In a shader?
...you have to modify the texcoords:
float 4 colormap = tex2D(sampler, Tex);
-> this would take the texture without any transformation

bias-> Tex+something
scal-> Tex*something
rotate-> mul(Tex,rotationmatrix)