Canvas.drawTextureAtlas

Function/Meaning

Draw a part of the texture (with shader specified)

Type
Canvasclassmethod of
Syntax
drawTextureAtlas(rect:Rect, texture:Texture, shader:ShaderProgram)
Arguments
rect

Rectangular area to draw in the texture

texture

Texture to draw

shader

Shader used for drawing

Return value
None (void)
Explanation