QStencilOperationArguments Class
class Qt3DRender::QStencilOperationArgumentsQStencilOperationArgumentsクラスは、ステンシルと深さのテストが失敗したときに実行されるアクションを設定します。詳細...
ヘッダー | #include <QStencilOperationArguments> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
qmake | QT += 3drender |
QML で | StencilOperationArguments |
を継承しています: | QObject |
ステータス | 非推奨 |
パブリックな型
enum | FaceMode { Front, Back, FrontAndBack } |
enum | Operation { Zero, Keep, Replace, Increment, Decrement, …, Invert } |
プロパティ
- allTestsPassOperation : Operation
- depthTestFailureOperation : Operation
- faceMode : const FaceMode
- stencilTestFailureOperation : Operation
パブリック機能
Qt3DRender::QStencilOperationArguments::Operation | allTestsPassOperation() const |
Qt3DRender::QStencilOperationArguments::Operation | depthTestFailureOperation() const |
Qt3DRender::QStencilOperationArguments::FaceMode | faceMode() const |
Qt3DRender::QStencilOperationArguments::Operation | stencilTestFailureOperation() const |
パブリックスロット
void | setAllTestsPassOperation(Qt3DRender::QStencilOperationArguments::Operation operation) |
void | setDepthTestFailureOperation(Qt3DRender::QStencilOperationArguments::Operation operation) |
void | setStencilTestFailureOperation(Qt3DRender::QStencilOperationArguments::Operation operation) |
シグナル
void | allTestsPassOperationChanged(Qt3DRender::QStencilOperationArguments::Operation stencilDepthPass) |
void | depthTestFailureOperationChanged(Qt3DRender::QStencilOperationArguments::Operation depthFail) |
void | faceModeChanged(Qt3DRender::QStencilOperationArguments::FaceMode faceMode) |
void | stencilTestFailureOperationChanged(Qt3DRender::QStencilOperationArguments::Operation stencilFail) |
詳細説明
Qt3DRender::QStencilOperationArguments クラスはステンシル操作の引数を指定する。
Qt3DRender::QStencilOperationも参照のこと 。
メンバ型ドキュメント
enum QStencilOperationArguments::FaceMode
この列挙は、ステンシル操作の引数フェースモードの値を保持する。
定数 | 値 | 説明 |
---|---|---|
Qt3DRender::QStencilOperationArguments::Front | 0x0404 | 引数は前面ポリゴンに適用される。 |
Qt3DRender::QStencilOperationArguments::Back | 0x0405 | 引数は裏向きのポリゴンに適用される。 |
Qt3DRender::QStencilOperationArguments::FrontAndBack | 0x0408 | 引数は、表と裏の両方のポリゴンに適用される。 |
enum QStencilOperationArguments::Operation
この列挙は、ステンシル操作の値を保持する。
定数 | 値 | 説明 |
---|---|---|
Qt3DRender::QStencilOperationArguments::Zero | 0 | ステンシル値をゼロに設定する。 |
Qt3DRender::QStencilOperationArguments::Keep | 0x1E00 | 現在のステンシル値を保持する。 |
Qt3DRender::QStencilOperationArguments::Replace | 0x1E01 | マスクされたフラグメントのステンシル値に置き換えます。 |
Qt3DRender::QStencilOperationArguments::Increment | 0x1E02 | 現在の値を彩度で増加させる。 |
Qt3DRender::QStencilOperationArguments::Decrement | 0x1E03 | 現在の値を彩度で減らします。 |
Qt3DRender::QStencilOperationArguments::IncrementWrap | 0x8507 | 現在の値をラップで増加させる。 |
Qt3DRender::QStencilOperationArguments::DecrementWrap | 0x8508 | ラップで現在値を減少させる。 |
Qt3DRender::QStencilOperationArguments::Invert | 0x150A | 現在値を反転する。 |
プロパティの説明
allTestsPassOperation : Operation
深度とステンシルテストがパスしたときのために、ステンシルテスト操作を保持する。デフォルトはStencilOperationArguments.Keep。
アクセス関数:
Qt3DRender::QStencilOperationArguments::Operation | allTestsPassOperation() const |
void | setAllTestsPassOperation(Qt3DRender::QStencilOperationArguments::Operation operation) |
通知シグナル:
void | allTestsPassOperationChanged(Qt3DRender::QStencilOperationArguments::Operation stencilDepthPass) |
depthTestFailureOperation : Operation
ステンシルテストは合格したが、深さテストは不合格だった場合のために、ステンシルテスト操作を保持する。デフォルトはStencilOperationArguments.Keep。
アクセス関数:
Qt3DRender::QStencilOperationArguments::Operation | depthTestFailureOperation() const |
void | setDepthTestFailureOperation(Qt3DRender::QStencilOperationArguments::Operation operation) |
通知シグナル:
void | depthTestFailureOperationChanged(Qt3DRender::QStencilOperationArguments::Operation depthFail) |
[read-only]
faceMode : const FaceMode
引数が適用される面を保持します。
アクセス関数:
Qt3DRender::QStencilOperationArguments::FaceMode | faceMode() const |
通知シグナル:
void | faceModeChanged(Qt3DRender::QStencilOperationArguments::FaceMode faceMode) |
stencilTestFailureOperation : Operation
ステンシルテストが失敗したときのために、ステンシルテスト操作を保持する。デフォルトはStencilOperationArguments.Keep。
アクセス関数:
Qt3DRender::QStencilOperationArguments::Operation | stencilTestFailureOperation() const |
void | setStencilTestFailureOperation(Qt3DRender::QStencilOperationArguments::Operation operation) |
通知シグナル:
void | stencilTestFailureOperationChanged(Qt3DRender::QStencilOperationArguments::Operation stencilFail) |
© 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.