minesweeper_game/Library/PackageCache/com.unity.shadergraph@cdef3258c742/Documentation~/Custom-Texture-Size.md
2025-03-15 14:30:26 -04:00

1.2 KiB

Custom Render Texture Size Node

Description

Provides the size of the current Custom Render Texture.

For more information on Custom Render Textures, refer to the Unity Manual.

Ports

Name Direction Type Binding Description
Texture Width Output Float None Width of the Custom Render Texture.
Texture Height Output Float None Height of the Custom Render Texture.
Texture Depth Output Float None Volume depth of the Custom Render Texture. This is valid only for 3D texture and 2D texture array types.

Generated Code Example

The following example code represents one possible outcome of this node.

_CustomRenderTextureWidth