30 lines
969 B
Lua
30 lines
969 B
Lua
---@meta
|
|
|
|
---@class Texture : TextureBase
|
|
Texture = {
|
|
--- Adds a mask texture to the texture.
|
|
--- @param mask Texture The mask texture to add.
|
|
--- @example
|
|
--- myTexture:AddMaskTexture(myMaskTexture)
|
|
AddMaskTexture = function(self, mask) end,
|
|
|
|
--- Returns the mask texture at the specified index.
|
|
--- @param index number The index of the mask texture.
|
|
--- @return Texture mask The mask texture at the specified index.
|
|
--- @example
|
|
--- local mask = myTexture:GetMaskTexture(1)
|
|
GetMaskTexture = function(self, index) end,
|
|
|
|
--- Returns the number of mask textures applied to the texture.
|
|
--- @return number count The number of mask textures.
|
|
--- @example
|
|
--- local count = myTexture:GetNumMaskTextures()
|
|
GetNumMaskTextures = function(self) end,
|
|
|
|
--- Removes a mask texture from the texture.
|
|
--- @param mask Texture The mask texture to remove.
|
|
--- @example
|
|
--- myTexture:RemoveMaskTexture(myMaskTexture)
|
|
RemoveMaskTexture = function(self, mask) end,
|
|
}
|