Commit graph

7 commits

Author SHA1 Message Date
Bruno BELANYI ef8a418479 library: texture: do not expose sub-modules 2020-03-23 12:44:17 +01:00
Antoine Martin ce1b8eeaaa library: document texture module 2020-03-23 12:43:22 +01:00
Bruno BELANYI 02874c9c22 library: texture: enum: add deserialization 2020-03-18 15:42:37 +01:00
Bruno BELANYI 05fb6601b2 library: use enum_dispatch on Object related trait
This allows for easier testing (notable allowing for comparisons),
better performance (thanks to inlining instead of vtable indirection),
and should ease the deserialization of `Material`, `Shape`, and
`Texture` traits. This should allow `Object` to be deserialized easily.
2020-03-18 15:24:09 +01:00
Bruno BELANYI dd6b50f785 library: texture: add UniformTexture implementation 2020-03-17 19:29:33 +01:00
Bruno BELANYI 63feed70c6 library: texture: add Texture trait definition 2020-03-17 19:29:33 +01:00
Bruno BELANYI 4052dd41d3 library: add texture module 2020-03-17 19:29:29 +01:00