Difference between revisions of "Texture:getTextureType"

(Created page)
 
m (0.11.0 -> 11.0)
 
(2 intermediate revisions 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">
textype = Texture:getTextureType( )
+
texturetype = Texture:getTextureType( )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
 
None.
 
None.
 
=== Returns ===
 
=== Returns ===
{{param|TextureType|textype|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