Buckets:
| import Buffer from './Buffer.js'; | |
| /** | |
| * Represents a storage buffer binding type. | |
| * | |
| * @private | |
| * @augments Buffer | |
| */ | |
| class StorageBuffer extends Buffer { | |
| /** | |
| * Constructs a new uniform buffer. | |
| * | |
| * @param {string} name - The buffer's name. | |
| * @param {BufferAttribute} attribute - The buffer attribute. | |
| */ | |
| constructor( name, attribute ) { | |
| super( name, attribute ? attribute.array : null ); | |
| /** | |
| * This flag can be used for type testing. | |
| * | |
| * @type {BufferAttribute} | |
| */ | |
| this.attribute = attribute; | |
| /** | |
| * This flag can be used for type testing. | |
| * | |
| * @type {boolean} | |
| * @readonly | |
| * @default true | |
| */ | |
| this.isStorageBuffer = true; | |
| } | |
| } | |
| export default StorageBuffer; | |
Xet Storage Details
- Size:
- 718 Bytes
- Xet hash:
- a5719b7ec02cdd8d46ddf2e209d365b32ddf2f954c8c7c9f596b51df2c62a178
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.