Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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.
Read time 1 minuteLast updated 8 days ago

Definition

public void ConfigureClear(Color clearColor, float clearDepth = 1, uint clearStencil = 0)

Parameters

clearColor


clearDepth


clearStencil