MCPcopy Create free account
hub / github.com/crownengine/crown / online

Function online

src/resource/texture_resource.cpp:48–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46 }
47
48 void online(StringId64 id, ResourceManager &rm)
49 {
50 TextureResource *tr = (TextureResource *)rm.get(RESOURCE_TYPE_TEXTURE, id);
51 tr->handle = bgfx::createTexture(tr->mem);
52 }
53
54 void offline(StringId64 id, ResourceManager &rm)
55 {

Callers

nothing calls this directly

Calls 2

createTextureFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected