2D_Game_Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
TextQueue Class Reference

#include <textqueue.hpp>

Public Member Functions

 TextQueue ()=default
 
void Push (TextRenderer *renderer, const std::string &text, float x, float y, float scale, Vec3 color, int layer)
 
int GetQueueMinLayer ()
 
void Render (int layer)
 

Detailed Description

Definition at line 24 of file textqueue.hpp.

Constructor & Destructor Documentation

◆ TextQueue()

TextQueue::TextQueue ( )
default

Member Function Documentation

◆ GetQueueMinLayer()

int TextQueue::GetQueueMinLayer ( )
inline

Definition at line 30 of file textqueue.hpp.

◆ Push()

void TextQueue::Push ( TextRenderer * renderer,
const std::string & text,
float x,
float y,
float scale,
Vec3 color,
int layer )

Definition at line 4 of file textqueue.cpp.

◆ Render()

void TextQueue::Render ( int layer)

Render all the text that has a layer <= layer.

Definition at line 8 of file textqueue.cpp.


The documentation for this class was generated from the following files: