Skip to content

Commit 0af1303

Browse files
committed
Added TextureTintStrip pipeline
1 parent 162b07b commit 0af1303

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

src/renderer/webgl/WebGLRenderer.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ var WebGLSnapshot = require('../snapshot/WebGLSnapshot');
2323
var BitmapMaskPipeline = require('./pipelines/BitmapMaskPipeline');
2424
var ForwardDiffuseLightPipeline = require('./pipelines/ForwardDiffuseLightPipeline');
2525
var TextureTintPipeline = require('./pipelines/TextureTintPipeline');
26+
var TextureTintStripPipeline = require('./pipelines/TextureTintStripPipeline');
2627

2728
/**
2829
* @callback WebGLContextCallback
@@ -711,6 +712,7 @@ var WebGLRenderer = new Class({
711712
this.pipelines = {};
712713

713714
this.addPipeline('TextureTintPipeline', new TextureTintPipeline({ game: game, renderer: this }));
715+
this.addPipeline('TextureTintStripPipeline', new TextureTintStripPipeline({ game: game, renderer: this }));
714716
this.addPipeline('BitmapMaskPipeline', new BitmapMaskPipeline({ game: game, renderer: this }));
715717
this.addPipeline('Light2D', new ForwardDiffuseLightPipeline({ game: game, renderer: this, maxLights: config.maxLights }));
716718

src/renderer/webgl/pipelines/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ module.exports = {
1313
BitmapMaskPipeline: require('./BitmapMaskPipeline'),
1414
ForwardDiffuseLightPipeline: require('./ForwardDiffuseLightPipeline'),
1515
TextureTintPipeline: require('./TextureTintPipeline'),
16+
TextureTintStripPipeline: require('./TextureTintStripPipeline'),
1617
ModelViewProjection: require('./components/ModelViewProjection')
1718

1819
};

0 commit comments

Comments
 (0)