Difference between revisions of "SpriteBatch:unbind"

m (Deprecated in 0.9.2)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{newin|[[0.8.0]]|080|type=function|text=It has been renamed from [[SpriteBatch:unlock]]}}
 
{{newin|[[0.8.0]]|080|type=function|text=It has been renamed from [[SpriteBatch:unlock]]}}
Unbinds the SpriteBatch.
+
{{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 ==

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