Difference between revisions of "GraphicsFeature"

m (Added bc5 constant)
m (Clarified text for the 'multicanvas' constant)
Line 10: Line 10:
 
;shader: Support for [[Shader]].
 
;shader: Support for [[Shader]].
 
;hdrcanvas: Support for HDR [[Canvas]].
 
;hdrcanvas: Support for HDR [[Canvas]].
;multicanvas: Support for simultaneous rendering to multiple [[Canvas|canvases]].
+
;multicanvas: Support for simultaneous rendering to at least 4 [[Canvas|canvases]] at once, with [[love.graphics.setCanvas]].
 
;mipmap: Support for Mipmaps.
 
;mipmap: Support for Mipmaps.
 
;dxt: Support for DXT compressed images (see [[CompressedFormat]].)
 
;dxt: Support for DXT compressed images (see [[CompressedFormat]].)

Revision as of 01:39, 22 August 2013

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.isSupported.

Constants

canvas
Support for Canvas.
npot
Support for textures with non-power-of-two sizes. See PO2 Syndrome.
subtractive
Support for the subtractive blend mode.
Removed in LÖVE 0.9.0
This constant is not supported in that and later versions.
pixeleffect
Support for PixelEffect.
Available since LÖVE 0.9.0
These constants are not supported in earlier versions.
shader
Support for Shader.
hdrcanvas
Support for HDR Canvas.
multicanvas
Support for simultaneous rendering to at least 4 canvases at once, with love.graphics.setCanvas.
mipmap
Support for Mipmaps.
dxt
Support for DXT compressed images (see CompressedFormat.)
bc5
Support for BC4 and BC5 compressed images.

See Also

Other Languages