Files
c-prime/application/demos/example.opengl/engine/renderPasses/renderPassFont.h

64 lines
663 B
C
Raw Normal View History

2025-11-17 10:28:09 +01:00
#ifndef _renderPassFont
#define _renderPassFont
// Macros
#include "stdlib.h"
extern char * __ClassNames[];
// Includes
#include "../mesh.h"
#include "../program.h"
#include "../fontRenderer.h"
#include "int.h"
#include "../shader.h"
#include "../vector2.h"
#include "../event.h"
#include "renderPass.h"
typedef struct font{
struct program * program;
struct mesh * mesh;
fontRenderer * font;
sampler2D * samplerArray;
} font;
char * font_textFromNumber( font * this, int i );
void font_prepare( font * this );
void font_render( font * this );
font font_new( );
font * font_newPointer( );
#endif
typedef struct font font;