JustAnotherDnDGame 0.1.0
Jeu de rôle tactique au d20, vue de dessus, en C++/Qt
Loading...
Searching...
No Matches
PlaneVisuals.cpp File Reference
#include "HMI/Graphics/PlaneVisuals.h"
#include <algorithm>
#include <cstdint>
#include "HMI/Editor/PlaneFileNaming.h"
#include "HMI/Graphics/GraphicsLog.h"
#include "HMI/Graphics/Parallax.h"

Namespaces

namespace  hmi

Functions

RenderLayer hmi::planeRenderLayer (core::PlaneDepth depth) noexcept
 Projette la profondeur d'un plan sur le calque de rendu correspondant.
void hmi::composePlanes (ComposedScene &scene, const std::vector< core::Plane > &planes, const std::vector< PlaneTexture > &textures, int levelWidth, int levelHeight, RenderMode mode, const PlaneVisibility &visibility=PlaneVisibility{}, const PlaneParallax &parallax=PlaneParallax{})
 Compose les plans picturaux d'un niveau, dans l'ordre déclaré.
std::size_t hmi::planeTextureMemoryBytes (const core::Plane &plane, int levelWidth, int levelHeight) noexcept
 Mémoire de texture qu'un plan exige du format, en octets (EX-NFR-043).
std::size_t hmi::planesTextureMemoryBytes (const std::vector< core::Plane > &planes, int levelWidth, int levelHeight) noexcept
 Somme de hmi::planeTextureMemoryBytes sur tous les plans d'un niveau.