diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-11-01 21:03:23 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-11-01 21:03:23 +0800 |
commit | 58a62076ca0f8ce7441d2a42cfb8fe2fc7a75bbc (patch) | |
tree | 4446c67efaf2286f7130904aed95b70a93eb8c00 /meta/3rd/lovr/library/lovr.graphics.lua | |
parent | dda6b1860cf9e2efbc6b06bad4a6174481c7e5d9 (diff) | |
download | lua-language-server-58a62076ca0f8ce7441d2a42cfb8fe2fc7a75bbc.zip |
update lovr
Diffstat (limited to 'meta/3rd/lovr/library/lovr.graphics.lua')
-rw-r--r-- | meta/3rd/lovr/library/lovr.graphics.lua | 6 |
1 files changed, 3 insertions, 3 deletions
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 --- |