|
@@ -6,11 +6,23 @@ return {
|
|
|
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 = {},
|
|
|
+ arguments = {
|
|
|
+ {
|
|
|
+ name = 'pass',
|
|
|
+ type = 'Pass',
|
|
|
+ description = 'A render pass targeting the main display (headset or window).'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ returns = {
|
|
|
+ {
|
|
|
+ name = 'skip',
|
|
|
+ type = 'boolean',
|
|
|
+ description = 'Whether the input Pass should be submitted to the GPU.'
|
|
|
+ }
|
|
|
+ },
|
|
|
related = {
|
|
|
'lovr.mirror',
|
|
|
- 'lovr.headset.renderTo',
|
|
|
+ 'lovr.headset.getPass',
|
|
|
'lovr.graphics.setBackgroundColor'
|
|
|
}
|
|
|
}
|