setClear method

void setClear(
  1. Color color,
  2. double alpha
)

Implementation

void setClear(Color color, double alpha) {
  state.buffers["color"]
      .setClear(color.r, color.g, color.b, alpha, premultipliedAlpha);
}