UNPKG

three

Version:

JavaScript 3D library

25 lines (13 loc) 362 B
import UniformNode from '../core/UniformNode.js'; class BufferNode extends UniformNode { constructor( value, bufferType, bufferCount = 0 ) { super( value, bufferType ); this.isBufferNode = true; this.bufferType = bufferType; this.bufferCount = bufferCount; } getInputType( /*builder*/ ) { return 'buffer'; } } export default BufferNode;