WebGPUTextures constructor

WebGPUTextures(
  1. dynamic device,
  2. dynamic properties,
  3. dynamic info
)

Implementation

WebGPUTextures(device, properties, info) {
  this.device = device;
  this.properties = properties;
  this.info = info;

  this.defaultTexture = null;
  this.defaultCubeTexture = null;
  this.defaultSampler = null;

  this.samplerCache = new Map();
  this.utils = null;
}