ImageEffectUsesCommandBuffer
Use this attribute when image effects are implemented using Command Buffers.
Read time 3 minutesLast updated 6 days ago
Definition
- Type: Class
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
- Inherits from: Attribute
[AttributeUsage(AttributeTargets.Method)]public sealed class ImageEffectUsesCommandBuffer : Attribute
Remarks
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.