このページでは

Qt3DRender::QBlendEquation Class

class Qt3DRender::QBlendEquation

QBlendEquation クラスは、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 }

プロパティ

パブリック関数

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::Add0x8006GL_FUNC_ADD
Qt3DRender::QBlendEquation::Subtract0x800AGL_FUNC_SUBTRACT
Qt3DRender::QBlendEquation::ReverseSubtract0x800BGL_FUNC_REVERSE_SUBTRACT
Qt3DRender::QBlendEquation::Min0x8007GL_MIN
Qt3DRender::QBlendEquation::Max0x8008GL_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 を持つ新しいブレンド状態オブジェクトを作成します。

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