MCPcopy Create free account
hub / github.com/Tencent/tgfx / ResourceTask

Method ResourceTask

src/gpu/tasks/ResourceTask.cpp:22–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20
21namespace tgfx {
22ResourceTask::ResourceTask(std::shared_ptr<ResourceProxy> proxy) : proxy(std::move(proxy)) {
23}
24
25bool ResourceTask::execute(Context* context) {
26 if (proxy.use_count() == 1) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected