QRhiShadingRateMap::NativeShadingRateMap Struct

struct QRhiShadingRateMap::NativeShadingRateMap

Verpackt eine native Shading-Rate-Map. Mehr...

Diese Struktur wurde in Qt 6.9 eingeführt.

Öffentliche Variablen

quint64 object

Detaillierte Beschreibung

Ein Beispiel ist MTLRasterizationRateMap mit Metal. Andere 3D-APIs, die Texturen für bildbasierte VRS verwenden, nutzen diese Struktur nicht, da diese über die QRhiTexture-basierte Überladung von QRhiShadingRate::createFrom() funktionieren können.

Dokumentation der Mitgliedsvariablen

quint64 NativeShadingRateMap::object

64-Bit-Ganzzahl, die das native Objekt-Handle enthält.

Wird mit QRhiShadingRateMap::createFrom() verwendet. Bei Metal wird zum Beispiel erwartet, dass object eine id<MTLRasterizationRateMap> ist.

© 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.