Difference between revisions of "Texture:getTextureType"

m
m (0.11.0 -> 11.0)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{newin|[[0.11.0]]|110|type=function}}
+
{{newin|[[11.0]]|110|type=function}}
 
Gets the [[TextureType|type]] of the Texture.
 
Gets the [[TextureType|type]] of the Texture.
 
== Function ==
 
== Function ==
 
=== 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]]

Latest revision as of 18:22, 7 May 2019

Available since LÖVE 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