Difference between revisions of "AttributeDataType"

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