Files
video-shader-toys/apps/LoopThroughWithOpenGLCompositing/gl/TextRasterizer.h
Aiden e59677c212
All checks were successful
CI / React UI Build (push) Successful in 11s
CI / Native Windows Build And Tests (push) Successful in 1m31s
CI / Windows Release Package (push) Successful in 2m20s
Typography improvements
2026-05-06 13:16:02 +10:00

11 lines
304 B
C++

#pragma once
#include <filesystem>
#include <string>
#include <vector>
constexpr unsigned kTextTextureWidth = 4096;
constexpr unsigned kTextTextureHeight = 512;
bool RasterizeTextSdf(const std::string& text, const std::filesystem::path& fontPath, std::vector<unsigned char>& sdf, std::string& error);