Files
love/src/modules
Sasha Szpakowski 50ff1e4d2b use location numbers for vertex input attributes, instead of name-based binding.
- add 'location' named field to buffer and mesh vertex format tables, replaces 'name' field.
- location numbers are expected to match 'layout (location = #)' qualifiers in vertex inputs in shader code.
- deprecate vertex inputs in shader code that don't have layout location qualifiers.
- love's default vertex attributes use location 0 for position, 1 for texcoord, and 2 for color.
- add new variants of Mesh:attachAttribute, setAttributeEnabled, and isAttributeEnabled which take location numbers instead of names.

Improves draw performance in vulkan and metal backends.
2024-09-07 18:06:03 -03:00
..
2024-07-29 20:28:14 +01:00
2024-03-24 18:53:08 -03:00
2024-03-24 18:53:08 -03:00
2024-03-24 18:53:08 -03:00
2024-03-24 18:53:08 -03:00
2024-03-24 18:53:08 -03:00