RenderPassTexture QML Type
pass 에서 렌더 타겟으로 사용될 텍스처를 정의합니다. 더 보기...
| Import Statement: | import QtQuick3D |
| Since: | Qt 6.11 |
| Inherits: |
속성
- format : enumeration
상세 설명
RenderPassTexture는 RenderPass 가 렌더링할 수 있는 오프스크린 텍스처를 선언합니다. 이 텍스처는 렌더링 시스템에 의해 자동으로 생성 및 관리됩니다. 기본적으로 이 텍스처의 크기는 View3D 뷰포트의 크기를 따릅니다.
선언이 완료되면, ColorAttachment (색상 출력용) 또는 DepthTextureAttachment (깊이 출력용)을 통해 텍스처를 패스에 연결합니다. 생성된 텍스처는 이후의 패스나 Texture 컴포넌트에서 RenderOutputProvider 를 사용하여 액세스할 수 있습니다.
// Declare a float color buffer
RenderPassTexture {
id: hdrColorTexture
format: RenderPassTexture.RGBA16F
}
RenderPass {
commands: [
ColorAttachment {
name: "color0"
target: hdrColorTexture
}
]
}ColorAttachment, DepthTextureAttachment 및 RenderOutputProvider도 참조하십시오 .
속성 설명서
format : enumeration
렌더 타겟 텍스처의 형식을 설정합니다.
사용 가능한 형식은 다음과 같습니다:
| 상수 | 값 |
|---|---|
RenderPassTexture.Unknown | |
RenderPassTexture.RGBA8 | |
RenderPassTexture.RGBA16F | |
RenderPassTexture.RGBA32F | |
RenderPassTexture.R8 | |
RenderPassTexture.R16 | |
RenderPassTexture.R16F | |
RenderPassTexture.R32F | |
RenderPassTexture.Depth16 | |
RenderPassTexture.Depth24 | |
RenderPassTexture.Depth32 | |
RenderPassTexture.Depth24Stencil8 |
© 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.