Difference between revisions of "GraphicsFeature"

m
m (Instancing was pulled from 0.9.1)
Line 15: Line 15:
 
;bc5: Support for BC4 and BC5 compressed images.
 
;bc5: Support for BC4 and BC5 compressed images.
 
{{newin|[[0.9.1]]|091|type=constants|plural=y}}
 
{{newin|[[0.9.1]]|091|type=constants|plural=y}}
;instancing:Hardware support for [[Mesh:setInstanceCount|instancing]]. If unsupported, instancing will still work but a slower fallback will be used.
 
 
;srgb:Support for gamma-correct rendering with the <code>srgb</code> window flag in [[love.window.setMode]], and the "srgb" [[TextureFormat]] for [[love.graphics.newCanvas|Canvases]] and [[love.graphics.newImage|Images]].
 
;srgb:Support for gamma-correct rendering with the <code>srgb</code> window flag in [[love.window.setMode]], and the "srgb" [[TextureFormat]] for [[love.graphics.newCanvas|Canvases]] and [[love.graphics.newImage|Images]].
 
== Notes ==
 
== Notes ==
Line 22: Line 21:
 
<code>canvas</code>, <code>multicanvas</code>, <code>npot</code>, and <code>shader</code> have roughly the same minimum requirements for support: a DirectX 9.0c+ capable graphics card with drivers that support ~OpenGL 2.1+.
 
<code>canvas</code>, <code>multicanvas</code>, <code>npot</code>, and <code>shader</code> have roughly the same minimum requirements for support: a DirectX 9.0c+ capable graphics card with drivers that support ~OpenGL 2.1+.
  
<code>hdrcanvas</code>, <code>bc5</code>, <code>instancing</code>, and <code>srgb</code> all share mostly the same minimum requirements for support as well: a DirectX 10+ capable graphics card with drivers that support ~OpenGL 3+.
+
<code>hdrcanvas</code>, <code>bc5</code>, and <code>srgb</code> all share mostly the same minimum requirements for support as well: a DirectX 10+ capable graphics card with drivers that support ~OpenGL 3+.
  
  
DirectX 9.0c+ capable graphics cards include the nvidia GeForce 6000-series (2004) and newer, the ATI Radeon 9000-series and newer, and the Intel GMA x3100 GPU and newer.
+
DirectX 9.0c+ capable graphics cards include the nvidia GeForce 5000-series (2003) and newer, the ATI Radeon 9000-series and newer, and the Intel GMA x3100 GPU and newer.
  
 
DirectX 10+ capable graphics cards include the nvidia GeForce 8000-series (2006) and newer, the ATI/AMD HD 2000-series and newer, and the Intel HD 2000/3000 GPUs and newer.
 
DirectX 10+ capable graphics cards include the nvidia GeForce 8000-series (2006) and newer, the ATI/AMD HD 2000-series and newer, and the Intel HD 2000/3000 GPUs and newer.

Revision as of 00:52, 1 April 2014

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.
Available since LÖVE 0.9.1
These constants are not supported in earlier versions.
srgb
Support for gamma-correct rendering with the srgb window flag in love.window.setMode, and the "srgb" TextureFormat for Canvases and Images.

Notes

subtractive, mipmap, and dxt are supported on nearly every system.

canvas, multicanvas, npot, and shader have roughly the same minimum requirements for support: a DirectX 9.0c+ capable graphics card with drivers that support ~OpenGL 2.1+.

hdrcanvas, bc5, and srgb all share mostly the same minimum requirements for support as well: a DirectX 10+ capable graphics card with drivers that support ~OpenGL 3+.


DirectX 9.0c+ capable graphics cards include the nvidia GeForce 5000-series (2003) and newer, the ATI Radeon 9000-series and newer, and the Intel GMA x3100 GPU and newer.

DirectX 10+ capable graphics cards include the nvidia GeForce 8000-series (2006) and newer, the ATI/AMD HD 2000-series and newer, and the Intel HD 2000/3000 GPUs and newer.

See Also

Other Languages