QScissorTest Class

class Qt3DRender::QScissorTest

The QScissorTest class discards fragments that fall outside of a certain rectangular portion of the screen. More...

Header: #include <QScissorTest>
qmake: QT += 3drender
Since: Qt 5.7
Instantiated By: ScissorTest
Inherits: Qt3DRender::QRenderState

This class was introduced in Qt 5.7.

Public Functions

QScissorTest(Qt3DCore::QNode *parent = nullptr)

Detailed Description

A QScissorTest class enables scissor test, which discards fragments outside the rectangular area of the screen specified by the left, bottom, width and height properties.

Member Function Documentation

QScissorTest::QScissorTest(Qt3DCore::QNode *parent = nullptr)

The constructor creates a new QScissorTest::QScissorTest instance with the specified parent