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 を持つ新しいブレンドステートオブジェクトを生成します。

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