docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class BufferedRTHandleSystem

    Implement a multiple buffering for RenderTextures.

    Inheritance
    object
    BufferedRTHandleSystem
    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 BufferedRTHandleSystem : IDisposable

    Properties

    Name Description
    maxHeight

    Maximum allocated height of the Buffered RTHandle System

    maxWidth

    Maximum allocated width of the Buffered RTHandle System

    rtHandleProperties

    Current properties of the Buffered RTHandle System

    Methods

    Name Description
    AllocBuffer(int, Func<RTHandleSystem, int, RTHandle>, int)

    Allocate RT handles for a buffer.

    CalculateRatioAgainstMaxSize(int, int)

    Returns the ratio against the current target's max resolution

    ClearBuffers(CommandBuffer)

    Clears all the previously created history buffers

    Dispose()

    Dispose implementation

    GetFrameRT(int, int)

    Return the frame RT or null.

    GetNumFramesAllocated(int)

    Queries the number of RT handle buffers allocated for a buffer ID.

    ReleaseAll()

    Deallocate and clear all buffers.

    ReleaseBuffer(int)

    Release a buffer

    ResetReferenceSize(int, int)

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

    SwapAndSetReferenceSize(int, int)

    Swap buffers Set the reference size for this RT Handle System (SetReferenceSize(int, int, bool))

    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)