summaryrefslogtreecommitdiff
path: root/meta/3rd/lovr/library
diff options
context:
space:
mode:
Diffstat (limited to 'meta/3rd/lovr/library')
-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