Type:CameraClearMode: Difference between revisions

From Resonite Wiki
Created stub for Type:CameraClearMode [Automated]
 
add mega info
 
Line 1: Line 1:
{{stub}}
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| {{stub}}
|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 17:32, 15 October 2024

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.

Values
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 This article or section is a Stub. You can help the Resonite Wiki by expanding it.
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!!!