|
@@ -7175,8 +7175,10 @@ return {
|
|
description = "Draws a fullscreen textured quad.",
|
|
description = "Draws a fullscreen textured quad.",
|
|
key = "lovr.graphics.fill",
|
|
key = "lovr.graphics.fill",
|
|
module = "lovr.graphics",
|
|
module = "lovr.graphics",
|
|
|
|
+ notes = "This function ignores stereo rendering, so it will stretch the input across the entire Canvas if it's stereo.",
|
|
variants = {
|
|
variants = {
|
|
{
|
|
{
|
|
|
|
+ description = "Fills the screen with a Texture.",
|
|
arguments = {
|
|
arguments = {
|
|
{
|
|
{
|
|
name = "texture",
|
|
name = "texture",
|
|
@@ -7185,6 +7187,22 @@ return {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
returns = {}
|
|
returns = {}
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ description = "Fills the screen with the first Texture attached to a Canvas.",
|
|
|
|
+ arguments = {
|
|
|
|
+ {
|
|
|
|
+ name = "canvas",
|
|
|
|
+ type = "Canvas",
|
|
|
|
+ description = "The first Texture attached to this Canvas will be used."
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ returns = {}
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ description = "Fills the screen with the active color.",
|
|
|
|
+ arguments = {},
|
|
|
|
+ returns = {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|