QRenderCapabilities Class
class Qt3DRender::QRenderCapabilitiesDie Klasse QRenderCapabilities enthält Einstellungen zu den verfügbaren Rendering-Engines. Mehr...
Kopfzeile: | #include <QRenderCapabilities> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
qmake: | QT += 3drender |
In QML: | RenderCapabilities |
Vererbt: | QObject |
Status: | Veraltet |
Eigenschaften
|
|
Öffentliche Funktionen
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 |
Detaillierte Beschreibung
QRenderCapabilities liefert Details zu grafischen Funktionen, die zur Laufzeit verfügbar sind. Sie kann verwendet werden, um zu entscheiden, welcher Codepfad für einige Algorithmen zu verwenden ist, z. B. je nachdem, ob Compute-Shader verfügbar sind oder nicht.
Dokumentation der Eigenschaft
[read-only]
api : const API
Gibt zurück, welche API gerade verwendet wird.
Zugriffsfunktionen:
Qt3DRender::QRenderCapabilities::API | api() const |
[read-only]
driverVersion : const QString
Gibt die Zeichenkette der Treiberversion zurück.
Zugriffsfunktionen:
QString | driverVersion() const |
[read-only]
extensions : const QStringList
Gibt die Liste der derzeit verfügbaren Erweiterungen zurück.
Zugriffsfunktionen:
QStringList | extensions() const |
[read-only]
glslVersion : const QString
Gibt die Zeichenkette der GLSL-Version zurück.
Zugriffsfunktionen:
QString | glslVersion() const |
[read-only]
majorVersion : const int
Gibt die aktuell verwendete Hauptversionsnummer zurück.
Zugriffsfunktionen:
int | majorVersion() const |
[read-only]
maxComputeInvocations : const int
Gibt die maximale Anzahl der verfügbaren Compute Shader zurück.
Zugriffsfunktionen:
int | maxComputeInvocations() const |
[read-only]
maxComputeSharedMemorySize : const int
Gibt die maximale Menge an gemeinsamem Speicher zurück, die für Compute Shader verfügbar ist.
Zugriffsfunktionen:
int | maxComputeSharedMemorySize() const |
[read-only]
maxImageUnits : const int
Gibt die maximale Anzahl der verfügbaren Bildeinheiten zurück.
Zugriffsfunktionen:
int | maxImageUnits() const |
[read-only]
maxSSBOBindings : const int
Gibt die maximale Anzahl der verfügbaren SSBO-Bindungspunkte zurück, falls unterstützt.
Zugriffsfunktionen:
int | maxSSBOBindings() const |
[read-only]
maxSSBOSize : const int
Gibt die maximale Größe von SSBOs zurück, falls vorhanden.
Zugriffsfunktionen:
int | maxSSBOSize() const |
[read-only]
maxSamples : const int
Gibt die maximale Anzahl der für MSAA verfügbaren Stichproben zurück.
Zugriffsfunktionen:
int | maxSamples() const |
[read-only]
maxTextureLayers : const int
Gibt die Anzahl der verfügbaren Texturebenen zurück.
Zugriffsfunktionen:
int | maxTextureLayers() const |
[read-only]
maxTextureSize : const int
Gibt die maximale Größe von Texturen zurück.
Zugriffsfunktionen:
int | maxTextureSize() const |
[read-only]
maxTextureUnits : const int
Gibt die Anzahl der verfügbaren Textureinheiten zurück.
Zugriffsfunktionen:
int | maxTextureUnits() const |
[read-only]
maxUBOBindings : const int
Gibt die maximale Anzahl der verfügbaren UBO-Bindungspunkte zurück, falls unterstützt.
Zugriffsfunktionen:
int | maxUBOBindings() const |
[read-only]
maxUBOSize : const int
Gibt die maximale Größe von UBOs zurück, falls unterstützt.
Zugriffsfunktionen:
int | maxUBOSize() const |
[read-only]
maxWorkGroupCountX : const int
Gibt die maximale Anzahl der verfügbaren Compute-Shader-Workgroups in der X-Achse zurück.
Zugriffsfunktionen:
int | maxWorkGroupCountX() const |
[read-only]
maxWorkGroupCountY : const int
Gibt die maximale Anzahl der verfügbaren Compute-Shader-Workgroups in der Y-Achse zurück.
Zugriffsfunktionen:
int | maxWorkGroupCountY() const |
[read-only]
maxWorkGroupCountZ : const int
Gibt die maximale Anzahl der verfügbaren Compute-Shader-Workgroups in der Z-Achse zurück.
Zugriffsfunktionen:
int | maxWorkGroupCountZ() const |
[read-only]
maxWorkGroupSizeX : const int
Gibt die maximale Größe der lokalen Compute-Shader-Arbeitsgruppen in der X-Achse zurück.
Zugriffsfunktionen:
int | maxWorkGroupSizeX() const |
[read-only]
maxWorkGroupSizeY : const int
Gibt die maximale Größe der lokalen Compute-Shader-Arbeitsgruppen in der Y-Achse zurück.
Zugriffsfunktionen:
int | maxWorkGroupSizeY() const |
[read-only]
maxWorkGroupSizeZ : const int
Gibt die maximale Größe der lokalen Compute-Shader-Arbeitsgruppen in der Z-Achse zurück.
Zugriffsfunktionen:
int | maxWorkGroupSizeZ() const |
[read-only]
minorVersion : const int
Liefert die derzeit verwendete Unterversionsnummer.
Zugriffsfunktionen:
int | minorVersion() const |
[read-only]
profile : const Profile
Gibt zurück, welches Profil (falls zutreffend) derzeit verwendet wird.
Zugriffsfunktionen:
Qt3DRender::QRenderCapabilities::Profile | profile() const |
[read-only]
renderer : const QString
Gibt die Zeichenkette der Geräteidentifikation zurück.
Zugriffsfunktionen:
QString | renderer() const |
[read-only]
supportsCompute : const bool
Gibt true zurück, wenn Compute Shader unterstützt werden.
Zugriffsfunktionen:
bool | supportsCompute() const |
[read-only]
supportsImageStore : const bool
Gibt true zurück, wenn Image Store-Operationen unterstützt werden.
Zugriffsfunktionen:
bool | supportsImageStore() const |
[read-only]
supportsSSBO : const bool
Gibt true zurück, wenn SSBOs unterstützt werden.
Zugriffsfunktionen:
bool | supportsSSBO() const |
[read-only]
supportsUBO : const bool
Gibt true zurück, wenn UBOs unterstützt werden.
Zugriffsfunktionen:
bool | supportsUBO() const |
[read-only]
valid : const bool
true, wenn die Daten gültig sind, andernfalls kann Qt 3D die verfügbare Hardware nicht abfragen.
Zugriffsfunktionen:
bool | isValid() const |
[read-only]
vendor : const QString
Gibt die Identifikationszeichenfolge des Herstellers zurück.
Zugriffsfunktionen:
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.