Texture:getWrap

Gets the wrapping properties of a Texture.

This function returns the currently set horizontal and vertical wrapping modes for the texture.

Function

Synopsis

horiz, vert, depth = Texture:getWrap( )

Arguments

None.

Returns

WrapMode horiz
Horizontal wrapping mode of the texture.
WrapMode vert
Vertical wrapping mode of the texture.
WrapMode depth Available since 11.0
Wrapping mode for the z-axis of a Volume texture.

See Also


© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/Texture:getWrap