{{oldin|[[0.9.0]]|090|type=function|text=Moved to the [[love.window]] module as [[love.window.getFullscreenModes]]}}

Gets a list of supported fullscreen modes.
== 関数 ==
=== 概要 ===
<source lang="lua">
modes = love.graphics.getModes( )
</source>
=== 引数 ===
なし。
=== 返値 ===
{{param (日本語)|table|modes|A table of width/height pairs. (Note that this may not be in order.)}}
== 用例 ==
=== Format of the returned table ===
<source lang="lua">
modes = love.graphics.getModes()

-- modes = {
-- 	{ width = 320, height = 240 },
-- 	{ width = 640, height = 480 },
-- 	{ width = 800, height = 600 },
-- 	{ width = 1024, height = 768 },
-- 	...
-- }
</source>
=== Sort table to ensure it is in order ===
<source lang="lua">
modes = love.graphics.getModes()
table.sort(modes, function(a, b) return a.width*a.height < b.width*b.height end)   -- sort from smallest to largest
</source>
== 関連 ==
* [[parent::love.graphics (日本語)]]
* [[love.graphics.checkMode (日本語)]]
* [[love.graphics.setMode (日本語)]]
[[Category:Functions (日本語)]]
{{#set:Description=Gets a list of supported fullscreen modes.}}
{{#set:Since=000}}
{{#set:Sub-Category=Window (日本語)}}
== そのほかの言語 ==
{{i18n (日本語)|love.graphics.getModes}}