以下成員源於類 QSurfaceFormat 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。
(obsolete)
void
|
setOption (QSurfaceFormat::FormatOptions opt ) |
(obsolete)
bool
|
testOption (QSurfaceFormat::FormatOptions opt ) const |
這是重載函數。
使用 setOption ( QSurfaceFormat::FormatOption , bool) or setOptions () 代替。
Sets the format options to the OR combination of opt and the current format options.
另請參閱 options () 和 testOption ().
這是重載函數。
使用 testOption ( QSurfaceFormat::FormatOption ) 代替。
返迴
true
if any of the options in
opt
is currently set on this object; otherwise returns false.
另請參閱 setOption ().