docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class FrameResources

    Utility class to store handles of frame resources for communication between passes.

    Inheritance
    object
    FrameResources
    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
    public class FrameResources

    Methods

    GetTexture<T>(T)

    Get the TextureHandle for a specific identifier.

    Declaration
    public TextureHandle GetTexture<T>(T id) where T : unmanaged, Enum
    Parameters
    Type Name Description
    T id
    Returns
    Type Description
    TextureHandle
    Type Parameters
    Name Description
    T

    SetTexture<T>(T, TextureHandle)

    Add or replace the TextureHandle for a specific identifier.

    Declaration
    public void SetTexture<T>(T id, TextureHandle handle) where T : unmanaged, Enum
    Parameters
    Type Name Description
    T id
    TextureHandle handle
    Type Parameters
    Name Description
    T
    In This Article
    Back to top
    Copyright © 2024 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)