1234567891011121314151617181920212223242526272829 |
- /**
- * Class used to store gfx data (like WebGLBuffer)
- */
- export class DataBuffer {
- /**
- * Gets the underlying buffer
- */
- get underlyingResource() {
- return null;
- }
- /**
- * Constructs the buffer
- */
- constructor() {
- /**
- * Gets or sets the number of objects referencing this buffer
- */
- this.references = 0;
- /** Gets or sets the size of the underlying buffer */
- this.capacity = 0;
- /**
- * Gets or sets a boolean indicating if the buffer contains 32bits indices
- */
- this.is32Bits = false;
- this.uniqueId = DataBuffer._Counter++;
- }
- }
- DataBuffer._Counter = 0;
- //# sourceMappingURL=dataBuffer.js.map
|