StorageBufferNode.js 327 B

123456789101112131415161718192021
  1. import BufferNode from './BufferNode.js';
  2. class StorageBufferNode extends BufferNode {
  3. constructor( value, bufferType, bufferCount = 0 ) {
  4. super( value, bufferType, bufferCount );
  5. this.isStorageBufferNode = true;
  6. }
  7. getInputType( /*builder*/ ) {
  8. return 'storageBuffer';
  9. }
  10. }
  11. export default StorageBufferNode;