beginDraw method

void beginDraw()
override

Implementation

void beginDraw() {
  if (value.textureId == null) {
    throw Exception("textureId is null");
  }
  bind.prepare(value.textureId!);
}