QStencilMask Class
class Qt3DRender::QStencilMaskQStencilMaskクラスは、ステンシル・プレーン内の個々のビットの前面書き込みと背面書き込みを制御します。詳細...
ヘッダー | #include <QStencilMask> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
qmake | QT += 3drender |
QML で | StencilMask |
を継承しています: | Qt3DRender::QRenderState |
ステータス | 非推奨 |
プロパティ
- backOutputMask : uint
- frontOutputMask : uint
パブリック機能
QStencilMask(Qt3DCore::QNode *parent = nullptr) | |
uint | backOutputMask() const |
uint | frontOutputMask() const |
パブリックスロット
void | setBackOutputMask(uint backOutputMask) |
void | setFrontOutputMask(uint frontOutputMask) |
シグナル
void | backOutputMaskChanged(uint backOutputMask) |
void | frontOutputMaskChanged(uint frontOutputMask) |
詳細説明
Qt3DRender::QStencilMask クラスは、ステンシルテスト後のステンシル値の書き込みマスクを指定します。マスクは前面ポリゴンと背面ポリゴンに別々に指定することができます。フラグメントステンシル値は、ステンシルバッファに書き込まれる前に、マスクと結合される。
プロパティのドキュメント
backOutputMask : uint
背面ポリゴンのフラグメントステンシル値の書き込みマスクを保持する。
アクセス関数:
uint | backOutputMask() const |
void | setBackOutputMask(uint backOutputMask) |
通知シグナル:
void | backOutputMaskChanged(uint backOutputMask) |
frontOutputMask : uint
前面ポリゴンのフラグメントステンシル値の書き込みマスクを保持する。
アクセス関数:
uint | frontOutputMask() const |
void | setFrontOutputMask(uint frontOutputMask) |
通知シグナル:
void | frontOutputMaskChanged(uint frontOutputMask) |
メンバ関数ドキュメント
[explicit]
QStencilMask::QStencilMask(Qt3DCore::QNode *parent = nullptr)
コンストラクタは、指定されたparent で新しいQStencilMask::QStencilMask インスタンスを作成します。
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.