QDepthTest Class

(Qt3DRender::QDepthTest)
Inherits: Qt3DRender::QRenderState

Public Types

enum DepthFunc { Never, Always, Less, LessOrEqual, ..., NotEqual }

Properties

Public Functions

QDepthTest(Qt3DCore::QNode *parent = Q_NULLPTR)
~QDepthTest()
DepthFunc func() const

Public Slots

void setFunc(DepthFunc func)

Signals

void funcChanged(DepthFunc func)

Protected Functions

void copy(const Qt3DCore::QNode *ref)

Additional Inherited Members

Member Type Documentation

enum QDepthTest::DepthFunc

Property Documentation

func : DepthFunc

Access functions:

DepthFunc func() const
void setFunc(DepthFunc func)

Notifier signal:

void funcChanged(DepthFunc func)

Member Function Documentation

QDepthTest::QDepthTest(Qt3DCore::QNode *parent = Q_NULLPTR)

Default constructs an instance of QDepthTest.

QDepthTest::~QDepthTest()

Destroys the instance of QDepthTest.

[protected] void QDepthTest::copy(const Qt3DCore::QNode *ref)

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/archives/qt-5.6/qt3drender-qdepthtest.html