Class FrameResources
Utility class to store handles of frame resources for communication between passes.
Inheritance
FrameResources
Syntax
public class FrameResources
Methods
GetTexture<T>(T)
Get the TextureHandle for a specific identifier.
Declaration
public TextureHandle GetTexture<T>(T id)
where T : struct, Enum
Parameters
Type |
Name |
Description |
T |
id |
|
Returns
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 : struct, Enum
Parameters
Type Parameters