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

상세 설명

이 클래스는 QtQuick3D 에서 QRhiGraphicsPipeline 과 같은 QRhi 클래스로부터 관련 파이프라인 상태를 래핑하는 데 사용되는 편의 클래스입니다. 따라서 QSSGRhiGraphicsPipelineState에 사용되는 대부분의 유형과 값은 동등한 QRhi 유형 또는 클래스에 직접 매핑됩니다.

멤버 유형 문서

열거형 클래스 QSSGRhiGraphicsPipelineState::Flag
플래그 QSSGRhiGraphicsPipelineState::Flags

상수
QSSGRhiGraphicsPipelineState::Flag::DepthTestEnabled0x1
QSSGRhiGraphicsPipelineState::Flag::DepthWriteEnabled0x2
QSSGRhiGraphicsPipelineState::Flag::BlendEnabled0x4
QSSGRhiGraphicsPipelineState::Flag::UsesStencilRef0x8
QSSGRhiGraphicsPipelineState::Flag::UsesScissor0x10

Flags 유형은 QFlags<Flag>에 대한 typedef입니다. 플래그 값의 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

하나의 색상 어태치먼트에 대한 혼합 상태입니다.

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.