QRhiShadingRateMap::NativeShadingRateMap Struct
struct QRhiShadingRateMap::NativeShadingRateMap封装本地着色率贴图。更多
此结构在 Qt 6.9 中引入。
公共变量
五64 | object |
详细说明
例如,使用 Metal 的 MTLRasterizationRateMap。其他使用基于图像的 VRS 纹理的 3D API 并不使用此结构,因为它们可以通过基于QRhiTexture 的 QRhiShadingRate::createFrom() 重载来运行。
成员变量文档
quint64 NativeShadingRateMap::object
包含本地对象句柄的 64 位整数。
与QRhiShadingRateMap::createFrom() 一起使用。例如,在使用 Metal 时,object
预计是 id<MTLRasterizationRateMap>。
© 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.