QRhiShadingRateMap::NativeShadingRateMap Struct
struct QRhiShadingRateMap::NativeShadingRateMap封装了一个原生着色速率映射。更多...
该结构体在 Qt 6.9 中引入。
公共变量
| quint64 | object |
详细描述
一个示例是 Metal 中的 MTLRasterizationRateMap。其他使用纹理进行基于图像的可变视距缩放(VRS)的 3D API 不会使用此结构体,因为它们可以通过基于QRhiTexture 的QRhiShadingRateMap::createFrom() 重载来实现。
成员变量文档
quint64 NativeShadingRateMap::object
包含本机对象句柄的 64 位整数。
与QRhiShadingRateMap::createFrom() 配合使用。例如,在 Metal 中,object 应为 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.