getDrawingBufferSize method

Vector2 getDrawingBufferSize(
  1. Vector2 target
)

Implementation

Vector2 getDrawingBufferSize(Vector2 target) {
  target.set(width * _pixelRatio, height * _pixelRatio);

  target.floor();

  return target;
}