From 58a62076ca0f8ce7441d2a42cfb8fe2fc7a75bbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 1 Nov 2021 21:03:23 +0800 Subject: update lovr --- meta/3rd/lovr/library/lovr.graphics.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'meta/3rd/lovr/library/lovr.graphics.lua') diff --git a/meta/3rd/lovr/library/lovr.graphics.lua b/meta/3rd/lovr/library/lovr.graphics.lua index 34aa2876..63b3596a 100644 --- a/meta/3rd/lovr/library/lovr.graphics.lua +++ b/meta/3rd/lovr/library/lovr.graphics.lua @@ -1319,7 +1319,7 @@ function Shader:hasUniform(uniform) end ---Updates a uniform variable in the Shader. --- ---@param uniform string # The name of the uniform to update. ----@param value lovr.* # The new value of the uniform. +---@param value any # The new value of the uniform. ---@return boolean success # Whether the uniform exists and was updated. function Shader:send(uniform, value) end @@ -1390,7 +1390,7 @@ function ShaderBlock:getType() end ---Returns a variable in the ShaderBlock. --- ---@param name string # The name of the variable to read. ----@return lovr.* value # The value of the variable. +---@return any value # The value of the variable. function ShaderBlock:read(name) end --- @@ -1398,7 +1398,7 @@ function ShaderBlock:read(name) end --- ---@overload fun(blob: lovr.Blob, offset: number, extent: number):number ---@param variable string # The name of the variable to update. ----@param value lovr.* # The new value of the uniform. +---@param value any # The new value of the uniform. function ShaderBlock:send(variable, value) end --- -- cgit v1.2.3