QSSGRhiGraphicsPipelineState Class
Zustand der Grafikpipeline für den räumlichen Szenegraphen. Mehr...
Header: | #include <QSSGRhiGraphicsPipelineState> |
Since: | Qt 6.7 |
Öffentliche Typen
enum class | Flag { DepthTestEnabled, DepthWriteEnabled, BlendEnabled, UsesStencilRef, UsesScissor } |
flags | Flags |
Öffentliche Variablen
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 |
Detaillierte Beschreibung
Diese Klasse ist eine Behelfsklasse, die von QtQuick3D verwendet wird, um relevante Pipeline-Zustände aus den QRhi -Klassen, wie QRhiGraphicsPipeline, zu verpacken. Die meisten der in QSSGRhiGraphicsPipelineState verwendeten Typen und Werte lassen sich daher direkt auf einen entsprechenden QRhi Typ oder eine Klasse abbilden.
Member Type Dokumentation
enum class QSSGRhiGraphicsPipelineState::Flag
flags QSSGRhiGraphicsPipelineState::Flags
Konstante | Wert |
---|---|
QSSGRhiGraphicsPipelineState::Flag::DepthTestEnabled | 0x1 |
QSSGRhiGraphicsPipelineState::Flag::DepthWriteEnabled | 0x2 |
QSSGRhiGraphicsPipelineState::Flag::BlendEnabled | 0x4 |
QSSGRhiGraphicsPipelineState::Flag::UsesStencilRef | 0x8 |
QSSGRhiGraphicsPipelineState::Flag::UsesScissor | 0x10 |
Der Typ Flags ist ein Typedef für QFlags<Flag>. Er speichert eine ODER-Kombination von Flag-Werten.
Dokumentation der Mitgliedsvariablen
int QSSGRhiGraphicsPipelineState::colorAttachmentCount
Die Anzahl der Farbanhänge. Der Standardwert ist 1.
Siehe auch QRhiTextureRenderTargetDescription::setColorAttachments() und QRhiTextureRenderTargetDescription::colorAttachmentCount().
QRhiGraphicsPipeline::CullMode QSSGRhiGraphicsPipelineState::cullMode
Gibt den Culling-Modus an.
Siehe auch QRhiGraphicsPipeline::CullMode.
int QSSGRhiGraphicsPipelineState::depthBias
Die Tiefenverzerrung. Der Standardwert ist 0.
Siehe auch QRhiGraphicsPipeline::depthBias().
QRhiGraphicsPipeline::CompareOp QSSGRhiGraphicsPipelineState::depthFunc
Die Tiefenvergleichsfunktion.
Siehe auch QRhiGraphicsPipeline::CompareOp.
float QSSGRhiGraphicsPipelineState::lineWidth
Die verwendete Linienbreite. Der Standardwert ist 1.0
Hinweis: Für andere Werte als 1.0 ist es erforderlich, dass das Merkmal QRhi::WideLines zur Laufzeit als unterstützt gemeldet wird.
QRhiGraphicsPipeline::PolygonMode QSSGRhiGraphicsPipelineState::polygonMode
Der Wert für den Polygonmodus. Der Standardwert ist Fill.
Siehe auch QRhiGraphicsPipeline::polygonMode().
int QSSGRhiGraphicsPipelineState::samples
Die Anzahl der Samples.
Hinweis: Ein Sample Count von 1 bedeutet kein Multisample-Antialiasing.
Siehe auch QRhiSwapChain::sampleCount().
QRhiScissor QSSGRhiGraphicsPipelineState::scissor
Das Scherenrekt.
Hinweis: Wird nur verwendet, wenn UsesScissor gesetzt ist.
Siehe auch QRhiCommandBuffer::setScissor().
float QSSGRhiGraphicsPipelineState::slopeScaledDepthBias
Die neigungsskalierte Tiefenverzerrung. Der Standardwert ist 0.
Siehe auch QRhiGraphicsPipeline::slopeScaledDepthBias().
QRhiGraphicsPipeline::StencilOpState QSSGRhiGraphicsPipelineState::stencilOpFrontState
Beschreibt den Zustand des Schablonenbetriebs.
Siehe auch QRhiGraphicsPipeline::StencilOpState.
quint32 QSSGRhiGraphicsPipelineState::stencilRef
Der aktive Schablonenreferenzwert.
Hinweis: Wird nur verwendet, wenn UsesStencilRef eingestellt ist.
Siehe auch QRhiCommandBuffer::setStencilRef().
quint32 QSSGRhiGraphicsPipelineState::stencilWriteMask
Der Wert der Schreibmaske für die Schablone. Der Standardwert ist 0xFF
.
Siehe auch QRhiGraphicsPipeline::stencilWriteMask().
QRhiGraphicsPipeline::TargetBlend QSSGRhiGraphicsPipelineState::targetBlend
Der Überblendungsstatus für einfarbiges Zubehör.
Siehe auch QRhiGraphicsPipeline::TargetBlend.
QRhiViewport QSSGRhiGraphicsPipelineState::viewport
Die für das Rendering verwendeten Ansichtsfensterabmessungen.
© 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.