HolographicDisplay.MaxViewportSize Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the maximum viewport size that an app will ever be asked to render to for this display.
public:
property Size MaxViewportSize { Size get(); };
Size MaxViewportSize();
public Size MaxViewportSize { get; }
var size = holographicDisplay.maxViewportSize;
Public ReadOnly Property MaxViewportSize As Size
Property Value
The maximum viewport size.
Remarks
An app can use this maximum size to pre-allocate secondary buffers for its own use during rendering.
Note that this maximum viewport size will exceed the physical resolution of the headset's screen for displays with lens distortion.