QGraphicsApiFilter Class
class
Qt3DRender
::QGraphicsApiFilter
The QGraphicsApiFilter class identifies the API required for the attached
QTechnique
.
更多...
头:
|
#include <QGraphicsApiFilter>
|
CMake:
|
find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
|
qmake:
|
QT += 3drender
|
实例化:
|
GraphicsApiFilter
|
继承:
|
QObject
|
公共类型
enum
|
Api
{ OpenGLES, OpenGL, Vulkan, DirectX, RHI }
|
enum
|
OpenGLProfile
{ NoProfile, CoreProfile, CompatibilityProfile }
|
特性
公共函数
公共槽
信号
bool
|
operator!=
(const Qt3DRender::QGraphicsApiFilter &
reference
, const Qt3DRender::QGraphicsApiFilter &
sample
)
|
bool
|
operator==
(const Qt3DRender::QGraphicsApiFilter &
reference
, const Qt3DRender::QGraphicsApiFilter &
sample
)
|
详细描述
成员类型文档编制
enum QGraphicsApiFilter::
Api
常量
|
值
|
描述
|
Qt3DRender::QGraphicsApiFilter::OpenGLES
|
QSurfaceFormat::OpenGLES
|
QSurfaceFormat::OpenGLES
|
Qt3DRender::QGraphicsApiFilter::OpenGL
|
QSurfaceFormat::OpenGL
|
QSurfaceFormat::OpenGL
|
Qt3DRender::QGraphicsApiFilter::Vulkan
|
3
|
Vulkan
|
Qt3DRender::QGraphicsApiFilter::DirectX
|
4
|
DirectX
|
Qt3DRender::QGraphicsApiFilter::RHI
|
5
|
RHI
|
enum QGraphicsApiFilter::
OpenGLProfile
This enum identifies the type of profile required.
特性文档编制
访问函数:
Qt3DRender::QGraphicsApiFilter::Api
|
api
() const
|
void
|
setApi
(Qt3DRender::QGraphicsApiFilter::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
)
|
访问函数:
Qt3DRender::QGraphicsApiFilter::OpenGLProfile
|
profile
() const
|
void
|
setProfile
(Qt3DRender::QGraphicsApiFilter::OpenGLProfile
profile
)
|
通知程序信号:
void
|
profileChanged
(Qt3DRender::QGraphicsApiFilter::OpenGLProfile
profile
)
|
访问函数:
QString
|
vendor
() const
|
void
|
setVendor
(const QString &
vendor
)
|
通知程序信号:
void
|
vendorChanged
(const QString &
vendor
)
|
成员函数文档编制
[explicit]
QGraphicsApiFilter::
QGraphicsApiFilter
(
QObject
*
parent
= nullptr)
Constructs a new QGraphicsApiFilter with the specified
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.