Difference between revisions of "GraphicsFeature"
m |
m (→Constants in versions prior to 0.10.0) |
||
Line 23: | Line 23: | ||
;dxt: Support for DXT compressed images (see [[CompressedFormat]].) Use [[love.graphics.getCompressedImageFormats]] instead. | ;dxt: Support for DXT compressed images (see [[CompressedFormat]].) Use [[love.graphics.getCompressedImageFormats]] instead. | ||
;bc5: Support for BC4 and BC5 compressed images. Use [[love.graphics.getCompressedImageFormats]] instead. | ;bc5: Support for BC4 and BC5 compressed images. Use [[love.graphics.getCompressedImageFormats]] instead. | ||
− | {{newinoldin|[[0.9.1]]|091|[[0.10.0]]|100|type=constant|text=Use [[love.graphics.isGammaCorrect]] instead}} | + | {{newinoldin|[[0.9.1]]|091|[[0.10.0]]|100|type=constant|text=Use [[love.graphics.isGammaCorrect]] or [[love.graphics.getCanvasFormats]] instead}} |
;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]]. | ||
{{oldin|[[0.9.0]]|090|type=constant}} | {{oldin|[[0.9.0]]|090|type=constant}} | ||
Line 43: | Line 43: | ||
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. | ||
+ | |||
== See Also == | == See Also == | ||
* [[parent::love.graphics]] | * [[parent::love.graphics]] |
Revision as of 16:43, 27 December 2015
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 (love.graphics.isSupported in versions prior to 0.10.0).
Contents
Constants
Available since LÖVE 0.10.0 |
These constants are not supported in earlier versions. |
- clampzero
- Whether the "clampzero" WrapMode is 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.
multicanvasformats
is supported on OpenGL 3-capable desktop systems, and OpenGL ES 3-capable mobile devices.
Constants in versions prior to 0.10.0
Removed in LÖVE 0.10.0 |
These constants are not supported in that and later versions. |
- canvas
- Support for Canvas.
- npot
- Support for textures with non-power-of-two sizes. See PO2 Syndrome.
- subtractive
- Support for the subtractive blend mode.
Available since LÖVE 0.9.0 and removed in LÖVE 0.10.0 |
These constants are not supported in earlier or later versions. |
- shader
- Support for Shaders.
- hdrcanvas
- Support for HDR Canvases. Use love.graphics.getCanvasFormats instead.
- multicanvas
- Support for simultaneous rendering to at least 4 canvases at once, with love.graphics.setCanvas. Use love.graphics.getSystemLimits instead.
- mipmap
- Support for Mipmaps.
- dxt
- Support for DXT compressed images (see CompressedFormat.) Use love.graphics.getCompressedImageFormats instead.
- bc5
- Support for BC4 and BC5 compressed images. Use love.graphics.getCompressedImageFormats instead.
Available since LÖVE 0.9.1 and removed in LÖVE 0.10.0 |
Use love.graphics.isGammaCorrect or love.graphics.getCanvasFormats instead. |
- srgb
- Support for gamma-correct rendering with the
srgb
window flag in love.window.setMode, and the "srgb" TextureFormat for Canvases and Images.
Removed in LÖVE 0.9.0 |
This constant is not supported in that and later versions. |
- pixeleffect
- Support for PixelEffects.
Notes
Canvases, Shaders, mipmaps, npot textures, and the subtract BlendMode are always supported in version 0.10.0 and newer (due to its system requirements.)
For previous versions:
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
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info