Applies the filter to the specified area.
Name | Type | Description |
---|---|---|
filter | PIXI.AbstractFilter | the filter that needs to be applied |
filterArea | PIXI.Texture | TODO - might need an update |
width | Number | the horizontal range of the filter |
height | Number | the vertical range of the filter |
Name | Type | Description |
---|---|---|
renderSession | RenderSession | - |
buffer | ArrayBuffer | - |
Destroys the filter and removes it from the filter stack.
Initialises the shader buffers.
Removes the last filter from the filter stack and doesn't return it.
Applies the filter and adds it to the current filter stack.
Name | Type | Description |
---|---|---|
filterBlock | Object | the filter that will be pushed to the current filter stack |
Initialises the context and the properties.
Name | Type | Description |
---|---|---|
gl | WebGLContext | the current WebGL drawing context |
© 2016 Richard Davey, Photon Storm Ltd.
Licensed under the MIT License.
http://phaser.io/docs/2.6.2/PIXI.WebGLFilterManager.html