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.
Available since LÖVE 11.0
WrapMode depth
Wrapping mode for the z-axis of a Volume texture.

See Also


Other Languages