void copyFrom(RenderState renderState)

Source

void copyFrom(RenderState renderState) {

  _currentContextState = _firstContextState;
  _currentContextState.matrix.copyFrom(renderState.globalMatrix);
  _currentContextState.alpha = renderState.globalAlpha;
  _currentContextState.blendMode = renderState.globalBlendMode;
}