QStencilOperation Class

class Qt3DRender::QStencilOperation

QStencilOperationクラスはステンシル操作を指定します。詳細...

ヘッダー #include <QStencilOperation>
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 インスタンスを作成します。

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