Struct RTHandleStaticHelpers
This struct contains some static helpers that can be used when converting RTid to RThandle The common use case is to convert rtId to rtHandle and use the handle with other handle compatible core APIs
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public struct RTHandleStaticHelpers
Fields
| Name | Description |
|---|---|
| s_RTHandleWrapper | Static RTHandle wrapper around RenderTargetIdentifier to avoid gc.alloc
Set this wrapper through |
Methods
| Name | Description |
|---|---|
| SetRTHandleStaticWrapper(RenderTargetIdentifier) | Set static RTHandle wrapper given a RTid. The static RTHandle wrapper is treated as external handle in RTHandleSystem
Get the static wrapper through |
| SetRTHandleUserManagedWrapper(ref RTHandle, RenderTargetIdentifier) | Set user managed RTHandle wrapper given a RTid. The wrapper is treated as external handle in RTHandleSystem |