ConfigureClear(Color, float, uint)
When the RenderPass starts, clear this attachment into the color or depth/stencil values given (depending on the format of this attachment). Changes AttachmentDescriptor.loadAction to RenderBufferLoadAction.Clear.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public void ConfigureClear(Color clearColor, float clearDepth = 1, uint clearStencil = 0)