{{newin|[[11.0]]|110|type=function}}
Gets the available [[TextureType|texture types]], and whether each is supported.
== Function ==
=== Synopsis ===
<source lang="lua">
texturetypes = love.graphics.getTextureTypes( )
</source>
=== Arguments ===
None.
=== Returns ===
{{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.}}

== Examples ==
=== 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>
== See Also ==
* [[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.}}

== Other Languages ==
{{i18n|love.graphics.getTextureTypes}}