GraphicsFeature

Available since LÖVE 0.8.0
This enum is not supported in earlier versions.

Graphics features that can be checked for with love.graphics.getSupported.

Constants

Available since LÖVE 0.10.0
clampzero
Whether the "clampzero" WrapMode is supported.
lighten
Whether the "lighten" and "darken" BlendModes are supported.
multicanvasformats
Whether multiple Canvases with different formats can be used in the same love.graphics.setCanvas call.

Notes

clampzero is supported on all desktop systems, but only some mobile devices. If it's not supported and it's attempted to be set, the "clamp" wrap mode will automatically be used instead.

lighten is supported on all desktop systems, and OpenGL ES 3-capable mobile devices.

multicanvasformats is supported on OpenGL 3-capable desktop systems, and OpenGL ES 3-capable mobile devices.


Available since LÖVE 11.0
glsl3
Whether GLSL 3 Shaders can be used.
instancing
Whether mesh instancing is supported.
fullnpot
Whether textures with non-power-of-two dimensions can use mipmapping and the 'repeat' WrapMode.
pixelshaderhighp
Whether pixel shaders can use "highp" 32 bit floating point numbers (as opposed to just 16 bit or lower precision).
shaderderivatives
Whether shaders can use the dFdx, dFdy, and fwidth functions for computing derivatives.

Notes

glsl3 and instancing are supported on OpenGL 3 and OpenGL ES 3-capable systems.

instancing is also supported on some older systems that don't support GLSL 3, but vertex attribute-based instancing must be used in that case (instead of love_InstanceID in a GLSL 3 shader).

fullnpot, pixelshaderhighp, and shaderderivatives are supported on all desktop systems and most mobile systems, except for some older OpenGL ES 2 devices.


Removed in LÖVE 0.10.0
canvas
Support for Canvas.
npot
Support for textures with non-power-of-two sizes. See PO2 Syndrome.
subtractive
Support for the subtractive blend mode.