HLSL code 'Texture2D' to 'sampler2D'

Surely there is set texture parameter.