Effect QML Type
Qt 3D 장면의 이펙트를 위한 기본 클래스입니다. 더 보기...
속성
- parameters : list<Parameter>
- techniques : list<Technique>
상세 설명
Effect 유형은 머티리얼의 렌더링 효과를 생성하기 위해 해당 기법에 사용되는 기법과 파라미터 세트를 결합한 것입니다.
효과 인스턴스는 가능하면 여러 머티리얼 인스턴스 간에 공유해야 합니다.
효과에 정의된 파라미터는 테크닉과 RenderPass 에 정의된 파라미터(같은 이름의 파라미터)를 재정의하지만 RenderPassFilter, TechniqueFilter 및 머티리얼의 파라미터에 의해 재정의됩니다.
참고: Effect 노드는 비활성화할 수 없습니다.
Effect { id: effect techniques: [ Technique { id: gl3Technique graphicsApiFilter { api: GraphicsApiFilter.OpenGL profile: GraphicsApiFilter.CoreProfile majorVersion: 3 minorVersion: 1 } renderPasses: [ RenderPass { id: gl3Pass shaderProgram: ShaderProgram { ... } } ] } ] }
Material, Technique, Parameter 를참조하십시오 .
프로퍼티 문서
이 이펙트에 사용되는 파라미터 목록을 보유합니다. 파라미터는 이 효과에 사용되는 셰이더에서 해당 균일 값을 설정하는 데 사용됩니다.
© 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.