Rhythm
Game Engines Final Project
Loading...
Searching...
No Matches
resource_manager::Font Struct Reference

Represents a font resource. More...

Public Member Functions

 this (string filename, int size)
 Constructs a Font from a file.
 
 ~this ()
 Destructor to clean up the font.
 

Public Attributes

TTF_Font * mFont
 

Detailed Description

Represents a font resource.

Constructor & Destructor Documentation

◆ this()

resource_manager::Font::this ( string filename,
int size )
inline

Constructs a Font from a file.

Parameters
filenameThe path to the font file.
sizeThe size of the font.

The documentation for this struct was generated from the following file: