WebGPURenderPipeline constructor

WebGPURenderPipeline(
  1. dynamic device,
  2. dynamic renderer,
  3. dynamic sampleCount
)

Implementation

WebGPURenderPipeline(device, renderer, sampleCount) {
  this.cacheKey = null;
  this.shaderAttributes = null;
  // this.stageVertex = null;
  // this.stageFragment = null;
  this.usedTimes = 0;

  this._device = device;
  this._renderer = renderer;
  this._sampleCount = sampleCount;
}