docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class UniversalRenderPipelineRuntimeTextures

    A resource container for textures used for UniversalRenderPipeline.

    Inheritance
    object
    UniversalRenderPipelineRuntimeTextures
    Implements
    IRenderPipelineResources
    IRenderPipelineGraphicsSettings
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering.Universal
    Assembly: Unity.RenderPipelines.Universal.Runtime.dll
    Syntax
    [Serializable]
    [SupportedOnRenderPipeline(typeof(UniversalRenderPipelineAsset))]
    [CategoryInfo(Name = "R: Runtime Textures", Order = 1000)]
    [HideInInspector]
    public class UniversalRenderPipelineRuntimeTextures : IRenderPipelineResources, IRenderPipelineGraphicsSettings
    Remarks

    You cannot edit these resources through the editor's UI; use the API for advanced changes. Changing this through the API is only allowed in the Editor. In the Player, this raises an error.

    Examples

    Here is an example of how to get the baked blue noise texture used by URP.

    using UnityEngine.Rendering;
    using UnityEngine.Rendering.Universal;
    

    public static class URPUniversalRendererRuntimeTexturesHelper { public static Texture blueNoise { get { var gs = GraphicsSettings.GetRenderPipelineSettings<UniversalRenderPipelineRuntimeTextures>(); if (gs == null) //not in URP return null; return gs.blueNoise64LTex; } } }

    Properties

    bayerMatrixTex

    Bayer matrix texture.

    Declaration
    public Texture2D bayerMatrixTex { get; set; }
    Property Value
    Type Description
    Texture2D
    See Also
    IRenderPipelineResources

    blueNoise64LTex

    Pre-baked blue noise textures.

    Declaration
    public Texture2D blueNoise64LTex { get; set; }
    Property Value
    Type Description
    Texture2D
    See Also
    IRenderPipelineResources

    debugFontTexture

    Debug font texture.

    Declaration
    public Texture2D debugFontTexture { get; set; }
    Property Value
    Type Description
    Texture2D
    See Also
    IRenderPipelineResources

    stencilDitherTex

    stencil-based lod texture.

    Declaration
    public Texture2D stencilDitherTex { get; }
    Property Value
    Type Description
    Texture2D
    See Also
    IRenderPipelineResources

    version

    Current version of the resource container. Used only for upgrading a project.

    Declaration
    public int version { get; }
    Property Value
    Type Description
    int
    See Also
    IRenderPipelineResources

    Implements

    IRenderPipelineResources
    IRenderPipelineGraphicsSettings

    See Also

    IRenderPipelineResources
    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)