lovr.graphics.getFeatures

Returns whether certain features are supported by the system's graphics card.

features = lovr.graphics.getFeatures()

Arguments

None

Returns

NameTypeDescription
featurestableA table of features and whether or not they are supported.
.astcbooleanWhether ASTC textures are supported.
.computebooleanWhether compute shaders are available.
.dxtbooleanWhether DXT (.dds) textures are supported.
.instancedstereobooleanTrue if the instanced single-pass stereo rendering method is supported.
.multiviewbooleanTrue if the multiview single-pass stereo rendering method is supported.
.timersbooleanWhether lovr.graphics.tick and lovr.graphics.tock are supported.

See also