![]() |
Vireo
0.0
Vireo 3D Rendering Hardware Interface
|
Union holding either a color clear value (r/g/b/a) or a depth/stencil clear value (depth/stencil). Set r/g/b/a for color attachments; set depth/stencil for depth attachments.
Lua full name: vireo.ClearValue
Properties | |
| number | r |
| Red component of the color clear value (0.0–1.0). | |
| number | g |
| Green component of the color clear value (0.0–1.0). | |
| number | b |
| Blue component of the color clear value (0.0–1.0). | |
| number | a |
| Alpha component of the color clear value (0.0–1.0, default 1.0). | |
| number | depth |
| Depth clear value used for depth attachments (default 1.0). | |
| integer | stencil |
| Stencil clear value used for stencil attachments (default 0). | |
| number r |
Red component of the color clear value (0.0–1.0).
| number g |
Green component of the color clear value (0.0–1.0).
| number b |
Blue component of the color clear value (0.0–1.0).
| number a |
Alpha component of the color clear value (0.0–1.0, default 1.0).
| number depth |
Depth clear value used for depth attachments (default 1.0).
| integer stencil |
Stencil clear value used for stencil attachments (default 0).