###User Defined Function###
_GDIPlus_TextureCreate

###Description###
Creates a TextureBrush object based on an image and a wrap mode

###Syntax###
#include <GDIPlus.au3>
_GDIPlus_TextureCreate ( $hImage [, $iWrapMode = 0] )


###Parameters###
@@ParamTable@@
$hImage
	Pointer to an Image object
$iWrapMode
	[optional] Wrap mode that specifies how repeated copies of an image are used to tile an area when it is
		0 - Tiling without flipping
		1 - Tiles are flipped horizontally as you move from one tile to the next in a row
		2 - Tiles are flipped vertically as you move from one tile to the next in a column
		3 - Tiles are flipped horizontally as you move along a row and flipped vertically as you move along a column
		4 - No tiling takes place
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	a pointer to a new TextureBrush object.
Failure:	0 and sets the @error flag to non-zero, @extended may contain GPSTATUS ($GPID_ERR*).
@@End@@


###Remarks###
The size of the brush defaults to the size of the image, so the entire image is used by the brush.
After you are done with the object, call <a href="_GDIPlus_BrushDispose.htm">_GDIPlus_BrushDispose()</a> to release the object resources.


###Related###
_GDIPlus_BrushDispose


###See Also###
@@MsdnLink@@ GdipCreateTexture


###Example###
@@IncludeExample@@
