|
@@ -3,11 +3,14 @@ return {
|
|
|
summary = 'Called continuously to render frames to the display.',
|
|
|
description = [[
|
|
|
This callback is called every frame. Use it to render the scene. If a VR headset is connected,
|
|
|
- anything rendered by this function will appear in the headset display.
|
|
|
+ anything rendered by this function will appear in the headset display. The display is cleared
|
|
|
+ to the background color before this function is called.
|
|
|
]],
|
|
|
arguments = {},
|
|
|
returns = {},
|
|
|
related = {
|
|
|
- 'lovr.headset.renderTo'
|
|
|
+ 'lovr.mirror',
|
|
|
+ 'lovr.headset.renderTo',
|
|
|
+ 'lovr.graphics.setBackgroundColor'
|
|
|
}
|
|
|
}
|