/** * Base class for render and compute pipelines. * * @ignore */ export class WebgpuPipeline { /** * Compares two pipeline cache keys. Used instead of a generic array comparison, whose element * access is shared with plain arrays elsewhere and so is slower on the typed arrays the keys * are - the comparison runs on every pipeline cache hit. * * @param {Uint32Array} a - A key. * @param {Uint32Array} b - Another key, of the same length. * @returns {boolean} True if the keys are equal. */ static keysEqual(a: Uint32Array, b: Uint32Array): boolean; constructor(device: any); /** @type {WebgpuGraphicsDevice} */ device: WebgpuGraphicsDevice; /** * @param {BindGroupFormat[]} bindGroupFormats - An array of bind group formats. * @returns {any} Returns the pipeline layout. */ getPipelineLayout(bindGroupFormats: BindGroupFormat[]): any; } import type { WebgpuGraphicsDevice } from './webgpu-graphics-device.js'; import type { BindGroupFormat } from '../bind-group-format.js';