MCPcopy Create free account
hub / github.com/MayaPosch/NymphCast / initFromPath

Method initFromPath

src/server/gui/core/resources/TextureData.cpp:26–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26void TextureData::initFromPath(const std::string& path)
27{
28 // Just set the path. It will be loaded later
29 mPath = path;
30 // Only textures with paths are reloadable
31 mReloadable = true;
32}
33
34bool TextureData::initSVGFromMemory(const unsigned char* fileData, size_t length)
35{

Callers 1

TextureResourceMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected