lovr.headset.getTexture
EditReturns a Texture that will be submitted to the headset display. This will be the render target used in the headset's render pass. The texture is not guaranteed to be the same every frame, and must be called every frame to get the current texture.
texture = lovr.headset.getTexture()
Arguments
None
Returns
Name | Type | Description |
texture | Texture | The headset texture. |
Notes
This function may return nil
if the headset is not being rendered to this frame.
See also
lovr.headset.getPass
lovr.mirror
lovr.headset