Whether the Layer should be stereo. Stereo Layers use an array texture with 2 layers instead of a regular 2D texture, with the first array layer shown in the left eye and the second array layer shown in the right eye. The default is false, unless 2 images or an array texture are used to create the layer; then the default will be true.
.static
boolean
nil
Whether the Layer is static. Static layers use less memory, but their contents can only be changed on the frame when they're created. On subsequent frames, calling Layer:getTexture will throw an error. The default is false, unless images/textures are used to create the layer; then the default will be true. This should be used for layers that only need to display a static image.
.transparent
boolean
false
Whether the Layer is transparent. Transparent Layers will use their alpha channel to blend properly with other content behind them, at a minor performance cost.
.filter
boolean
true
Whether the VR runtime is allowed to apply filtering effects to the Layer, such as sharpening and supersampling. This can improve text legibility and reduces "shimmering" artifacts, but may reduce performance. Currently only Quest will apply this automatic filtering.
Whether the Layer should be stereo. Stereo Layers use an array texture with 2 layers instead of a regular 2D texture, with the first array layer shown in the left eye and the second array layer shown in the right eye. The default is false, unless 2 images or an array texture are used to create the layer; then the default will be true.
.static
boolean
nil
Whether the Layer is static. Static layers use less memory, but their contents can only be changed on the frame when they're created. On subsequent frames, calling Layer:getTexture will throw an error. The default is false, unless images/textures are used to create the layer; then the default will be true. This should be used for layers that only need to display a static image.
.transparent
boolean
false
Whether the Layer is transparent. Transparent Layers will use their alpha channel to blend properly with other content behind them, at a minor performance cost.
.filter
boolean
true
Whether the VR runtime is allowed to apply filtering effects to the Layer, such as sharpening and supersampling. This can improve text legibility and reduces "shimmering" artifacts, but may reduce performance. Currently only Quest will apply this automatic filtering.
Whether the Layer should be stereo. Stereo Layers use an array texture with 2 layers instead of a regular 2D texture, with the first array layer shown in the left eye and the second array layer shown in the right eye. The default is false, unless 2 images or an array texture are used to create the layer; then the default will be true.
.static
boolean
nil
Whether the Layer is static. Static layers use less memory, but their contents can only be changed on the frame when they're created. On subsequent frames, calling Layer:getTexture will throw an error. The default is false, unless images/textures are used to create the layer; then the default will be true. This should be used for layers that only need to display a static image.
.transparent
boolean
false
Whether the Layer is transparent. Transparent Layers will use their alpha channel to blend properly with other content behind them, at a minor performance cost.
.filter
boolean
true
Whether the VR runtime is allowed to apply filtering effects to the Layer, such as sharpening and supersampling. This can improve text legibility and reduces "shimmering" artifacts, but may reduce performance. Currently only Quest will apply this automatic filtering.
Whether the Layer should be stereo. Stereo Layers use an array texture with 2 layers instead of a regular 2D texture, with the first array layer shown in the left eye and the second array layer shown in the right eye. The default is false, unless 2 images or an array texture are used to create the layer; then the default will be true.
.static
boolean
nil
Whether the Layer is static. Static layers use less memory, but their contents can only be changed on the frame when they're created. On subsequent frames, calling Layer:getTexture will throw an error. The default is false, unless images/textures are used to create the layer; then the default will be true. This should be used for layers that only need to display a static image.
.transparent
boolean
false
Whether the Layer is transparent. Transparent Layers will use their alpha channel to blend properly with other content behind them, at a minor performance cost.
.filter
boolean
true
Whether the VR runtime is allowed to apply filtering effects to the Layer, such as sharpening and supersampling. This can improve text legibility and reduces "shimmering" artifacts, but may reduce performance. Currently only Quest will apply this automatic filtering.