Buckets:

imerfanrajabee's picture
download
raw
872 Bytes
import UniformsGroup from '../UniformsGroup.js';
let _id = 0;
/**
* A special form of uniforms group that represents
* the individual uniforms as node-based uniforms.
*
* @private
* @augments UniformsGroup
*/
class NodeUniformsGroup extends UniformsGroup {
/**
* Constructs a new node-based uniforms group.
*
* @param {string} name - The group's name.
* @param {UniformGroupNode} groupNode - The uniform group node.
*/
constructor( name, groupNode ) {
super( name );
/**
* The group's ID.
*
* @type {number}
*/
this.id = _id ++;
/**
* The uniform group node.
*
* @type {UniformGroupNode}
*/
this.groupNode = groupNode;
/**
* This flag can be used for type testing.
*
* @type {boolean}
* @readonly
* @default true
*/
this.isNodeUniformsGroup = true;
}
}
export default NodeUniformsGroup;

Xet Storage Details

Size:
872 Bytes
·
Xet hash:
2557467fe6b0213c4eff3fe1dba5bb8f82ba72d920c7de3d2387fcfa923226fa

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.