Constructor CopyDepthPass
CopyDepthPass(RenderPassEvent, Material, bool, bool, bool)
Creates a new CopyDepthPass instance.
선언
public CopyDepthPass(RenderPassEvent evt, Material copyDepthMaterial, bool shouldClear = false, bool copyToDepth = false, bool copyResolvedDepth = false)
파라미터
| 타입 | 이름 | 설명 |
|---|---|---|
| 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. |