docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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)
    
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)