Difference between revisions of "Texture:getTextureType"

m
m
Line 4: Line 4:
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
textureype = Texture:getTextureType( )
+
texturetype = Texture:getTextureType( )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
 
None.
 
None.
 
=== Returns ===
 
=== Returns ===
{{param|TextureType|textureype|The type of the Texture.}}
+
{{param|TextureType|texturetype|The type of the Texture.}}
 
== See Also ==
 
== See Also ==
 
* [[parent::Texture]]
 
* [[parent::Texture]]

Revision as of 11:16, 10 January 2018

Available since LÖVE 0.11.0
This function is not supported in earlier versions.

Gets the type of the Texture.

Function

Synopsis

texturetype = Texture:getTextureType( )

Arguments

None.

Returns

TextureType texturetype
The type of the Texture.

See Also

Other Languages