QGraphicsApiFilter Class
(
Qt3DRender::QGraphicsApiFilter
)
The
QGraphicsApiFilter
class identifies the API required for the attached
QTechnique
更多...
公共類型
|
enum
|
Api
{ OpenGLES, OpenGL }
|
|
enum
|
OpenGLProfile
{ NoProfile, CoreProfile, CompatibilityProfile }
|
特性
公共函數
公共槽
信號
|
bool
|
operator!=
(const QGraphicsApiFilter &
reference
, const QGraphicsApiFilter &
sample
)
|
|
bool
|
operator==
(const QGraphicsApiFilter &
reference
, const QGraphicsApiFilter &
sample
)
|
額外繼承成員
詳細描述
The
QGraphicsApiFilter
class identifies the API required for the attached
QTechnique
成員類型文檔編製
enum QGraphicsApiFilter::
Api
enum QGraphicsApiFilter::
OpenGLProfile
This enum identifies the type of profile required
|
常量
|
值
|
Qt3DRender::QGraphicsApiFilter::NoProfile
|
QSurfaceFormat::NoProfile
|
Qt3DRender::QGraphicsApiFilter::CoreProfile
|
QSurfaceFormat::CoreProfile
|
Qt3DRender::QGraphicsApiFilter::CompatibilityProfile
|
QSurfaceFormat::CompatibilityProfile
|
特性文檔編製
api
:
Qt3DRender::QGraphicsApiFilter::Api
訪問函數:
|
Api
|
api
() const
|
|
void
|
setApi
(Api
api
)
|
通知程序信號:
|
void
|
apiChanged
(Qt3DRender::QGraphicsApiFilter::Api
api
)
|
訪問函數:
|
QStringList
|
extensions
() const
|
|
void
|
setExtensions
(const QStringList &
extensions
)
|
通知程序信號:
|
void
|
extensionsChanged
(const QStringList &
extensions
)
|
majorVersion
:
int
訪問函數:
|
int
|
majorVersion
() const
|
|
void
|
setMajorVersion
(int
majorVersion
)
|
通知程序信號:
|
void
|
majorVersionChanged
(int
majorVersion
)
|
minorVersion
:
int
訪問函數:
|
int
|
minorVersion
() const
|
|
void
|
setMinorVersion
(int
minorVersion
)
|
通知程序信號:
|
void
|
minorVersionChanged
(int
minorVersion
)
|
profile
:
Qt3DRender::QGraphicsApiFilter::OpenGLProfile
訪問函數:
|
OpenGLProfile
|
profile
() const
|
|
void
|
setProfile
(OpenGLProfile
profile
)
|
通知程序信號:
|
void
|
profileChanged
(Qt3DRender::QGraphicsApiFilter::OpenGLProfile
profile
)
|
訪問函數:
|
QString
|
vendor
() const
|
|
void
|
setVendor
(const QString &
vendor
)
|
通知程序信號:
|
void
|
vendorChanged
(const QString &
vendor
)
|
成員函數文檔編製
QGraphicsApiFilter::
QGraphicsApiFilter
(
QObject
*
parent
= nullptr)
構造新的
QGraphicsApiFilter
采用指定
parent
.
[signal]
void
QGraphicsApiFilter::
graphicsApiFilterChanged
()
This signal is emitted when the value of any property is changed.
相關非成員
返迴
true
if
reference
and
sample
are different.
返迴
true
if
reference
and
sample
are equivalent.