BaseTexture#skipRender

skipRender : boolean

A BaseTexture can be set to skip the rendering phase in the WebGL Sprite Batch.

You may want to do this if you have a parent Sprite with no visible texture (i.e. uses the internal __default texture)
that has children that you do want to render, without causing a batch flush in the process.

Source code: pixi/textures/BaseTexture.js (Line 115)
doc_phaser
2017-02-14 10:36:27
Comments
Leave a Comment

Please login to continue.