@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.
29 lines (28 loc) • 665 B
TypeScript
/**
* Class used to store gfx data (like WebGLBuffer)
*/
export declare class DataBuffer {
private static _Counter;
/**
* Gets or sets the number of objects referencing this buffer
*/
references: number;
/** Gets or sets the size of the underlying buffer */
capacity: number;
/**
* Gets or sets a boolean indicating if the buffer contains 32bits indices
*/
is32Bits: boolean;
/**
* Gets the underlying buffer
*/
get underlyingResource(): any;
/**
* Gets the unique id of this buffer
*/
readonly uniqueId: number;
/**
* Constructs the buffer
*/
constructor();
}