Difference between revisions of "SpriteBatch:unbind"

(Added SpriteBatch unlocking)
 
m (Deprecated in 0.9.2)
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
Unbinds the SpriteBatch.
+
{{newin|[[0.8.0]]|080|type=function|text=It has been renamed from [[SpriteBatch:unlock]]}}
 +
{{deprecatedin|[[0.9.2]]|092|type=function|text=It happens automatically since this version}}
 +
{{oldin|[[0.10.0]]|100|type=function|Use [[SpriteBatch:flush]] if absolutely necessary.}}
 +
Unbinds the [[SpriteBatch]].
 +
 
 +
All [[SpriteBatch:bind]] calls should have a matching ''SpriteBatch:unbind'' after the batch has been updated.
  
 
== Function ==
 
== Function ==
Line 15: Line 20:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Unbinds the SpriteBatch.}}
 
{{#set:Description=Unbinds the SpriteBatch.}}
{{#set:Since=080}}
 
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|SpriteBatch:unbind}}
 
{{i18n|SpriteBatch:unbind}}

Latest revision as of 07:34, 18 December 2018

Available since LÖVE 0.8.0
It has been renamed from SpriteBatch:unlock.
Deprecated in LÖVE 0.9.2
It happens automatically since this version.
Removed in LÖVE 0.10.0
This function is not supported in that and later versions.

Unbinds the SpriteBatch.

All SpriteBatch:bind calls should have a matching SpriteBatch:unbind after the batch has been updated.

Function

Synopsis

SpriteBatch:unbind( )

Arguments

None.

Returns

Nothing.

See Also

Other Languages