Refactor
This commit is contained in:
10
apps/LoopThroughWithOpenGLCompositing/gl/TextRasterizer.h
Normal file
10
apps/LoopThroughWithOpenGLCompositing/gl/TextRasterizer.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
#include <filesystem>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
constexpr unsigned kTextTextureWidth = 2048;
|
||||
constexpr unsigned kTextTextureHeight = 256;
|
||||
|
||||
bool RasterizeTextSdf(const std::string& text, const std::filesystem::path& fontPath, std::vector<unsigned char>& sdf, std::string& error);
|
||||
Reference in New Issue
Block a user