lovr.headset.newLayer
EditCreates a new Layer
.
layer = lovr.headset.newLayer(width, height)
Arguments
Name | Type | Description |
width | number | The width of the Layer texture, in pixels. |
height | number | The height of the Layer texture, in pixels. |
Returns
Name | Type | Description |
layer | Layer | The new Layer. |