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.
.anisotropynumberThe maximum anisotropy value supported by Texture:setFilter.
.blocksizenumberThe maximum size of a uniform ShaderBlock, in bytes.
.pointsizenumberThe maximum size of points, in pixels.
.texturemsaanumberThe maximum MSAA value supported by lovr.graphics.newTexture.
.texturesizenumberThe maximum width or height of textures, in pixels.

See also