untangle-puzzlegame/Library/PackageCache/com.unity.shadergraph@cdef3258c742/Documentation~/Custom-Texture-Self.md
2025-04-17 17:33:08 -04:00

1.3 KiB

Custom Render Texture Self Node

Description

Provides the texture that contains the result of the previous update of the Custom Render Texture. Use the output that corresponds to the type of Custom Render Texture used.

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

Ports

Name Direction Type Binding Description
Self Texture 2D Output Texture2D None 2D Texture object that contains the update result of the previous Custom Render Texture.
Self Texture Cube Output Cubemap None Cubemap object that contains the update result of the previous Custom Render Texture.
Self Texture 3D Output Texture3D None 3D Texture object that contains the update result of the previous Custom Render Texture.

Generated Code Example

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

UnityBuildTexture2DStructNoScale(_SelfTexture2D)