Difference between revisions of "WrapMode"

m (Remove brackets around Image links.)
Line 7: Line 7:
 
== See Also ==
 
== See Also ==
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]
* [[(Image):getWrap]]
+
* [[(Image):getWrap|Image:getWrap]]
* [[(Image):setWrap]]
+
* [[(Image):setWrap|Image:setWrap]]
 
* [[Canvas:getWrap]]
 
* [[Canvas:getWrap]]
 
* [[Canvas:setWrap]]
 
* [[Canvas:setWrap]]

Revision as of 14:48, 8 January 2015

How the image wraps inside a large Quad. In 0.9.0 this also affects how Meshes with texture coordinates which are outside the range of [0, 1] are drawn.

ComparisonWraps.png

Constants

clamp
Clamp the image. Appears only once.
repeat
Repeat the image. Fills the whole available extent.

See Also


Other Languages