MCPcopy Create free account
hub / github.com/Illation/ETEngine / TextCache

Method TextCache

Engine/source/EtRendering/SceneRendering/TextRenderer.cpp:25–30  ·  view source on GitHub ↗

--------------------------------- TextRenderer::TextCache::c-tor Initialize a text cache

Source from the content-addressed store, hash-verified

23// Initialize a text cache
24//
25TextRenderer::TextCache::TextCache(std::string const& text, vec2 const pos, vec4 const& col, int16 const size)
26 : Text(text)
27 , Position(pos)
28 , Color(col)
29 , Size(size)
30{ }
31
32
33//===============

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected