ドキュメント

Unity Engine

Unity Engine

textureSlotCount

The maximum number of textures that UI Toolkit can bind to the shader at once.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public TextureSlotCount textureSlotCount { get; set; }

Remarks

If the shader uses more than one texture slot, it applies dynamic branching to select the texture to read from. More texture slots can help decreasing the number of draw calls, which can improve CPU performance. However, the extra branching operations can reduce GPU performance.