QSSGRhiGraphicsPipelineState Class
空間シーングラフのグラフィックスパイプラインの状態。詳細...
Header: | #include <QSSGRhiGraphicsPipelineState> |
Since: | Qt 6.7 |
パブリック型
enum class | Flag { DepthTestEnabled, DepthWriteEnabled, BlendEnabled, UsesStencilRef, UsesScissor } |
flags | Flags |
パブリック変数
int | colorAttachmentCount |
QRhiGraphicsPipeline::CullMode | cullMode |
int | depthBias |
QRhiGraphicsPipeline::CompareOp | depthFunc |
float | lineWidth |
QRhiGraphicsPipeline::PolygonMode | polygonMode |
int | samples |
QRhiScissor | scissor |
float | slopeScaledDepthBias |
QRhiGraphicsPipeline::StencilOpState | stencilOpFrontState |
quint32 | stencilRef |
quint32 | stencilWriteMask |
QRhiGraphicsPipeline::TargetBlend | targetBlend |
QRhiViewport | viewport |
詳細説明
このクラスは、QRhiGraphicsPipeline のようなQRhi クラスから関連するパイプライン状態をラップするためにQtQuick3D によって使用される便利なクラスです。したがって、QSSGRhiGraphicsPipelineState で使用される型と値のほとんどは、同等のQRhi 型またはクラスに直接マッピングされます。
メンバ型ドキュメント
enum class QSSGRhiGraphicsPipelineState::Flag
flags QSSGRhiGraphicsPipelineState::Flags
定数 | 値 |
---|---|
QSSGRhiGraphicsPipelineState::Flag::DepthTestEnabled | 0x1 |
QSSGRhiGraphicsPipelineState::Flag::DepthWriteEnabled | 0x2 |
QSSGRhiGraphicsPipelineState::Flag::BlendEnabled | 0x4 |
QSSGRhiGraphicsPipelineState::Flag::UsesStencilRef | 0x8 |
QSSGRhiGraphicsPipelineState::Flag::UsesScissor | 0x10 |
Flags 型はQFlags<Flag> の typedef です。Flags 値の OR の組み合わせを格納します。
メンバ変数ドキュメント
int QSSGRhiGraphicsPipelineState::colorAttachmentCount
カラーアタッチメントの数。デフォルトは1。
QRhiTextureRenderTargetDescription::setColorAttachments() およびQRhiTextureRenderTargetDescription::colorAttachmentCount()も参照 。
QRhiGraphicsPipeline::CullMode QSSGRhiGraphicsPipelineState::cullMode
カリングモードを指定する。
QRhiGraphicsPipeline::CullModeも参照 。
int QSSGRhiGraphicsPipelineState::depthBias
深度バイアス。デフォルト値は 0。
QRhiGraphicsPipeline::depthBias()も参照 。
QRhiGraphicsPipeline::CompareOp QSSGRhiGraphicsPipelineState::depthFunc
深さ比較機能。
QRhiGraphicsPipeline::CompareOpも参照 。
float QSSGRhiGraphicsPipelineState::lineWidth
使用する線幅。デフォルトは1.0です。
注: 1.0以外の値を指定する場合は、QRhi::WideLines 機能が実行時にサポートされていることを報告する必要があります。
QRhiGraphicsPipeline::PolygonMode QSSGRhiGraphicsPipelineState::polygonMode
ポリゴンモードの値。デフォルトはFill 。
QRhiGraphicsPipeline::polygonMode()も参照 。
int QSSGRhiGraphicsPipelineState::samples
サンプル数。
注意: サンプル数が1の場合は、マルチサンプル・アンチエイリアシングを行わないことを意味する。
QRhiSwapChain::sampleCount()も参照 。
QRhiScissor QSSGRhiGraphicsPipelineState::scissor
シザーの長方形。
注意: UsesScissor が設定されている場合にのみ使用される。
QRhiCommandBuffer::setScissor()も参照 。
float QSSGRhiGraphicsPipelineState::slopeScaledDepthBias
傾きをスケーリングした深度バイアス。デフォルト値は 0。
QRhiGraphicsPipeline::slopeScaledDepthBias()も参照 。
QRhiGraphicsPipeline::StencilOpState QSSGRhiGraphicsPipelineState::stencilOpFrontState
ステンシル動作状態を記述する。
QRhiGraphicsPipeline::StencilOpStateも参照 。
quint32 QSSGRhiGraphicsPipelineState::stencilRef
アクティブなステンシル基準値。
注: UsesStencilRef が設定されているときのみ使用される。
QRhiCommandBuffer::setStencilRef()も参照 。
quint32 QSSGRhiGraphicsPipelineState::stencilWriteMask
ステンシル書き込みマスク値。デフォルト値は0xFF
。
QRhiGraphicsPipeline::stencilWriteMask()も参照 。
QRhiGraphicsPipeline::TargetBlend QSSGRhiGraphicsPipelineState::targetBlend
1色のアタッチメントのブレンド状態。
QRhiGraphicsPipeline::TargetBlendも参照 。
QRhiViewport QSSGRhiGraphicsPipelineState::viewport
レンダリングに使用するビューポートの寸法。
© 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.