Function ViewportContainer.stretchShrink

Divides the viewport's effective resolution by this value while preserving its scale. This can be used to speed up rendering. For example, a 1280×720 viewport with stretchShrink set to 2 will be rendered at 640×360 while occupying the same size in the container. Note: stretch must be true for this property to work.

long stretchShrink() nothrow @property @nogc;

void stretchShrink (
  long v
) nothrow @property @nogc;