make Shader
fun makeShader(tmx: FilterTileMode, tmy: FilterTileMode, mode: FilterMode, localMatrix: Matrix33? = null, tileRect: Rect? = null): Shader
Return a new shader that will draw with this picture. The tile rect is considered equal to the picture bounds.
Return
Returns a new shader object. Note: this function never returns null.
Parameters
tmx
The tiling mode to use when sampling in the x-direction.
tmy
The tiling mode to use when sampling in the y-direction.
mode
How to filter the tiles
local Matrix
Optional matrix used when sampling