2D_Game_Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
TextData Struct Reference

#include <textqueue.hpp>

Public Member Functions

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

Public Attributes

TextRendererrenderer
 
std::string text
 
float x
 
float y
 
float scale
 
Vec3 color
 
int layer
 

Detailed Description

Definition at line 5 of file textqueue.hpp.

Constructor & Destructor Documentation

◆ TextData()

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

Definition at line 14 of file textqueue.hpp.

Member Data Documentation

◆ color

Vec3 TextData::color

Definition at line 11 of file textqueue.hpp.

◆ layer

int TextData::layer

Definition at line 12 of file textqueue.hpp.

◆ renderer

TextRenderer* TextData::renderer

Definition at line 6 of file textqueue.hpp.

◆ scale

float TextData::scale

Definition at line 10 of file textqueue.hpp.

◆ text

std::string TextData::text

Definition at line 7 of file textqueue.hpp.

◆ x

float TextData::x

Definition at line 8 of file textqueue.hpp.

◆ y

float TextData::y

Definition at line 9 of file textqueue.hpp.


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