ドキュメント

Unity Engine

Unity Engine

AllocFromPixelSize(in RenderTextureDescriptor)

Creates a shading rate image. This function performs the conversion from pixel to tile before the allocation.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

AllocFromPixelSize(RenderTextureDescriptor)

public static RenderTexture AllocFromPixelSize(in RenderTextureDescriptor rtDesc)

Parameters

Render texture descriptor where width and height are in pixels.

Returns

Type

Description

RenderTextureThe shading rate image for the given size as a render texture.