Obsolete Members for QSurfaceFormat

QSurfaceFormat 클래스의 다음 멤버는 더 이상 사용되지 않습니다. 이들은 이전 소스 코드의 작동을 유지하기 위해 제공됩니다. 새 코드에서는 사용하지 않는 것이 좋습니다.

공용 유형

(deprecated in 6.0) enum ColorSpace { DefaultColorSpace, sRGBColorSpace }

공용 함수

(deprecated in 6.0) void setColorSpace(QSurfaceFormat::ColorSpace colorSpace)

멤버 유형 문서

[deprecated in 6.0] enum QSurfaceFormat::ColorSpace

이 열거형은 6.0부터 더 이상 사용되지 않습니다. 새 코드에서는 사용하지 않는 것이 좋습니다.

대신 setColorSpace(QColorSpace)를 사용하세요.

이 열거형은 창과 연결된 기본 프레임버퍼가 표준 선형 연산 대신 주어진 인코딩에서 업데이트 및 블렌딩을 수행할 수 있는지 여부를 제어하여 선호하는 색 공간을 지정하는 데 사용됩니다.

Constant설명
QSurfaceFormat::DefaultColorSpace0지정되지 않은 기본 색 공간입니다.
QSurfaceFormat::sRGBColorSpace1플랫폼에서 GL_ARB_framebuffer_sRGB 또는 GL_EXT_framebuffer_sRGB 을 지원하며 이 값을 설정하면 창이 sRGB 지원 기본 프레임버퍼로 생성됩니다. 일부 플랫폼에서는 명시적으로 요청하지 않아도 sRGB 지원 기본 프레임버퍼가 있는 창을 반환할 수 있습니다.

멤버 함수 문서

[deprecated in 6.0] void QSurfaceFormat::setColorSpace(QSurfaceFormat::ColorSpace colorSpace)

이 함수는 6.0부터 더 이상 사용되지 않습니다. 새 코드에서 이 함수를 사용하지 않는 것이 좋습니다.

이 함수는 과부하가 걸린 함수입니다.

대신 setColorSpace(QColorSpace)를 사용하세요.

색공간을 미리 정의된 값 중 하나로 설정합니다.

colorSpace()도 참조하세요 .

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