Difference between revisions of "AttributeDataType"
m |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{newin|[[0.9.0]]|090}} | + | {{newin|[[0.9.0]]|090|type=enum}} |
− | Data types used in a | + | 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 == | ||
+ | * [[parent::love.graphics]] | ||
* [[Mesh:getVertexFormat]] | * [[Mesh:getVertexFormat]] | ||
* [[love.graphics.newMesh]] | * [[love.graphics.newMesh]] | ||
* [[parent::Mesh]] | * [[parent::Mesh]] | ||
− | |||
[[Category:Enums]] | [[Category:Enums]] | ||
− | {{#set:Description=Data types used in a | + | {{#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
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info