Document texture_override_set a little more
This commit is contained in:
parent
015f5920d6
commit
b6a396b0cd
|
@ -268,6 +268,8 @@ end
|
||||||
--- @param overrideTexInfo TextureInfo
|
--- @param overrideTexInfo TextureInfo
|
||||||
--- @return nil
|
--- @return nil
|
||||||
--- Overrides a texture with a custom `TextureInfo`
|
--- Overrides a texture with a custom `TextureInfo`
|
||||||
|
--- * textureName must be the codename of a vanilla texture, you can find these in files such as `texture.inc.c`s
|
||||||
|
--- * overrideTexInfo can be any TextureInfo
|
||||||
function texture_override_set(textureName, overrideTexInfo)
|
function texture_override_set(textureName, overrideTexInfo)
|
||||||
-- ...
|
-- ...
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue