mirror of
https://github.com/photonstorm/phaser
synced 2024-11-16 09:48:18 +00:00
You can forceZero via the config now
This commit is contained in:
parent
0a006e4c20
commit
4e7e5629d2
1 changed files with 1 additions and 0 deletions
|
@ -13,4 +13,5 @@
|
|||
* @property {Phaser.Types.Renderer.WebGL.WebGLPipelineAttributesConfig} [attributes] - An array of shader attribute data. All shaders bound to this pipeline must use the same attributes.
|
||||
* @property {string[]} [uniforms] - An array of shader uniform names that will be looked-up to get the locations for. If you need to assign multiple shaders, see the `shaders` property.
|
||||
* @property {Phaser.Types.Renderer.WebGL.WebGLPipelineShaderConfig[]} [shaders] - An array of shaders, all of which are created for this one pipeline. Uses the `vertShader`, `fragShader`, `attributes` and `uniforms` properties of this object as defaults.
|
||||
* @property {boolean} [forceZero=false] - Force the shader to use just a single sampler2d? Set for anything that extends the Single Pipeline.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue