QStencilMask Class
(Qt3DRender::QStencilMask)The QStencilMask class controls the front and back writing of individual bits in the stencil planes. 更多...
头文件: | #include <QStencilMask> |
qmake: | QT += 3drender |
开始支持版本: | Qt 5.7 |
Instantiated By: | StencilMask |
基类: | Qt3DRender::QRenderState |
属性
- backOutputMask : uint
- frontOutputMask : uint
- 3 个属性继承自 Qt3DCore::QNode
- 1 个属性继承自 QObject
公有函数
QStencilMask(Qt3DCore::QNode *parent = nullptr) | |
uint | backOutputMask() const |
uint | frontOutputMask() const |
- 11 个公有函数继承自 Qt3DCore::QNode
- 32 个公有函数继承自 QObject
公有槽函数
void | setBackOutputMask(uint backOutputMask) |
void | setFrontOutputMask(uint frontOutputMask) |
- 3 个公有槽函数继承自 Qt3DCore::QNode
- 1 个公有槽函数继承自 QObject
信号
void | backOutputMaskChanged(uint backOutputMask) |
void | frontOutputMaskChanged(uint frontOutputMask) |
- 4 个信号继承自 Qt3DCore::QNode
- 2 个信号继承自 QObject
其他继承的成员
- 1 个公有变量继承自 QObject
- 10 个静态公有成员继承自 QObject
- 2 个受保护的函数继承自 Qt3DCore::QNode
- 9 个受保护的函数继承自 QObject
- 2 个受保护的变量继承自 QObject
详细描述
The QStencilMask class controls the front and back writing of individual bits in the stencil planes.
A Qt3DRender::QStencilMask class specifies a write mask for the stencil values after the stencil test. Mask can be specified separately for the front-facing and back-facing polygons. The fragment stencil value is and'd with the mask before it is written to the stencil buffer.
属性
backOutputMask : uint
Holds the write mask for the fragment stencil values for back-facing polygons.
访问函数:
uint | backOutputMask() const |
void | setBackOutputMask(uint backOutputMask) |
Notifier signal:
void | backOutputMaskChanged(uint backOutputMask) |
frontOutputMask : uint
Holds the write mask for the fragment stencil values for front-facing polygons.
访问函数:
uint | frontOutputMask() const |
void | setFrontOutputMask(uint frontOutputMask) |
Notifier signal:
void | frontOutputMaskChanged(uint frontOutputMask) |