Class FrameResources
Utility class to store handles of frame resources for communication between passes.
Inheritance
FrameResources
Assembly: Unity.RenderPipelines.Universal.Runtime.dll
Syntax
public class FrameResources
Methods
GetTexture<T>(T)
Get the TextureHandle for a specific identifier.
Declaration
public TextureHandle GetTexture<T>(T id) where T : unmanaged, Enum
Parameters
Type |
Name |
Description |
T |
id |
|
Returns
Type |
Description |
TextureHandle |
|
Type Parameters
SetTexture<T>(T, TextureHandle)
Add or replace the TextureHandle for a specific identifier.
Declaration
public void SetTexture<T>(T id, TextureHandle handle) where T : unmanaged, Enum
Parameters
Type |
Name |
Description |
T |
id |
|
TextureHandle |
handle |
|
Type Parameters