Buckets:
| /** | |
| * Describes the input of a {@link NodeFunction}. | |
| */ | |
| class NodeFunctionInput { | |
| /** | |
| * Constructs a new node function input. | |
| * | |
| * @param {string} type - The input type. | |
| * @param {string} name - The input name. | |
| * @param {?number} [count=null] - If the input is an Array, count will be the length. | |
| * @param {('in'|'out'|'inout')} [qualifier=''] - The parameter qualifier (only relevant for GLSL). | |
| * @param {boolean} [isConst=false] - Whether the input uses a const qualifier or not (only relevant for GLSL). | |
| */ | |
| constructor( type, name, count = null, qualifier = '', isConst = false ) { | |
| /** | |
| * The input type. | |
| * | |
| * @type {string} | |
| */ | |
| this.type = type; | |
| /** | |
| * The input name. | |
| * | |
| * @type {string} | |
| */ | |
| this.name = name; | |
| /** | |
| * If the input is an Array, count will be the length. | |
| * | |
| * @type {?number} | |
| * @default null | |
| */ | |
| this.count = count; | |
| /** | |
| *The parameter qualifier (only relevant for GLSL). | |
| * | |
| * @type {('in'|'out'|'inout')} | |
| * @default '' | |
| */ | |
| this.qualifier = qualifier; | |
| /** | |
| * Whether the input uses a const qualifier or not (only relevant for GLSL). | |
| * | |
| * @type {boolean} | |
| * @default false | |
| */ | |
| this.isConst = isConst; | |
| } | |
| } | |
| NodeFunctionInput.isNodeFunctionInput = true; | |
| export default NodeFunctionInput; | |
Xet Storage Details
- Size:
- 1.31 kB
- Xet hash:
- 55aa6cd5e7bce22ff5b64f2267222704b26e1989aaa1d26a9c534f46de1b7838
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.