MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
GlyphMesh.hpp File Reference
+ Include dependency graph for GlyphMesh.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MayaFlux::Portal::Text::GlyphMap
 Linear map from layout pixels to whatever space the vertices are drawn in. More...
 

Namespaces

namespace  MayaFlux
 Main namespace for the Maya Flux audio engine.
 
namespace  MayaFlux::Portal
 
namespace  MayaFlux::Portal::Text
 

Functions

constexpr float MayaFlux::Portal::Text::coverage_weight (uint32_t slot) noexcept
 MeshVertex::weight that makes a fragment shader read a texture slot as glyph coverage rather than as an image.
 
std::vector< Kakshya::MeshVertex > MayaFlux::Portal::Text::glyph_vertices (std::span< const GlyphQuad > quads, glm::vec4 color, std::span< const StyleSpan > spans, const GlyphMap &map, uint32_t slot)
 Triangle list vertices for glyph quads, six per quad.