shrink

var shrink: Int = 1

Divide the viewport's effective resolution by this value while preserving its scale. This can be used to speed up rendering.

For example, a 1280x720 frame buffer with shrink set to 2 will be rendered at 640x360 while occupying the same size in the container.

stretch must be set to true for this to take effect.