Created stub for Type:CameraClearMode [Automated] |
update |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
This enum informs a rendering component like a [[Component:Camera|Camera]] or a [[Component:CameraPortal|Camera Portal (mirror)]] to clear the buffer with when rendering a new frame. OpenGL, DX11, and other rendering engines render on top of the previous pixels when drawing, and this determines what is done with the pixels it doesn't draw over. | |||
{{Table EnumValues | {{Table EnumValues | ||
|Skybox|0| | |Skybox|0| When rendering, clear unrendered pixels with the skybox in the world. This is the expected behavior to match realism. | ||
|Color|1| | |Color|1| When rendering, clear unrendered pixels with a color. This is useful in circumstances like green screens | ||
|Depth|2| | |Depth|2| When rendering, clear only pixels that have depth values assigned to them. This is not Photo Sensitive friendly when viewing the skybox!!! | ||
|Nothing|3| | |Nothing|3| Don't replace non drawn pixels every frame. This can cause smearing and bright flashes and blooming when enabled. This is not Photo Sensitive friendly!!! | ||
}} | }} | ||
[[Category:Type]] | [[Category:Type]] | ||
[[Category:Enums]] | [[Category:Enums]] | ||
Latest revision as of 18:31, 3 May 2025
This enum informs a rendering component like a Camera or a Camera Portal (mirror) to clear the buffer with when rendering a new frame. OpenGL, DX11, and other rendering engines render on top of the previous pixels when drawing, and this determines what is done with the pixels it doesn't draw over.
| Name | Value | Description |
|---|---|---|
Skybox
|
0 | When rendering, clear unrendered pixels with the skybox in the world. This is the expected behavior to match realism. |
Color
|
1 | When rendering, clear unrendered pixels with a color. This is useful in circumstances like green screens |
Depth
|
2 | When rendering, clear only pixels that have depth values assigned to them. This is not Photo Sensitive friendly when viewing the skybox!!! |
Nothing
|
3 | Don't replace non drawn pixels every frame. This can cause smearing and bright flashes and blooming when enabled. This is not Photo Sensitive friendly!!! |