GlyphAtlasInfo

GlyphAtlasInfo

  • texture : bevy_asset::handle::Handle<bevy_image::image::Image>
  • texture_atlas : bevy_asset::handle::Handle<bevy_sprite::texture_atlas::TextureAtlasLayout>
  • location : bevy_text::glyph::GlyphAtlasLocation

Description

Information about a glyph in an atlas.

Rasterized glyphs are stored as rectangles in one or more FontAtlases.

Used in [PositionedGlyph] and FontAtlasSet.

Functions