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

Method Unwrap

src/gpu/resources/RuntimeProgramWrapper.cpp:31–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31const RuntimeProgram* RuntimeProgramWrapper::Unwrap(const Program* program) {
32 return static_cast<const RuntimeProgramWrapper*>(program)->runtimeProgram.get();
33}
34
35void RuntimeProgramWrapper::onReleaseGPU() {
36 runtimeProgram->onReleaseGPU();

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected