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));

© 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.