docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class RTHandles

    Default instance of a RTHandleSystem

    Inheritance
    object
    RTHandles
    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 static class RTHandles

    Properties

    Name Description
    maxHeight

    Maximum allocated height of the default RTHandle System

    maxWidth

    Maximum allocated width of the default RTHandle System

    rtHandleProperties

    Current properties of the default 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 with the default RTHandle System.

    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 with the default RTHandle System.

    Alloc(RenderTexture)

    Allocate a RTHandle from a regular RenderTexture for the default RTHandle system.

    Alloc(in RenderTextureDescriptor, FilterMode, TextureWrapMode, bool, int, float, string)

    Allocate a new fixed sized RTHandle with the default RTHandle System.

    Alloc(RenderTargetIdentifier)

    Allocate a RTHandle from a regular render target identifier for the default RTHandle system.

    Alloc(RenderTargetIdentifier, string)

    Allocate a RTHandle from a regular render target identifier for the default RTHandle system.

    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 for the default RTHandle System.

    Alloc(ScaleFunc, in RenderTextureDescriptor, FilterMode, TextureWrapMode, bool, int, float, string)

    Allocate a new automatically sized RTHandle for the default RTHandle System.

    Alloc(Texture)

    Allocate a RTHandle from a regular Texture for the default RTHandle system.

    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 for the default RTHandle System.

    Alloc(Vector2, in RenderTextureDescriptor, FilterMode, TextureWrapMode, bool, int, float, string)

    Allocate a new automatically sized RTHandle for the default RTHandle System.

    CalculateRatioAgainstMaxSize(int, int)

    Returns the ratio against the current target's max resolution

    Initialize(int, int)

    Initialize the default RTHandle system.

    Release(RTHandle)

    Release memory of a RTHandle from the default 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 default RTHandle System

    SetReferenceSize(int, int)

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

    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)