getDefaultSampler method

dynamic getDefaultSampler()

Implementation

getDefaultSampler() {
  if (this.defaultSampler == null) {
    this.defaultSampler = this.device.createSampler();
  }

  return this.defaultSampler;
}