{{newin (日本語)|[[11.0 (日本語)|11.0]]|110|type=関数}}
Gets the available [[TextureType|texture types]], and whether each is supported.
== 関数 ==
=== 概要 ===
<source lang="lua">
texturetypes = love.graphics.getTextureTypes( )
</source>
=== 引数 ===
なし。
=== 返値 ===
{{param (日本語)|table|texturetypes|A table containing [[TextureType]]s as keys, and a boolean indicating whether the type is supported as values. Not all systems support all types.}}

== 用例 ==
=== Display the texture types on screen and whether they're supported ===
<source lang="Lua">
textypes = love.graphics.getTextureTypes()

function love.draw()
    local y = 0
    for name, supported in pairs(textypes) do
        local str = string.format("Supports texture type '%s': %s", name, tostring(supported))
        love.graphics.print(str, 10, y)
        y = y + 20
    end
end
</source>
== 関連 ==
* [[parent::love.graphics (日本語)]]
* [[TextureType (日本語)]]
* [[love.graphics.newCanvas (日本語)]]
* [[love.graphics.newImage (日本語)]]
* [[love.graphics.newArrayImage (日本語)]]
* [[love.graphics.newCubeImage (日本語)]]
* [[love.graphics.newVolumeImage (日本語)]]
[[Category:Functions (日本語)]]
{{#set:Sub-Category=SystemInfo (日本語)}}
{{#set:Description=Gets the available [[TextureType|texture types]], and whether each is supported.}}

== そのほかの言語 ==
{{i18n (日本語)|love.graphics.getTextureTypes}}