Available since LÖVE 11.0 |
This function is not supported in earlier versions. |
Gets the available texture types, and whether each is supported.
texturetypes = love.graphics.getTextureTypes( )
None.
table texturetypes
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