You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
362 B
24 lines
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;
|
|
|