123456789101112131415161718192021222324 |
- 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;
|