copyFrom method

void copyFrom(
  1. RenderState renderState
)

Implementation

void copyFrom(RenderState renderState) {
  final currentContextState = _currentContextState = _firstContextState;
  currentContextState.matrix.copyFrom(renderState.globalMatrix);
  currentContextState.alpha = renderState.globalAlpha;
  currentContextState.blendMode = renderState.globalBlendMode;
}