Conquer Space 0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
Namespaces | Functions
text.cpp File Reference
#include "engine/graphics/text.h"
#include <ft2build.h>
#include <spdlog/spdlog.h>
#include <glad/glad.h>
#include <istream>
#include <string>
#include <utility>
#include "engine/enginelogger.h"

Namespaces

namespace  cqsp
 
namespace  cqsp::asset
 When adding assets, it is extremely crucial that you read cqsp::asset::AssetLoader::LoadResources to find out how to add a resource to the game.
 

Functions

void cqsp::asset::LoadFontData (Font &font, unsigned char *fontBuffer, uint64_t size)
 
void cqsp::asset::RenderText (ShaderProgram &shader, Font &font, std::string text, float x, float y, float scale, glm::vec3 color)