Documentation

Unity Engine

Download Unity

Unity Engine

ImageEffectUsesCommandBuffer

Use this attribute when image effects are implemented using Command Buffers.
Read time 3 minutesLast updated 4 days ago

Definition

Warning
Deprecated. ImageEffectUsesCommandBuffer is deprecated and will be removed in a future release. It's used only by the Built-In Render Pipeline, which is no longer supported. To create custom fullscreen effects in the Universal Render Pipeline (URP), use a ScriptableRenderPass instead.
[AttributeUsage(AttributeTargets.Method)]public sealed class ImageEffectUsesCommandBuffer : Attribute

Remarks

Important: This API is compatible only with the Built-In Render Pipeline, which is no longer supported. To create a full-screen effect in the Universal Render Pipeline (URP), use the Full Screen Pass Renderer Feature.
When you use this attribute, Unity renders the Scene into a RenderTexture instead of the actual target. Please note that Camera.forceIntoRenderTexture may have the same effect, but only in some cases.

Inheritance

Inherited Members