void paint(WebGLRenderingContext gl, Transform parentTransform, float parentAlpha) { if (!visible()) return; for (HtmlLayerGL child : impl.children) { child.paint(gl, localTransform(parentTransform), parentAlpha * alpha); } }