setDrawingBufferSize method

void setDrawingBufferSize(
  1. double width,
  2. double height,
  3. double pixelRatio
)

Implementation

void setDrawingBufferSize(double width, double height, double pixelRatio) {
  _width = width;
  _height = height;
  _pixelRatio = pixelRatio;
  console.info("WebGLRenderer setDrawingBufferSize ");
  setViewport(0, 0, width, height);
}