Qt3DRender::QRenderCapabilities Class
class Qt3DRender::QRenderCapabilitiesQRenderCapabilities クラスは、利用可能なレンダリングエンジンに関連する設定を保持しています。詳細...
| ヘッダー: | #include <qrendercapabilities.h> |
| 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
利用可能なコンピュートシェーダーの最大数を返します。
アクセス関数:
| int | maxComputeInvocations() const |
[read-only] maxComputeSharedMemorySize : const int
コンピュートシェーダーで使用可能な共有メモリの最大容量を返します。
アクセス関数:
| 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軸上で利用可能なコンピュートシェーダーのワークグループの最大数を返します。
アクセス関数:
| int | maxWorkGroupCountX() const |
[read-only] maxWorkGroupCountY : const int
Y軸上で利用可能なコンピュートシェーダーのワークグループの最大数を返します。
アクセス関数:
| int | maxWorkGroupCountY() const |
[read-only] maxWorkGroupCountZ : const int
Z軸上で利用可能なコンピュートシェーダーのワークグループの最大数を返します。
アクセス関数:
| int | maxWorkGroupCountZ() const |
[read-only] maxWorkGroupSizeX : const int
X軸におけるコンピュートシェーダーのローカルワークグループの最大サイズを返します。
アクセス関数:
| int | maxWorkGroupSizeX() const |
[read-only] maxWorkGroupSizeY : const int
Y軸におけるコンピュートシェーダーのローカルワークグループの最大サイズを返します。
アクセス関数:
| int | maxWorkGroupSizeY() const |
[read-only] maxWorkGroupSizeZ : const int
Z軸方向におけるコンピュートシェーダーのローカルワークグループの最大サイズを返します。
アクセス関数:
| 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
コンピュートシェーダーがサポートされている場合、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 |
© 2026 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.