このページでは

Qt3DRender::QStencilOperation Class

class Qt3DRender::QStencilOperation

QStencilOperation クラスは、ステンシル演算を定義します。詳細...

ヘッダー: #include <qstenciloperation.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
QML内: StencilOperation
継承元: Qt3DRender::QRenderState
ステータス: 非推奨

このクラスは非推奨です。新しいコードでの使用は強く推奨しません。

プロパティ

  • back : Qt3DRender::QStencilOperationArguments* const
  • front : Qt3DRender::QStencilOperationArguments* const

公開関数

QStencilOperation(Qt3DCore::QNode *parent = nullptr)
Qt3DRender::QStencilOperationArguments *back() const

詳細な説明

Qt3DRender::QStencilOperation クラスは、表側および裏側のポリゴンに対するステンシル演算を指定します。ステンシル演算は、ステンシルテストおよび深度テストに合格または不合格となった場合に、フラグメントに対してどのような処理が行われるかを制御します。

「Qt3DRender::QStencilTest」も参照してください 。

プロパティのドキュメント

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

背面ポリゴンのステンシル演算の引数を保持します。

アクセス関数:

Qt3DRender::QStencilOperationArguments *back() const

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

前面向きのポリゴンのステンシル演算の引数を保持します。

メンバ関数のドキュメント

[explicit] QStencilOperation::QStencilOperation(Qt3DCore::QNode *parent = nullptr)

このコンストラクタは、指定されたparent を使用して、新しいQStencilOperation::QStencilOperation インスタンスを作成します。

© 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.