Enum CameraClearFlags
List of options for clearing a camera's viewport before rendering. Used by the Camera2D component.
Namespace: Unity.Tiny.Rendering
Syntax
public enum CameraClearFlags : int
Fields
| Name | Description | Value |
|---|---|---|
| DepthOnly | Only clear the depth and stencil buffers This is useful for some multi layer effects, where one camera renders with its own depth range, and the a second camera renders at a closer depth range |
|
| Nothing | Do not clear. Use this when the camera renders to the entire screen, and in situations where multiple cameras render to the same screen area. |
|
| SolidColor | Clears the viewport with a solid background color, specified by |