ShadingRateImage.AllocFromPixelSize(ShadingRateImage,RenderTextureDescriptor)

Parameters

shadingRateImage Shading rate image created
rtDesc Render texture descriptor where width and height are in pixels

Returns

void True on success, false otherwise.

Description

Creates a shading rate image. This function performs the conversion from pixel to tile before the allocation.


Did you find this page useful? Please give it a rating: