Constructor CopyDepthPass
CopyDepthPass(RenderPassEvent, Material, bool, bool, bool)
Creates a new CopyDepthPass
instance.
Declaration
public CopyDepthPass(RenderPassEvent evt, Material copyDepthMaterial, bool shouldClear = false, bool copyToDepth = false, bool copyResolvedDepth = false)
Parameters
Type | Name | Description |
---|---|---|
RenderPassEvent | evt | The |
Material | copyDepthMaterial | The |
bool | shouldClear | Controls whether it should do a clear before copying the depth. |
bool | copyToDepth | Controls whether it should do a copy to a depth format target. |
bool | copyResolvedDepth | Set to true if the source depth is MSAA resolved. |