Obsolete Members for QSurfaceFormat

以下成員源於類 QSurfaceFormat 被棄用。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。

公共函數

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

成員函數文檔編製

void QSurfaceFormat:: setColorSpace ( QSurfaceFormat::ColorSpace colorSpace )

This function is deprecated since 6.0. We strongly advise against using it in new code.

這是重載函數。

Use setColorSpace( QColorSpace ) 代替。

Sets the colorspace to one of the predefined values.

另請參閱 colorSpace ().