18 lines
261 B
JavaScript
18 lines
261 B
JavaScript
import Pipeline from './Pipeline.js';
|
|
|
|
class ComputePipeline extends Pipeline {
|
|
|
|
constructor( cacheKey, computeProgram ) {
|
|
|
|
super( cacheKey );
|
|
|
|
this.computeProgram = computeProgram;
|
|
|
|
this.isComputePipeline = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export default ComputePipeline;
|