GE Lua Documentation

Press F to search!

reloadTextures

Definition


-- @/=[C]:-1
function reloadTextures(...)

Callers

@/lua/ge/extensions/editor/waterObjectHelper.lua
      if object:isSubClassOf("WaterObject") then
        object:reloadTextures()
      end
@/lua/ge/extensions/editor/createObjectTool.lua

  obj:reloadTextures()
  return true

  obj:reloadTextures()
  return true
@/lua/ge/extensions/core/settings/textureQuality.lua
M.onApply = function()
  reloadTextures() -- Note that this can be a slow operation.
end