QRhiShadingRateMap::NativeShadingRateMap Struct

struct QRhiShadingRateMap::NativeShadingRateMap

Wraps a native shading rate map. More...

This struct was introduced in Qt 6.9.

Public Variables

quint64 object

Detailed Description

An example is MTLRasterizationRateMap with Metal. Other 3D APIs that use textures for image-based VRS do not use this struct since those can function via the QRhiTexture-based overload of QRhiShadingRate::createFrom().

Member Variable Documentation

quint64 NativeShadingRateMap::object

64-bit integer containing the native object handle.

Used with QRhiShadingRateMap::createFrom(). For example, with Metal, object is expected to be an id<MTLRasterizationRateMap>.

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