Sur cette page

QRhiShadingRateMap::NativeShadingRateMap Struct

struct QRhiShadingRateMap::NativeShadingRateMap

Enveloppe une carte de taux d'ombrage native. En savoir plus…

Cette structure a été introduite dans Qt 6.9.

Variables publiques

quint64 object

Description détaillée

Un exemple est MTLRasterizationRateMap avec Metal. Les autres API 3D qui utilisent des textures pour le VRS basé sur des images n'utilisent pas cette structure, car elles peuvent fonctionner via la surcharge de QRhiShadingRateMap::createFrom() basée sur QRhiTexture.

Documentation sur les variables membres

quint64 NativeShadingRateMap::object

Entier 64 bits contenant le descripteur de l'objet natif.

Utilisé avec la fonction ` QRhiShadingRateMap::createFrom()`. Par exemple, avec Metal, ` object ` doit être un `id<MTLRasterizationRateMap>`.

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