ImageEffectUsesCommandBuffer
Use this attribute when image effects are implemented using Command Buffers.
阅读时间3 分钟最后更新于 1 个月前
Definition
- Type: Class
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
- Inherits from: Attribute
- Implements: _Attribute
[AttributeUsage(AttributeTargets.Method)]public sealed class ImageEffectUsesCommandBuffer : Attribute, _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.