QRhiShadingRateMap::NativeShadingRateMap Struct

struct QRhiShadingRateMap ::NativeShadingRateMap

Wraps a native shading rate map. 更多...

This struct was introduced in Qt 6.9.

公共变量

quint64 object

详细描述

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().

成员变量文档编制

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