QStencilTest Class

class Qt3DRender::QStencilTest

The QStencilTest class specifies arguments for the stecil test. More...

Header: #include <QStencilTest>
Instantiated By: StencilTest
Inherits: Qt3DRender::QRenderState

Properties

  • back : Qt3DRender::QStencilTestArguments* const
  • front : Qt3DRender::QStencilTestArguments* const

Public Functions

virtual ~QStencilTest()
QStencilTestArguments *back() const
QStencilTestArguments *front() const

Detailed Description

\since5.7 \ingroup renderstates \inmodule Qt3DRender

A Qt3DRender::QStencilTest class specifies argument for the stencil test. The stencil test comprises of three arguments: stencil test function, stencil test mask and stencil reference value. QStencilTest allows these arguments to be set for both front- and back-facing polygons separately.

See also Qt3DRender::QStencilMask and Qt3DRender::QStencilOperation.

Property Documentation

[read-only] back : Qt3DRender::QStencilTestArguments* const

Holds the stencil test arguments for back-facing polygons.

Access functions:

QStencilTestArguments *back() const

[read-only] front : Qt3DRender::QStencilTestArguments* const

Holds the stencil test arguments for front-facing polygons.

Access functions:

QStencilTestArguments *front() const

Member Function Documentation

[virtual noexcept] QStencilTest::~QStencilTest()

\internal

QStencilTestArguments *QStencilTest::front() const

\internal

Note: Getter function for property front.