Difference between revisions of "AttributeDataType"

m
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Data types used in a Mesh's Vertex format
+
{{newin|[[0.9.0]]|090|type=enum}}
 +
 
 +
Data types used in a Mesh's vertex format.
  
 
== Constants ==
 
== Constants ==
 
 
 
;byte: An 8-bit normalized (from 0 to 1) value.
 
;byte: An 8-bit normalized (from 0 to 1) value.
 
 
 
;unorm16: A 16-bit normalized (from 0 to 1) value.
 
;unorm16: A 16-bit normalized (from 0 to 1) value.
 
 
 
;float: A floating point number.
 
;float: A floating point number.
  
 
== See Also ==
 
== See Also ==
  
* [[Function::Mesh:getVertexFormat]]
+
* [[parent::love.graphics]]
* [[Function::love.graphics.newMesh]]
+
* [[Mesh:getVertexFormat]]
* [[Constructs::Mesh]]
+
* [[love.graphics.newMesh]]
 +
* [[parent::Mesh]]
  
 +
[[Category:Enums]]
 +
{{#set:Description=Data types used in a Mesh's vertex format.}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|AttributeDataType}}
 
{{i18n|AttributeDataType}}

Latest revision as of 00:23, 23 November 2023

Available since LÖVE 0.9.0
This enum is not supported in earlier versions.


Data types used in a Mesh's vertex format.

Constants

byte
An 8-bit normalized (from 0 to 1) value.
unorm16
A 16-bit normalized (from 0 to 1) value.
float
A floating point number.

See Also

Other Languages