Compute texture meshes for a given texture map.
More...
#include <TextureMeshes.h>
Compute texture meshes for a given texture map.
◆ begin() [1/2]
| auto sgui::TextureMeshes::begin |
( |
| ) |
|
|
inline |
To iterate through stored meshes
◆ begin() [2/2]
| auto sgui::TextureMeshes::begin |
( |
| ) |
const |
|
inline |
◆ computeTextureMapping()
| void sgui::TextureMeshes::computeTextureMapping |
( |
const TextureAtlas & | textures | ) |
|
Compute texture mapping, this should be called before any texture() call.
- Parameters
-
| texture | Atlas of all the textures in the files |
◆ end() [1/2]
| auto sgui::TextureMeshes::end |
( |
| ) |
|
|
inline |
◆ end() [2/2]
| auto sgui::TextureMeshes::end |
( |
| ) |
const |
|
inline |
◆ texture()
| Mesh sgui::TextureMeshes::texture |
( |
const std::string & | textureID, |
|
|
const uint32_t | frame = 0 ) const |
get computed texture mesh of an entry
- Parameters
-
| textureID | Identifier of the texture |
| frame | Frame number of the texture, if it is animated |
The documentation for this class was generated from the following files: