ドキュメント

Unity Engine

Unity Engine

TextureSlotCount

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

Definition

public enum TextureSlotCount

Remarks

Additional Resources: PanelSettings.textureSlotCount

Fields

Value

Description

EightUI Toolkit can bind up to eight textures to the shader at once. It uses three nested dynamic branches to select the appropriate texture. ///
FourUI Toolkit can bind up to four textures to the shader at once. It uses two nested dynamic branches to select the appropriate texture.
OneUI Toolkit can bind only one texture to the shader at once. No dynamic branching is required to select the texture.
TwoUI Toolkit can bind up to two textures to the shader at once. It uses one dynamic branch to select the appropriate texture.