Viewport

nn::gr::CTR::Viewport::Viewport Constructor

Syntax

Viewport(
     s32 x_,
     s32 y_,
     u32 width_,
     u32 height_
);

Parameters

Name Description
in x_ Lower left x-coordinate of the viewport.
in y_ Lower left y-coordinate of the viewport.
in width_ Width of the viewport.
in height_ Height of the viewport.

Description

This constructor initializes using specified values.


CONFIDENTIAL