QRenderTargetOutput Class
class Qt3DRender::QRenderTargetOutputQRenderTargetOutput 클래스를 사용하면 렌더 타깃(컬러 텍스처, 뎁스 텍스처 등)의 어태치먼트를 지정할 수 있습니다(컬러 텍스처, 뎁스 텍스처 등... ). 더 보기...
Header: | #include <QRenderTargetOutput> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
qmake: | QT += 3drender |
QML에서: | RenderTargetOutput |
상속합니다: | Qt3DCore::QNode |
상태: | Deprecated |
공용 유형
enum | AttachmentPoint { Color0, Color1, Color2, Color3, Color4, …, Right } |
속성
|
공용 기능
QRenderTargetOutput(Qt3DCore::QNode *parent = nullptr) | |
Qt3DRender::QRenderTargetOutput::AttachmentPoint | attachmentPoint() const |
Qt3DRender::QAbstractTexture::CubeMapFace | face() const |
int | layer() const |
int | mipLevel() const |
Qt3DRender::QAbstractTexture * | texture() const |
공용 슬롯
void | setAttachmentPoint(Qt3DRender::QRenderTargetOutput::AttachmentPoint attachmentPoint) |
void | setFace(Qt3DRender::QAbstractTexture::CubeMapFace face) |
void | setLayer(int layer) |
void | setMipLevel(int level) |
void | setTexture(Qt3DRender::QAbstractTexture *texture) |
신호
void | attachmentPointChanged(Qt3DRender::QRenderTargetOutput::AttachmentPoint attachmentPoint) |
void | faceChanged(Qt3DRender::QAbstractTexture::CubeMapFace face) |
void | layerChanged(int layer) |
void | mipLevelChanged(int mipLevel) |
void | textureChanged(Qt3DRender::QAbstractTexture *texture) |
상세 설명
QRenderTargetOutput은 렌더 타깃에 부착할 텍스처의 부착 포인트와 파라미터를 지정합니다. 부착 지점 외에도 텍스처 다중 레벨, 레이어 및 큐브맵 면을 지정할 수 있습니다. QRenderTargetOutput에 첨부된 텍스처는 지정된 파라미터와 호환되어야 합니다.
참고: 왼쪽 및 오른쪽 부착 지점은 특수 값입니다. 이들은 스테레오 렌더링에 사용되는 백 버퍼 중 하나가 될 렌더 대상 오브젝트를 참조하지 않습니다.
멤버 유형 문서
enum QRenderTargetOutput::AttachmentPoint
이 열거형은 어태치먼트 지점의 값을 지정합니다.
상수 | 값 | 설명 |
---|---|---|
Qt3DRender::QRenderTargetOutput::Color0 | 0 | 인덱스 0의 색상 부착 지점 |
Qt3DRender::QRenderTargetOutput::Color1 | 1 | 인덱스 1의 색상 부착 지점 |
Qt3DRender::QRenderTargetOutput::Color2 | 2 | 인덱스 2의 색상 부착 지점 |
Qt3DRender::QRenderTargetOutput::Color3 | 3 | 인덱스 3의 색상 부착 지점 |
Qt3DRender::QRenderTargetOutput::Color4 | 4 | 색인 4의 색상 부착 지점 |
Qt3DRender::QRenderTargetOutput::Color5 | 5 | 색인 5의 색상 부착 지점 |
Qt3DRender::QRenderTargetOutput::Color6 | 6 | 색인 6의 색상 부착 지점 |
Qt3DRender::QRenderTargetOutput::Color7 | 7 | 색인 7의 색상 부착 지점 |
Qt3DRender::QRenderTargetOutput::Color8 | 8 | 색인 8의 색상 부착 지점 |
Qt3DRender::QRenderTargetOutput::Color9 | 9 | 색인 9의 색상 부착 지점 |
Qt3DRender::QRenderTargetOutput::Color10 | 10 | 색인 10의 색상 부착 지점 |
Qt3DRender::QRenderTargetOutput::Color11 | 11 | 색인 11의 색상 부착 지점 |
Qt3DRender::QRenderTargetOutput::Color12 | 12 | 색인 12의 색상 부착 지점 |
Qt3DRender::QRenderTargetOutput::Color13 | 13 | 색인 13의 색상 부착 지점 |
Qt3DRender::QRenderTargetOutput::Color14 | 14 | 색인 14의 색상 부착 지점 |
Qt3DRender::QRenderTargetOutput::Color15 | 15 | 인덱스 15의 색상 부착 지점 |
Qt3DRender::QRenderTargetOutput::Depth | 16 | 깊이 부착 지점 |
Qt3DRender::QRenderTargetOutput::Stencil | 17 | 스텐실 부착 지점 |
Qt3DRender::QRenderTargetOutput::DepthStencil | 18 | 깊이 스텐실 부착 지점 |
Qt3DRender::QRenderTargetOutput::Left | 19 | 왼쪽 뒤 그리기 버퍼 |
Qt3DRender::QRenderTargetOutput::Right | 20 | 뒤로 오른쪽 그리기 버퍼 |
프로퍼티 문서
attachmentPoint : AttachmentPoint
QRenderTargetOutput 의 첨부 지점을 보유합니다.
액세스 기능에 액세스합니다:
Qt3DRender::QRenderTargetOutput::AttachmentPoint | attachmentPoint() const |
void | setAttachmentPoint(Qt3DRender::QRenderTargetOutput::AttachmentPoint attachmentPoint) |
알림 신호:
void | attachmentPointChanged(Qt3DRender::QRenderTargetOutput::AttachmentPoint attachmentPoint) |
face : Qt3DRender::QAbstractTexture::CubeMapFace
렌더링이 향하는 첨부된 큐브맵 텍스처의 면을 보유합니다.
함수에 액세스합니다:
Qt3DRender::QAbstractTexture::CubeMapFace | face() const |
void | setFace(Qt3DRender::QAbstractTexture::CubeMapFace face) |
알림 신호:
void | faceChanged(Qt3DRender::QAbstractTexture::CubeMapFace face) |
layer : int
렌더링이 지시되는 첨부 텍스처의 레이어를 보유합니다.
함수에 액세스합니다:
int | layer() const |
void | setLayer(int layer) |
알림 신호:
void | layerChanged(int layer) |
mipLevel : int
렌더링이 지시되는 첨부 텍스처의 다중 레벨을 보유합니다.
함수에 액세스합니다:
int | mipLevel() const |
void | setMipLevel(int level) |
노티파이 신호:
void | mipLevelChanged(int mipLevel) |
texture : QAbstractTexture*
부착 지점에 부착된 텍스처를 유지합니다.
기능에 액세스합니다:
Qt3DRender::QAbstractTexture * | texture() const |
void | setTexture(Qt3DRender::QAbstractTexture *texture) |
알림 신호:
void | textureChanged(Qt3DRender::QAbstractTexture *texture) |
멤버 함수 문서
[explicit]
QRenderTargetOutput::QRenderTargetOutput(Qt3DCore::QNode *parent = nullptr)
생성자는 지정된 parent 을 사용하여 새 QRenderTargetOutput::QRenderTargetOutput 인스턴스를 생성합니다.
© 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.