@animech-public/playcanvas
Version:
PlayCanvas WebGL game engine
31 lines (30 loc) • 805 B
TypeScript
/**
* A WebGPU implementation of the BindGroupFormat, which is a wrapper over GPUBindGroupLayout.
*
* @ignore
*/
export class WebgpuBindGroupFormat {
/**
* @param {import('../bind-group-format.js').BindGroupFormat} bindGroupFormat - Bind group format.
*/
constructor(bindGroupFormat: import("../bind-group-format.js").BindGroupFormat);
/**
* Unique key, used for caching
*
* @type {number}
*/
key: number;
descr: any;
/**
* @type {GPUBindGroupLayout}
* @private
*/
private bindGroupLayout;
destroy(): void;
loseContext(): void;
/**
* @param {any} bindGroupFormat - The format of the bind group.
* @returns {any} Returns the bind group descriptor.
*/
createDescriptor(bindGroupFormat: any): any;
}