QRenderCapabilities Class
class Qt3DRender::QRenderCapabilitiesQRenderCapabilitiesクラスは、利用可能なレンダリングエンジンに関する設定を保持します。詳細...
ヘッダ | #include <QRenderCapabilities> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
qmake | QT += 3drender |
QML で | RenderCapabilities |
を継承しています: | QObject |
ステータス | 非推奨 |
プロパティ
|
|
パブリック機能
Qt3DRender::QRenderCapabilities::API | api() const |
QString | driverVersion() const |
QStringList | extensions() const |
QString | glslVersion() const |
bool | isValid() const |
int | majorVersion() const |
int | maxComputeInvocations() const |
int | maxComputeSharedMemorySize() const |
int | maxImageUnits() const |
int | maxSSBOBindings() const |
int | maxSSBOSize() const |
int | maxSamples() const |
int | maxTextureLayers() const |
int | maxTextureSize() const |
int | maxTextureUnits() const |
int | maxUBOBindings() const |
int | maxUBOSize() const |
int | maxWorkGroupCountX() const |
int | maxWorkGroupCountY() const |
int | maxWorkGroupCountZ() const |
int | maxWorkGroupSizeX() const |
int | maxWorkGroupSizeY() const |
int | maxWorkGroupSizeZ() const |
int | minorVersion() const |
Qt3DRender::QRenderCapabilities::Profile | profile() const |
QString | renderer() const |
bool | supportsCompute() const |
bool | supportsImageStore() const |
bool | supportsSSBO() const |
bool | supportsUBO() const |
QString | vendor() const |
詳細説明
QRenderCapabilitiesは、実行時に利用可能なグラフィカル機能の詳細を提供します。これは、例えば、コンピュートシェーダーが利用可能かどうかに応じて、いくつかのアルゴリズムに使用するコードパスを決定するために使用することができます。
プロパティ ドキュメント
[read-only]
api : const API
現在使用中のAPIを返します。
アクセス関数
Qt3DRender::QRenderCapabilities::API | api() const |
[read-only]
driverVersion : const QString
ドライバのバージョン文字列を返します。
アクセス関数
QString | driverVersion() const |
[read-only]
extensions : const QStringList
現在利用可能な拡張子のリストを返します。
アクセス関数:
QStringList | extensions() const |
[read-only]
glslVersion : const QString
GLSL バージョン文字列を返します。
アクセス関数:
QString | glslVersion() const |
[read-only]
majorVersion : const int
現在使用中のメジャーバージョン番号を返します。
アクセス関数
int | majorVersion() const |
[read-only]
maxComputeInvocations : const int
使用可能なCompute Shaderの最大数を返します。
アクセス関数
int | maxComputeInvocations() const |
[read-only]
maxComputeSharedMemorySize : const int
Compute Shadersで使用可能な共有メモリの最大量を返します。
アクセス関数:
int | maxComputeSharedMemorySize() const |
[read-only]
maxImageUnits : const int
利用可能な画像ユニットの最大数を返します。
アクセス関数
int | maxImageUnits() const |
[read-only]
maxSSBOBindings : const int
利用可能な SSBO バインディングポイントの最大数を返します。
アクセス関数:
int | maxSSBOBindings() const |
[read-only]
maxSSBOSize : const int
可能であれば、SSBO の最大サイズを返します。
アクセス関数:
int | maxSSBOSize() const |
[read-only]
maxSamples : const int
MSAAで使用可能な最大サンプル数を返します。
アクセス関数:
int | maxSamples() const |
[read-only]
maxTextureLayers : const int
使用可能なテクスチャレイヤーの数を返します。
アクセス関数
int | maxTextureLayers() const |
[read-only]
maxTextureSize : const int
テクスチャの最大サイズを返します。
アクセス関数:
int | maxTextureSize() const |
[read-only]
maxTextureUnits : const int
使用可能なテクスチャユニットの数を返します。
アクセス関数
int | maxTextureUnits() const |
[read-only]
maxUBOBindings : const int
サポートされている場合、利用可能な UBO バインディングポイントの最大数を返します。
アクセス関数:
int | maxUBOBindings() const |
[read-only]
maxUBOSize : const int
サポートされている場合、UBO の最大サイズを返します。
アクセス関数:
int | maxUBOSize() const |
[read-only]
maxWorkGroupCountX : const int
X 軸で使用可能な Compute Shader ワークグループの最大数を返します。
アクセス関数:
int | maxWorkGroupCountX() const |
[read-only]
maxWorkGroupCountY : const int
Y 軸で使用可能な Compute Shader ワークグループの最大数を返します。
アクセス関数:
int | maxWorkGroupCountY() const |
[read-only]
maxWorkGroupCountZ : const int
Z軸で使用可能なCompute Shaderワークグループの最大数を返します。
アクセス関数:
int | maxWorkGroupCountZ() const |
[read-only]
maxWorkGroupSizeX : const int
X 軸における Compute Shader ローカルワークグループの最大サイズを返します。
アクセス関数
int | maxWorkGroupSizeX() const |
[read-only]
maxWorkGroupSizeY : const int
Compute ShaderローカルワークグループのY軸方向の最大サイズを返します。
アクセス関数
int | maxWorkGroupSizeY() const |
[read-only]
maxWorkGroupSizeZ : const int
Z軸におけるCompute Shaderローカルワークグループの最大サイズを返します。
アクセス関数
int | maxWorkGroupSizeZ() const |
[read-only]
minorVersion : const int
現在使用中のマイナーバージョン番号を返します。
関数にアクセスします:
int | minorVersion() const |
[read-only]
profile : const Profile
どのプロファイル(該当する場合)が現在使用中であるかを返します。
アクセス関数
Qt3DRender::QRenderCapabilities::Profile | profile() const |
[read-only]
renderer : const QString
デバイス識別文字列を返します。
アクセス関数
QString | renderer() const |
[read-only]
supportsCompute : const bool
Compute Shadersがサポートされている場合はtrueを返します。
アクセス関数:
bool | supportsCompute() const |
[read-only]
supportsImageStore : const bool
Image Store 操作がサポートされている場合は true を返します。
アクセス関数:
bool | supportsImageStore() const |
[read-only]
supportsSSBO : const bool
SSBO がサポートされている場合、true を返す。
アクセス関数:
bool | supportsSSBO() const |
[read-only]
supportsUBO : const bool
UBO がサポートされている場合は true を返す。
アクセス関数:
bool | supportsUBO() const |
[read-only]
valid : const bool
データが有効な場合はtrue、そうでない場合はQt 3D 、利用可能なハードウェアの問い合わせに失敗しました。
アクセス関数:
bool | isValid() const |
[read-only]
vendor : const QString
ベンダー識別文字列を返します。
関数にアクセスします:
QString | vendor() const |
© 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.