summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-03-07 16:47:50 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-03-07 16:47:50 +0800
commit2db1aed64ea3e43d3ee3e8a1ee5a53b8c1d9d95d (patch)
tree424496307084c825492044f78084930cee2e73ad /meta
parent1face5ab84618c03ad3077252ae289774ce7a816 (diff)
downloadlua-language-server-2db1aed64ea3e43d3ee3e8a1ee5a53b8c1d9d95d.zip
update submodules
Diffstat (limited to 'meta')
-rw-r--r--meta/3rd/lovr/library/lovr.graphics.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/3rd/lovr/library/lovr.graphics.lua b/meta/3rd/lovr/library/lovr.graphics.lua
index f0ccb310..fe0b6c33 100644
--- a/meta/3rd/lovr/library/lovr.graphics.lua
+++ b/meta/3rd/lovr/library/lovr.graphics.lua
@@ -1450,6 +1450,10 @@ function Canvas:isStereo() end
---
---Returns a new Image containing the contents of a Texture attached to the Canvas.
---
+---
+---### NOTE:
+---The Image will have the same pixel format as the Texture that is read from.
+---
---@param index? number # The index of the Texture to read from.
---@return lovr.Image image # The new Image.
function Canvas:newImage(index) end