QSSGFrameData Class

프레임에 대해 수집된 데이터를 포함하는 스토리지 클래스입니다. 더 보기...

Header: #include <QSSGFrameData>
Since: Qt 6.7

공용 함수

QSSGCameraId activeCamera() const
QSSGRhiGraphicsPipelineState getPipelineState() const
QSSGFrameData::Result getRenderResult(QSSGFrameData::RenderResult id) const

상세 설명

멤버 함수 문서

QSSGCameraId QSSGFrameData::activeCamera() const

씬의 활성 카메라를 반환하거나, 찾을 수 없는 경우 null을 반환합니다.

QSSGRhiGraphicsPipelineState QSSGFrameData::getPipelineState() const

이 프레임의 기본 파이프라인 상태를 반환합니다.

QSSGFrameData::Result QSSGFrameData::getRenderResult(QSSGFrameData::RenderResult id) const

일치하는 id 을 찾을 수 없는 경우 id. nullptr 에서 렌더링 가능한 텍스처 결과를 반환합니다.

참고: 함수가 null이 아닌 결과를 반환하더라도 텍스처에 대한 패스 렌더링이 실행되지 않으면 반환된 QSSGRhiRenderableTexture가 준비되지 않을 수 있습니다.

참고: 반환된 값은 현재 프레임 내에서만 유효합니다. 새 프레임마다 렌더러블이 리셋되므로 다시 쿼리해야 합니다.

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