diff options
Diffstat (limited to 'meta/3rd/lovr')
-rw-r--r-- | meta/3rd/lovr/library/lovr.data.lua | 2 | ||||
-rw-r--r-- | meta/3rd/lovr/library/lovr.graphics.lua | 6 | ||||
-rw-r--r-- | meta/3rd/lovr/library/lovr.math.lua | 2 | ||||
-rw-r--r-- | meta/3rd/lovr/library/lovr.physics.lua | 12 | ||||
-rw-r--r-- | meta/3rd/lovr/library/lovr.thread.lua | 8 |
5 files changed, 15 insertions, 15 deletions
diff --git a/meta/3rd/lovr/library/lovr.data.lua b/meta/3rd/lovr/library/lovr.data.lua index e4ccdbf0..f43cbf94 100644 --- a/meta/3rd/lovr/library/lovr.data.lua +++ b/meta/3rd/lovr/library/lovr.data.lua @@ -57,7 +57,7 @@ function lovr.data.newRasterizer(size) end ---@param format? lovr.SampleFormat # The sample data type. ---@param channels? lovr.ChannelLayout # The channel layout. ---@param sampleRate? number # The sample rate, in Hz. ----@param contents? lovr.* # A Blob containing raw audio samples to use as the initial contents, 'stream' to create an audio stream, or `nil` to leave the data initialized to zero. +---@param contents? any # A Blob containing raw audio samples to use as the initial contents, 'stream' to create an audio stream, or `nil` to leave the data initialized to zero. ---@return lovr.Sound sound # Sounds good. function lovr.data.newSound(frames, format, channels, sampleRate, contents) end 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 --- diff --git a/meta/3rd/lovr/library/lovr.math.lua b/meta/3rd/lovr/library/lovr.math.lua index ddde6df1..007d8055 100644 --- a/meta/3rd/lovr/library/lovr.math.lua +++ b/meta/3rd/lovr/library/lovr.math.lua @@ -425,7 +425,7 @@ function Quat:normalize() end ---@overload fun(v: lovr.vec3, u: lovr.vec3):lovr.quat ---@overload fun(m: lovr.mat4):lovr.quat ---@overload fun():lovr.quat ----@param angle? lovr.angle # The angle to use for the rotation, in radians. +---@param angle? any # The angle to use for the rotation, in radians. ---@param ax? number # The x component of the axis of rotation. ---@param ay? number # The y component of the axis of rotation. ---@param az? number # The z component of the axis of rotation. diff --git a/meta/3rd/lovr/library/lovr.physics.lua b/meta/3rd/lovr/library/lovr.physics.lua index 9bb7e633..60e4904d 100644 --- a/meta/3rd/lovr/library/lovr.physics.lua +++ b/meta/3rd/lovr/library/lovr.physics.lua @@ -405,7 +405,7 @@ function Collider:getTag() end --- ---Returns the user data associated with the Collider. --- ----@return lovr.* data # The custom value associated with the Collider. +---@return any data # The custom value associated with the Collider. function Collider:getUserData() end --- @@ -586,7 +586,7 @@ function Collider:setTag(tag) end --- ---Associates a custom value with the Collider. --- ----@param data lovr.* # The custom value to associate with the Collider. +---@param data any # The custom value to associate with the Collider. function Collider:setUserData(data) end --- @@ -795,7 +795,7 @@ function Joint:getType() end --- ---Returns the user data associated with the Joint. --- ----@return lovr.* data # The custom value associated with the Joint. +---@return any data # The custom value associated with the Joint. function Joint:getUserData() end --- @@ -813,7 +813,7 @@ function Joint:setEnabled(enabled) end --- ---Sets the user data associated with the Joint. --- ----@param data lovr.* # The custom value associated with the Joint. +---@param data any # The custom value associated with the Joint. function Joint:setUserData(data) end --- @@ -881,7 +881,7 @@ function Shape:getType() end --- ---Returns the user data associated with the Shape. --- ----@return lovr.* data # The custom value associated with the Shape. +---@return any data # The custom value associated with the Shape. function Shape:getUserData() end --- @@ -928,7 +928,7 @@ function Shape:setSensor(sensor) end --- ---Sets the user data associated with the Shape. --- ----@param data lovr.* # The custom value associated with the Shape. +---@param data any # The custom value associated with the Shape. function Shape:setUserData(data) end --- diff --git a/meta/3rd/lovr/library/lovr.thread.lua b/meta/3rd/lovr/library/lovr.thread.lua index bc0f7660..ca329a6b 100644 --- a/meta/3rd/lovr/library/lovr.thread.lua +++ b/meta/3rd/lovr/library/lovr.thread.lua @@ -62,7 +62,7 @@ function Channel:hasRead(id) end --- ---Returns a message from the Channel without popping it from the queue. If the Channel is empty, `nil` is returned. This can be useful to determine if the Channel is empty. --- ----@return lovr.* message # The message, or `nil` if there is no message. +---@return any message # The message, or `nil` if there is no message. ---@return boolean present # Whether a message was returned (use to detect nil). function Channel:peek() end @@ -70,13 +70,13 @@ function Channel:peek() end ---Pops a message from the Channel. If the Channel is empty, an optional timeout argument can be used to wait for a message, otherwise `nil` is returned. --- ---@param wait? number # How long to wait for a message to be popped, in seconds. `true` can be used to wait forever and `false` can be used to avoid waiting. ----@return lovr.* message # The received message, or `nil` if nothing was received. +---@return any message # The received message, or `nil` if nothing was received. function Channel:pop(wait) end --- ---Pushes a message onto the Channel. The following types of data can be pushed: nil, boolean, number, string, and userdata. Tables should be serialized to strings. --- ----@param message lovr.* # The message to push. +---@param message any # The message to push. ---@param wait? number # How long to wait for the message to be popped, in seconds. `true` can be used to wait forever and `false` can be used to avoid waiting. ---@return number id # The ID of the pushed message. ---@return boolean read # Whether the message was read by another thread before the wait timeout. @@ -105,7 +105,7 @@ function Thread:isRunning() end --- ---Starts the Thread. --- ----@param arguments lovr.* # Up to 4 arguments to pass to the Thread's function. +---@param arguments any # Up to 4 arguments to pass to the Thread's function. function Thread:start(arguments) end --- |