Function GLObject.setSamplerParams

void setSamplerParams(
  bool linear,
  bool clamp = false,
  bool mipmap = false
);