lovr.graphics.getSystemLimits

Returns information about the capabilities of the graphics card, such as the maximum texture size or the amount of supported antialiasing.

limits = lovr.graphics.getSystemLimits()

Arguments

None

Returns

NameTypeDescription
limitstableThe table of limits.
.pointsizenumberThe maximum size of points, in pixels.
.texturesizenumberThe maximum width or height of textures, in pixels.
.texturemsaanumberThe maximum MSAA value supported by lovr.graphics.newTexture.
.anisotropynumberThe maximum anisotropy value supported by Texture:setFilter.

See also