Files
video-shader-toys/apps/LoopThroughWithOpenGLCompositing/gl/shader/TextRasterizer.h
Aiden 4e2ac4a091
All checks were successful
CI / React UI Build (push) Successful in 11s
CI / Native Windows Build And Tests (push) Successful in 1m42s
CI / Windows Release Package (push) Successful in 2m31s
re organisation
2026-05-08 16:38:47 +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);