QBlendEquation Class
class Qt3DRender::QBlendEquationQBlendEquationクラスは、RGBブレンド方程式とアルファブレンド方程式の両方で使用される方程式を指定します。詳細...
ヘッダー | #include <Qt3DRender/QBlendEquation> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
qmake | QT += 3drender |
QML で | BlendEquation |
を継承しています: | Qt3DRender::QRenderState |
ステータス | 非推奨 |
パブリックな型
enum | BlendFunction { Add, Subtract, ReverseSubtract, Min, Max } |
プロパティ
- blendFunction : BlendFunction
パブリック機能
QBlendEquation(Qt3DCore::QNode *parent = nullptr) | |
Qt3DRender::QBlendEquation::BlendFunction | blendFunction() const |
パブリックスロット
void | setBlendFunction(Qt3DRender::QBlendEquation::BlendFunction blendFunction) |
シグナル
void | blendFunctionChanged(Qt3DRender::QBlendEquation::BlendFunction blendFunction) |
メンバー型ドキュメント
enum QBlendEquation::BlendFunction
定数 | 値 | 説明 |
---|---|---|
Qt3DRender::QBlendEquation::Add | 0x8006 | GL_FUNC_ADD |
Qt3DRender::QBlendEquation::Subtract | 0x800A | GL_FUNC_SUBTRACT |
Qt3DRender::QBlendEquation::ReverseSubtract | 0x800B | GL_FUNC_REVERSE_SUBTRACT |
Qt3DRender::QBlendEquation::Min | 0x8007 | GL_MIN |
Qt3DRender::QBlendEquation::Max | 0x8008 | GL_MAX |
プロパティ・ドキュメンテーション
blendFunction : BlendFunction
ソースカラーとデスティネーションカラーの合成方法を決定するブレンド関数を保持します。
アクセス関数:
Qt3DRender::QBlendEquation::BlendFunction | blendFunction() const |
void | setBlendFunction(Qt3DRender::QBlendEquation::BlendFunction blendFunction) |
通知シグナル:
void | blendFunctionChanged(Qt3DRender::QBlendEquation::BlendFunction blendFunction) |
メンバ関数ドキュメント
[explicit]
QBlendEquation::QBlendEquation(Qt3DCore::QNode *parent = nullptr)
コンストラクタは、指定されたparent を持つ新しいブレンドステートオブジェクトを生成します。
© 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.