QSSGRhiGraphicsPipelineState Class
공간 씬 그래프의 그래픽 파이프라인 상태. 더 보기...
| Header: | #include <qssgrhicontext.h> |
| 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 |
| std::array<QRhiGraphicsPipeline::TargetBlend, 8> | targetBlend |
| QRhiViewport | viewport |
상세 설명
이 클래스는 QtQuick3D 에서 QRhiGraphicsPipeline 와 같은 QRhi 클래스의 관련 파이프라인 상태를 래핑하는 데 사용되는 편의 클래스입니다. 따라서 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입니다. 이 유형은 Flag 값들의 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()도 참조하십시오 .
std::array<QRhiGraphicsPipeline::TargetBlend, 8> QSSGRhiGraphicsPipelineState::targetBlend
하나의 색상 어태치먼트에 대한 블렌드 상태.
QRhiGraphicsPipeline::TargetBlend도 참조하십시오 .
QRhiViewport QSSGRhiGraphicsPipelineState::viewport
렌더링에 사용되는 뷰포트 크기.
© 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.