ColorAttachment QML Type
pass...에 대한 색상 첨부 파일을 정의합니다.. ..
| Import Statement: | import QtQuick3D |
| Since: | Qt 6.11 |
| Inherits: |
자세한 설명
ColorAttachment 유형은 RenderPass 에 대한 색상 어태치먼트를 지정하는 데 사용됩니다. name 프로퍼티는 렌더 패스 내에서 어태치먼트를 식별하는 데 사용됩니다. AugmentMaterial 모드가 사용되는 경우 이름은 조각 셰이더에서 name 와 함께 출력으로 노출됩니다.
RenderPass { // Define a render target texture RenderPassTexture { id: colorTexture format: RenderPassTexture.RGBA16F } commands: [ // Define a color attachment using the texture ColorAttachment { name: "color0" target: colorTexture } ] }
RenderPassTexture 를참조하세요 .
© 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.