@babylonjs/core
Version:
Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.
11 lines (10 loc) • 365 B
TypeScript
import { DataBuffer } from "../../Buffers/dataBuffer.js";
import type { Nullable } from "../../types.js";
/** @internal */
export declare class WebGPUDataBuffer extends DataBuffer {
private _buffer;
engineId: number;
set buffer(buffer: Nullable<GPUBuffer>);
constructor(resource?: GPUBuffer, capacity?: number);
get underlyingResource(): any;
}