Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DestroyFeature

Destroys a specific FSR2Context created with GraphicsDevice.CreateFSRUpscale2.
Read time 1 minuteLast updated 8 days ago

Definition

DestroyFeature(CommandBuffer, FSR2Context)

Destroys a specific FSR2Context created with GraphicsDevice.CreateFSRUpscale2.
public void DestroyFeature(CommandBuffer cmd, FSR2Context fsrContext)

Parameters

The rendering command buffer to record commands into. This call does not execute the command buffer. You must execute the command buffer yourself at any time after this call.

fsrContext

The command object to destroy.

DestroyFeature(CommandBuffer, FSRUpscalerContext)

Destroys a specific FSRUpscalerContext created with GraphicsDevice.CreateFSRUpscale3 or GraphicsDevice.CreateFSRUpscale4.
public void DestroyFeature(CommandBuffer cmd, FSRUpscalerContext fsrContext)

Parameters

The rendering command buffer to record commands into. This call does not execute the command buffer. You must execute the command buffer yourself at any time after this call.

The command object to destroy.