GE Lua Documentation

Press F to search!

ImDrawList_AddImage

Definition


-- @/lua/common/extensions/ui/imgui_gen_luaintf.lua:2090
function M.ImDrawList_AddImage(ImDrawList_ctx, ImTextureID_user_texture_id, ImVec2_p_min, ImVec2_p_max, ImVec2_uv_min, ImVec2_uv_max, ImU32_col)
  if ImVec2_uv_min == nil then ImVec2_uv_min = M.ImVec2(0,0) end
  if ImVec2_uv_max == nil then ImVec2_uv_max = M.ImVec2(1,1) end
  if ImU32_col == nil then ImU32_col = IM_COL32_WHITE end
  ImDrawList_ctx:AddImage(ImTextureID_user_texture_id, ImVec2_p_min, ImVec2_p_max, ImVec2_uv_min, ImVec2_uv_max, ImU32_col)
end

Callers