Implemented exchange of sampler state object by its respective texture object.