|
JustAnotherDnDGame 0.1.0
Jeu de rôle tactique au d20, vue de dessus, en C++/Qt
|
Composition du fond de niveau sur le calque RenderLayer::Background (LOT-44, EX-REN-044). More...
Go to the source code of this file.
Classes | |
| struct | hmi::BackgroundFit |
| Recadrage UV d'un fond, calculé pour préserver son ratio d'aspect (LOT-44). More... | |
| struct | hmi::BackgroundTexture |
| Texture de fond déjà résolue, prête à être composée. More... | |
Namespaces | |
| namespace | hmi |
Functions | |
| BackgroundFit | hmi::computeBackgroundFit (float imageWidth, float imageHeight, float targetWidth, float targetHeight) noexcept |
| Calcule le recadrage UV d'une image pour couvrir un rectangle cible sans déformation. | |
| void | hmi::composeBackground (ComposedScene &scene, const BackgroundTexture &background, int levelWidth, int levelHeight, RenderMode mode) |
| Compose le fond du niveau sur RenderLayer::Background, s'il y a lieu. | |
Composition du fond de niveau sur le calque RenderLayer::Background (LOT-44, EX-REN-044).