Sur cette page

QRhiShadingRateMap::NativeShadingRateMap Struct

struct QRhiShadingRateMap::NativeShadingRateMap

Enveloppe une carte de taux d'ombrage native. Plus d'informations...

Cette structure a été introduite dans Qt 6.9.

Variables publiques

quint64 object

Description détaillée

Un exemple est MTLRasterizationRateMap avec Metal. D'autres API 3D qui utilisent des textures pour le SRV basé sur l'image n'utilisent pas cette structure puisqu'elles peuvent fonctionner via la surcharge basée sur QRhiTexture de QRhiShadingRate::createFrom().

Documentation des variables membres

quint64 NativeShadingRateMap::object

Entier 64 bits contenant la poignée de l'objet natif.

Utilisé avec QRhiShadingRateMap::createFrom(). Par exemple, avec Metal, object devrait ê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.