Source
void activateRenderStencilBuffer(RenderStencilBuffer renderStencilBuffer) { if (!identical(renderStencilBuffer, _activeRenderStencilBuffer)) { _activeRenderProgram.flush(); _activeRenderStencilBuffer = renderStencilBuffer; _activeRenderStencilBuffer.activate(this); } }