Scissor

nn::gr::CTR::Scissor::Scissor Constructor

Syntax

Scissor(
     bool isEnable_,
     s32 x_,
     s32 y_,
     u32 width_,
     u32 height_,
     s32 bufferWidth_,
     s32 bufferHeight_
);

Parameters

Name Description
in isEnable_ Sets whether to enable scissoring.
in x_ The lower left x value in the scissor area.
in y_ The lower left y value in the scissor area.
in width_ The scissor area width.
in height_ The scissor area height.
in bufferWidth_ The color buffer width.
in bufferHeight_ The color buffer height.

Description

Constructor. Initializes using specified values.


CONFIDENTIAL