Qt3DRender::QStencilMask Class
class Qt3DRender::QStencilMaskQStencilMask クラスは、ステンシルプレーン内の個々のビットのフロント書き込みとバック書き込みを制御します。詳細...
| ヘッダー: | #include <qstencilmask.h> |
| 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 クラスは、ステンシルテスト後のステンシル値に対する書き込みマスクを指定します。マスクは、表側のポリゴンと裏側のポリゴンに対して個別に指定できます。フラグメントのステンシル値は、ステンシルバッファに書き込まれる前に、このマスクとAND演算されます。
Qt3DRender::QStencilTestも参照してください 。
プロパティのドキュメント
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 インスタンスを作成します。
© 2026 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.