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

Method RenderTargetCopyTask

src/gpu/tasks/RenderTargetCopyTask.cpp:23–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21
22namespace tgfx {
23RenderTargetCopyTask::RenderTargetCopyTask(std::shared_ptr<RenderTargetProxy> source,
24 std::shared_ptr<TextureProxy> dest, int srcX, int srcY)
25 : source(std::move(source)), dest(std::move(dest)), srcX(srcX), srcY(srcY) {
26}
27
28void RenderTargetCopyTask::execute(CommandEncoder* encoder) {
29 TASK_MARK(tgfx::inspect::OpTaskType::RenderTargetCopyTask);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected