lmgl 1.0.0
A lightweight OpenGL graphics engine library written in C++
Loading...
Searching...
No Matches
canvas.hpp File Reference

Canvas for 2D UI rendering with orthographic projection. More...

#include "lmgl/ui/ui_element.hpp"
#include <glm/glm.hpp>
#include <memory>
#include <vector>

Go to the source code of this file.

Classes

class  lmgl::ui::Canvas
 Canvas for rendering 2D UI elements. More...

Namespaces

namespace  lmgl
 Forward declarations for Assimp Material structure.
namespace  lmgl::ui

Detailed Description

Canvas for 2D UI rendering with orthographic projection.

This header file contains the definition of the Canvas class, which provides a 2D coordinate space for UI elements. It handles orthographic projection, blending for transparency, and back-to-front rendering order.