docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class RTHandleSystem

    System managing a set of RTHandle textures

    Inheritance
    object
    RTHandleSystem
    Implements
    IDisposable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    public class RTHandleSystem : IDisposable

    Constructors

    Name Description
    RTHandleSystem()

    RTHandleSystem constructor.

    Properties

    Name Description
    rtHandleProperties

    Current properties of the RTHandle System.

    Methods

    Name Description
    Alloc(int, int, int, DepthBits, GraphicsFormat, FilterMode, TextureWrapMode, TextureDimension, bool, bool, bool, bool, int, float, MSAASamples, bool, bool, RenderTextureMemoryless, VRTextureUsage, string)

    Allocate a new fixed sized RTHandle.

    Alloc(int, int, TextureWrapMode, TextureWrapMode, TextureWrapMode, int, DepthBits, GraphicsFormat, FilterMode, TextureDimension, bool, bool, bool, bool, int, float, MSAASamples, bool, bool, RenderTextureMemoryless, VRTextureUsage, string)

    Allocate a new fixed sized RTHandle.

    Alloc(RenderTexture)

    Allocate a RTHandle from a regular RenderTexture.

    Alloc(RenderTargetIdentifier)

    Allocate a RTHandle from a regular render target identifier.

    Alloc(RenderTargetIdentifier, string)

    Allocate a RTHandle from a regular render target identifier.

    Alloc(ScaleFunc, int, DepthBits, GraphicsFormat, FilterMode, TextureWrapMode, TextureDimension, bool, bool, bool, bool, int, float, MSAASamples, bool, bool, RenderTextureMemoryless, VRTextureUsage, string)

    Allocate a new automatically sized RTHandle.

    Alloc(Texture)

    Allocate a RTHandle from a regular Texture.

    Alloc(Vector2, int, DepthBits, GraphicsFormat, FilterMode, TextureWrapMode, TextureDimension, bool, bool, bool, bool, int, float, MSAASamples, bool, bool, RenderTextureMemoryless, VRTextureUsage, string)

    Allocate a new automatically sized RTHandle.

    Dispose()

    Disposable pattern implementation

    GetMaxHeight()

    Returns the maximum allocated height of the RTHandle System.

    GetMaxWidth()

    Returns the maximum allocated width of the RTHandle System.

    Initialize(int, int)

    Initialize the RTHandle system.

    Release(RTHandle)

    Release memory of a RTHandle from the RTHandle System

    ResetReferenceSize(int, int)

    Reset the reference size of the system and reallocate all textures.

    SetHardwareDynamicResolutionState(bool)

    Enable or disable hardware dynamic resolution for the RTHandle System

    SetReferenceSize(int, int)

    Sets the reference rendering size for subsequent rendering for the RTHandle System

    SetReferenceSize(int, int, bool)

    Sets the reference rendering size for subsequent rendering for the RTHandle System

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, bool)
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)