QBlendEquationArguments Class

class Qt3DRender::QBlendEquationArguments

ブレンド情報のカプセル化:入力される値(これから描画されるもの)が既存の値(すでに描画されているもの)にどのような影響を与えるかを指定します。詳細...

ヘッダー #include <QBlendEquationArguments>
CMakeの find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake QT += 3drender
QML で BlendEquationArguments
を継承しています: Qt3DRender::QRenderState
ステータス非推奨

パブリックな型

enum Blending { Zero, One, SourceColor, SourceAlpha, Source1Alpha, …, OneMinusSource1Color0 }

プロパティ

パブリック機能

QBlendEquationArguments(Qt3DCore::QNode *parent = nullptr)
int bufferIndex() const
Qt3DRender::QBlendEquationArguments::Blending destinationAlpha() const
Qt3DRender::QBlendEquationArguments::Blending destinationRgb() const
Qt3DRender::QBlendEquationArguments::Blending sourceAlpha() const
Qt3DRender::QBlendEquationArguments::Blending sourceRgb() const

パブリックスロット

void setBufferIndex(int index)
void setDestinationAlpha(Qt3DRender::QBlendEquationArguments::Blending destinationAlpha)
void setDestinationRgb(Qt3DRender::QBlendEquationArguments::Blending destinationRgb)
void setDestinationRgba(Qt3DRender::QBlendEquationArguments::Blending destinationRgba)
void setSourceAlpha(Qt3DRender::QBlendEquationArguments::Blending sourceAlpha)
void setSourceRgb(Qt3DRender::QBlendEquationArguments::Blending sourceRgb)
void setSourceRgba(Qt3DRender::QBlendEquationArguments::Blending sourceRgba)

シグナル

void bufferIndexChanged(int index)
void destinationAlphaChanged(Qt3DRender::QBlendEquationArguments::Blending destinationAlpha)
void destinationRgbChanged(Qt3DRender::QBlendEquationArguments::Blending destinationRgb)
void destinationRgbaChanged(Qt3DRender::QBlendEquationArguments::Blending destinationRgba)
void sourceAlphaChanged(Qt3DRender::QBlendEquationArguments::Blending sourceAlpha)
void sourceRgbChanged(Qt3DRender::QBlendEquationArguments::Blending sourceRgb)
void sourceRgbaChanged(Qt3DRender::QBlendEquationArguments::Blending sourceRgba)

詳細説明

OpenGL pre-3.0:すべての描画バッファに対して同じブレンド状態を設定する(1つのQBlendEquationArguments) OpenGL 3.0-pre4.0:すべての描画バッファに対して同じブレンド状態を設定するが、特定のバッファに対してブレンドを無効にすることができる(glBlendFuncを設定するための1つのQBlendEquationArguments、描画バッファを有効/無効にするためのn個のQBlendEquationArguments) OpenGL 4.0+: 各描画バッファに対して個別にブレンド状態を設定することができる。

メンバー型ドキュメント

enum QBlendEquationArguments::Blending

定数説明
Qt3DRender::QBlendEquationArguments::Zero0GL_ZERO
Qt3DRender::QBlendEquationArguments::One1GL_ONE
Qt3DRender::QBlendEquationArguments::SourceColor0x0300GL_SRC_COLOR
Qt3DRender::QBlendEquationArguments::SourceAlpha0x0302GL_SRC_ALPHA
Qt3DRender::QBlendEquationArguments::Source1Alpha0x303GL_SRC1_ALPHA
Qt3DRender::QBlendEquationArguments::Source1Color0x304GL_SRC1_COLOR
Qt3DRender::QBlendEquationArguments::DestinationColor0x0306GL_DST_COLOR
Qt3DRender::QBlendEquationArguments::DestinationAlpha0x0304GL_DST_ALPHA
Qt3DRender::QBlendEquationArguments::SourceAlphaSaturate0x0308GL_SRC_ALPHA_SATURATE
Qt3DRender::QBlendEquationArguments::ConstantColor0x80010GL_CONSTANT_COLOR
Qt3DRender::QBlendEquationArguments::ConstantAlpha0x8003GL_CONSTANT_ALPHA
Qt3DRender::QBlendEquationArguments::OneMinusSourceColor0x0301GL_ONE_MINUS_SRCカラー
Qt3DRender::QBlendEquationArguments::OneMinusSourceAlpha0x0303gl_one_minus_src_alphaパーセント
Qt3DRender::QBlendEquationArguments::OneMinusDestinationAlpha0x0305gl_one_minus_dst_alphaパーセント
Qt3DRender::QBlendEquationArguments::OneMinusDestinationColor0x0307gl_one_minus_dst_color。
Qt3DRender::QBlendEquationArguments::OneMinusConstantColor0x8002gl_one_minus_定数色
Qt3DRender::QBlendEquationArguments::OneMinusConstantAlpha0x8004gl_one_minus_constant_アルファ値
Qt3DRender::QBlendEquationArguments::OneMinusSource1Alpha0x8005gl_one_minus_src1_アルファ値
Qt3DRender::QBlendEquationArguments::OneMinusSource1Color0x8006GL_ONE_MINUS_SRC1カラー
Qt3DRender::QBlendEquationArguments::OneMinusSource1Color0OneMinusSource1ColorGL_ONE_MINUS_SRC1_COLOR (非推奨)

プロパティ・ドキュメンテーション

bufferIndex : int

このBlendEquationArguments が適用される Draw Buffer のインデックスを指定します。負数の場合、すべての Draw Buffer に適用されます。

アクセス関数:

int bufferIndex() const
void setBufferIndex(int index)

通知シグナル:

void bufferIndexChanged(int index)

destinationAlpha : Blending

アクセス機能

Qt3DRender::QBlendEquationArguments::Blending destinationAlpha() const
void setDestinationAlpha(Qt3DRender::QBlendEquationArguments::Blending destinationAlpha)

通知信号

void destinationAlphaChanged(Qt3DRender::QBlendEquationArguments::Blending destinationAlpha)

destinationRgb : Blending

アクセス機能

Qt3DRender::QBlendEquationArguments::Blending destinationRgb() const
void setDestinationRgb(Qt3DRender::QBlendEquationArguments::Blending destinationRgb)

通知信号

void destinationRgbChanged(Qt3DRender::QBlendEquationArguments::Blending destinationRgb)

sourceAlpha : Blending

アクセス機能

Qt3DRender::QBlendEquationArguments::Blending sourceAlpha() const
void setSourceAlpha(Qt3DRender::QBlendEquationArguments::Blending sourceAlpha)

通知信号

void sourceAlphaChanged(Qt3DRender::QBlendEquationArguments::Blending sourceAlpha)

sourceRgb : Blending

アクセス機能

Qt3DRender::QBlendEquationArguments::Blending sourceRgb() const
void setSourceRgb(Qt3DRender::QBlendEquationArguments::Blending sourceRgb)

通知シグナル

void sourceRgbChanged(Qt3DRender::QBlendEquationArguments::Blending sourceRgb)

メンバ関数ドキュメント

[explicit] QBlendEquationArguments::QBlendEquationArguments(Qt3DCore::QNode *parent = nullptr)

コンストラクタは、指定されたparent を持つ新しいブレンドステートオブジェクトを生成します。

[signal] void QBlendEquationArguments::destinationRgbaChanged(Qt3DRender::QBlendEquationArguments::Blending destinationRgba)

destinationRgbdestinationAlpha の両プロパティがdestinationRgba に変更されたことを通知する。

[slot] void QBlendEquationArguments::setDestinationRgba(Qt3DRender::QBlendEquationArguments::Blending destinationRgba)

destinationRgbdestinationAlpha の両方のプロパティをdestinationRgba に変更する。

[slot] void QBlendEquationArguments::setSourceRgba(Qt3DRender::QBlendEquationArguments::Blending sourceRgba)

sourceRgbsourceAlpha の両方のプロパティをsourceRgba に変更する。

[signal] void QBlendEquationArguments::sourceRgbaChanged(Qt3DRender::QBlendEquationArguments::Blending sourceRgba)

sourceRgbsourceAlpha の両プロパティがsourceRgba に変更されたことを通知する。

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