Difference between revisions of "love.graphics.getBlendMode"
m |
m |
||
Line 1: | Line 1: | ||
Gets the [[BlendMode|blending mode]]. | Gets the [[BlendMode|blending mode]]. | ||
== Function == | == Function == | ||
+ | {{newin|[[0.10.0]]|100|type=variant}} | ||
+ | === Synopsis === | ||
+ | <source lang="lua"> | ||
+ | mode, alphamode = love.graphics.getBlendMode( ) | ||
+ | </source> | ||
+ | === Arguments === | ||
+ | None. | ||
+ | === Returns === | ||
+ | {{param|BlendMode|mode|The current blend mode.}} | ||
+ | {{param|BlendAlphaMode|alphamode|The current blend alpha mode – it determines how the alpha of drawn objects affects blending.}} | ||
+ | |||
+ | == Function == | ||
+ | {{oldin|[[0.10.0]]|100|type=variant}} | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> |
Revision as of 00:06, 21 January 2016
Gets the blending mode.
Contents
Function
Available since LÖVE 0.10.0 |
This variant is not supported in earlier versions. |
Synopsis
mode, alphamode = love.graphics.getBlendMode( )
Arguments
None.
Returns
BlendMode mode
- The current blend mode.
BlendAlphaMode alphamode
- The current blend alpha mode – it determines how the alpha of drawn objects affects blending.
Function
Removed in LÖVE 0.10.0 |
This variant is not supported in that and later versions. |
Synopsis
mode = love.graphics.getBlendMode( )
Arguments
None.
Returns
BlendMode mode
- The current blend mode.
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