En esta página

QRhiShadingRateMap::NativeShadingRateMap Struct

struct QRhiShadingRateMap::NativeShadingRateMap

Envuelve un mapa de tasa de sombreado nativo. Más...

Esta estructura se introdujo en Qt 6.9.

Variables públicas

quint64 object

Descripción detallada

Un ejemplo es MTLRasterizationRateMap con Metal. Otras API 3D que utilizan texturas para el VRS basado en imágenes no utilizan esta estructura, ya que pueden funcionar a través de la sobrecarga basada en QRhiTexture de QRhiShadingRateMap::createFrom().

Documentación de las variables miembro

quint64 NativeShadingRateMap::object

Entero de 64 bits que contiene el identificador del objeto nativo.

Se utiliza con ` QRhiShadingRateMap::createFrom()`. Por ejemplo, con Metal, se espera que ` object ` sea 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.