Obsolete Members for QtGraphs3D
QtGraphs3D 클래스의 다음 멤버는 더 이상 사용되지 않습니다. 이들은 이전 소스 코드의 작동을 유지하기 위해 제공됩니다. 새 코드에서는 사용하지 않는 것이 좋습니다.
함수
(deprecated in 6.9) QSurfaceFormat | qDefaultSurfaceFormat(bool antialias) |
함수 문서
[deprecated in 6.9]
QSurfaceFormat qDefaultSurfaceFormat(bool antialias)
이 함수는 6.9부터 더 이상 사용되지 않습니다. 새 코드에서 이 함수를 사용하지 않는 것이 좋습니다.
QQuick3D::idealSurfaceFormat() 사용
이 편의 함수는 Qt Graphs 그래프에서 사용하기에 적합한 사용자 정의 표면 형식을 만드는 데 사용할 수 있습니다.
antialias 매개변수는 앤티앨리어싱 활성화 여부를 지정합니다.
이 함수가 반환한 서페이스 형식을 그래프 생성자(C++)에 제공하거나 QQuickView (QML)의 창 형식으로 설정한 후 show()
을 호출하세요.
예를 들어, C++ 애플리케이션에서 앤티앨리어싱을 비활성화합니다:
#include <QtGraphs/qutils.h> // ... QSurfaceFormat::setDefaultFormat(qDefaultSurfaceFormat(true));
예를 들어, QML 애플리케이션에서 직접 렌더링 모드에 앤티앨리어싱을 활성화합니다:
#include <QtGraphs/qutils.h> // ... QQuickView viewer; viewer.setFormat(qDefaultSurfaceFormat(true));
© 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.