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.

  1. long stretchShrink [@property getter]
  2. long stretchShrink [@property setter]
    struct ViewportContainer
    @nogc nothrow @property
    void
    stretchShrink
    (
    long v
    )

Meta