Difference between revisions of "AttributeDataType"

(TODO)
 
(Added actual, tangible information)
Line 1: Line 1:
 +
Data types used in a Mesh's Vertex format
 +
 
== Constants ==
 
== Constants ==
;byte:
+
 
;unorm16:
+
 
;float:
+
;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 ==
 +
 
 +
* [[Function::Mesh:getVertexFormat]]
 +
* [[Function::love.graphics.newMesh]]
 +
* [[Constructs::Mesh]]

Revision as of 17:30, 24 June 2020

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