implemented Texture2D::set_tex_parameters()