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.
17 lines
281 B
17 lines
281 B
6 months ago
|
import Pipeline from './Pipeline.js';
|
||
|
|
||
|
class RenderPipeline extends Pipeline {
|
||
|
|
||
|
constructor( cacheKey, vertexProgram, fragmentProgram ) {
|
||
|
|
||
|
super( cacheKey );
|
||
|
|
||
|
this.vertexProgram = vertexProgram;
|
||
|
this.fragmentProgram = fragmentProgram;
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
export default RenderPipeline;
|