Class BufferedRTHandleSystem
Implement a multiple buffering for RenderTextures.
Implements
Inherited Members
Namespace: UnityEngine .Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public class BufferedRTHandleSystem : IDisposable
Properties
Name | Description |
---|---|
max |
Maximum allocated height of the Buffered RTHandle System |
max |
Maximum allocated width of the Buffered RTHandle System |
rt |
Current properties of the Buffered RTHandle System |
Methods
Name | Description |
---|---|
Alloc |
Allocate RT handles for a buffer. |
Calculate |
Returns the ratio against the current target's max resolution |
Clear |
Clears all the previously created history buffers |
Dispose() | Dispose implementation |
Get |
Return the frame RT or null. |
Get |
Queries the number of RT handle buffers allocated for a buffer ID. |
Release |
Deallocate and clear all buffers. |
Release |
Release a buffer |
Reset |
Reset the reference size of the system and reallocate all textures. |
Swap |
Swap buffers Set the reference size for this RT Handle System (Set |